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
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to