[mapserver-users] HTML response to GetFeature request

Luís de Sousa luis.a.de.sousa at gmail.com
Thu Jun 27 07:23:26 PDT 2013


On 26 June 2013 16:56, Marco Afonso <mafonso333 at gmail.com> wrote:

> Hi,
>
> Check in the Mapfile, at WEB/METADATA level, the following parameters:
>
> "ows_enable_request" "*"
> "gml_include_items" "all"
>

Hi Marco, thank you for the message. The layer definition goes below, I
believe I have all that's needed.

Thanks,

Luís

LAYER
  NAME "RO_buildings_gml"
  TYPE POLYGON
  CONNECTIONTYPE OGR
  CONNECTION "/var/sampleData/BuildingsFull.gml"
  STATUS ON

  DUMP TRUE
  TEMPLATE "templateRO_building_footprints.html"

  PROJECTION
    "+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889
+k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel
+towgs84=565.237,50.0087,465.658,-0.406857,0.350733,-1.87035,4.0812
+units=m +no_defs"  # the projection of the source data set
    #"init=epsg:28992"  # the projection of the source data set
  END

  METADATA
    "ows_title" "Building footprints (GML)"
    "ows_abstract" "Data set of building footprints in Rotterdam city area
for the slider demo"
    "ows_enable_request" "*"
    "gml_include_items" "all"
  END

  CLASS
   NAME "Building_footprints (GML)"
   OUTLINECOLOR 255 0 0
  END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130627/e894cddd/attachment.htm>


More information about the MapServer-users mailing list