One was copied and pasted and one was incorrectly typed by me in the
email. The fedlands.map Name should have been typed "All Public Land
Management Agencies". The only difference is the mysterious
disappearance of the GROUP directive. I will post more when I have a
chance to dig into this deeper. For now, I just put the layer
directly in the main map file, instead of using the INCLUDE.
Thanks,
Paul
On 3/24/09 11:08 AM, "Yewondwossen Assefa" <[email protected]>
wrote:
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"
I typed wrong, the following line should be: NAME "All Public Land
Management Agencies"
> 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: [email protected]
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users