[Mapserver-users] Mapscript doesn't write map file in expectedorder!

Xiaoyuan Geng gengx@agr.gc.ca
Fri, 27 Feb 2004 10:48:06 -0500


I know that  the Metadata segment of the Web segment gives me grief as
well as the automatically added segments. However there might be other
overlooked areas.  I better spend sometime to solve my problems first
and  will share the experiences on this shortly.

Thanks!

Shawn

>>> Daniel Morissette <dmorissette@dmsolutions.ca> 02/27/04 09:54AM
>>>
Xiaoyuan Geng wrote:
> 
>
http://wms1.agr.gc.ca/cgi-bin/mapserv?map=/usr/local/ms4w/apps/gdas/htdocs/temp/my1077890254.map&service=wms&version=1.1.0&request=getmap&layers=ecoregions

> In theory you can add this layer to any of WMS viewers or clients. 
> This mapfile has been manually edited after the unexpected mapscript
> massage. I hope that there is no manual editing needed. Surely I can
> write my own PHP function to do this and make it work. 
> 

I don't understand why you say that manual editing is required in your

case.  As I wrote in a previous message, the order of metadata entries

in the mapfile does NOT change anything to MapServer since it uses 
hashtables internally.  The problem has to be somewhere else. If you
can 
point us to the specific thing that breaks your mapfile then we can try

to have a look.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette@dmsolutions.ca 
  DM Solutions Group              http://www.dmsolutions.ca/ 
------------------------------------------------------------

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users