[mapserver-users] Include directive and mapscript
Yewondwossen Assefa
yassefa at dmsolutions.ca
Tue Mar 24 09:08:23 PDT 2009
Not sure why would that happen.
Just as a note, the 2 layers you sent in this e-mail have a different
values for the NAME parameter. Is it possible that you do not include
the correct layer?
Paul Moen wrote:
> Here is the fedlands.map that I am including.
>
> LAYER
> PROJECTION
> "init=epsg:4326"
> END
> GROUP "Political Boundaries"
> NAME "Public Land Management Agencies"
> TYPE RASTER
> STATUS ON
> CONNECTION
> "http://206.16.47.174:80/wmsconnector/com.esri.wms.Esrimap/BLM_SURFACE_MGT_AGY?reaspect=false"
>
> CONNECTIONTYPE WMS
> METADATA
> "wms_srs" "EPSG:4326"
> "wms_name" "SMA_ALL"
> "wms_server_version" "1.1.1"
> "wms_format" "image/gif"
> END
> END
>
> This is the section of the mapfile that the include is located.
>
>
> INCLUDE 'fedlands.map'
>
>
> The output of the map->save function gives the layer below, which no
> longer has the GROUP. Somewhere along the line the GROUP directive is
> disappearing from my layer when it is included.
>
> LAYER
> CONNECTION
> "http://206.16.47.174:80/wmsconnector/com.esri.wms.Esrimap/BLM_SURFACE_MGT_AGY?reaspect=false"
>
> CONNECTIONTYPE WMS
> METADATA
> "wms_srs" "EPSG:4326"
> "wms_name" "SMA_ALL"
> "wms_format" "image/gif"
> "wms_server_version" "1.1.1"
> END
> NAME "All Public Land Management Agencies"
> PROJECTION
> "init=epsg:4326"
> END
> STATUS ON
> TYPE RASTER
> UNITS METERS
> END
>
>
> Any Ideas?
>
> Paul
>
>
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list