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

Xiaoyuan Geng gengx at agr.gc.ca
Fri Feb 27 07:48:06 PST 2004


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 at 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 at dmsolutions.ca 
  DM Solutions Group              http://www.dmsolutions.ca/ 
------------------------------------------------------------




More information about the MapServer-users mailing list