[mapserver-users] HTML response to GetFeature request

Michael Schulz mandschulz at googlemail.com
Thu Jun 27 10:01:39 PDT 2013


Hi Luis,

for WFS enabling layers you should add some more metadata, wfs_srs and
gml_featureid. I'm also not sure about the projection stuff. Is there a
reason for not using the espg code?

Try adding some debug logging. Another thing to check: your requesting
typeName="feature:BuildingsWFS" but from the mapfile I'd say the typename
shoud be "RO_buildings_gml".

Cheers, Michael


2013/6/27 Luís de Sousa <luis.a.de.sousa at gmail.com>

> 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
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/HTML-response-to-GetFeature-request-tp5062355p5062586.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
-----------------------------------------------------------
Michael Schulz

Via Cime Bianche 10
IT-21023 Besozzo (VA)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130627/5a636873/attachment.html>


More information about the mapserver-users mailing list