[mapserver-users] how remove the geometry from wfs response
Andrea Peri
aperi2007 at gmail.com
Fri Jun 16 01:44:36 PDT 2017
Hi Jorg,
I know the spec allow to reduce the attribute returned.
The WFS spec give the parameter "propertyname" is possible to give a
list of attribute returned.
If in the propertyname is not list the "geometry" field it is not returned.
So the wfs can have a response without the geometry as allowed from
the wfs spec.
Also I know the mapserver allow to set and exclude some attribute to
avoid sensible information from the response using the
parameter "gml_exclude_items" and "ows_exclude_items".
Unfortunatelly the two parameter seem ignore the geometry field as field name.
A.
2017-06-16 8:56 GMT+02:00 Jörg Thomsen (WhereGroup)
<joerg.thomsen at wheregroup.com>:
> Hello Andrea,
>
> Am 15.06.2017 um 20:22 schrieb Andrea Peri:
>> Hi,
>> I need to force the remove from the wfs response of the geometry . I
>> need to avoid that the users could take the geometry and allow only the
>> alphanumeric attributes.
>> Is this allowed from mapserver ?
>
> This is not the purpose of a WFS. A WFS-Client would expect a gemoemtry
> und couldn't handle the answer.
> You may use WMS-GetFeatureInfo with GML-Output.
>
> Regards, Jörg
>
>> Many thx,
>> Andrea
>>
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
>
> Viele Grüße,
> Jörg Thomsen
>
> --
>
> **********************************
> AGIT 2017
> 5.-7. Juli 2017 in Salzburg
> Besuchen Sie uns an Stand Nr. 31
> www.agit.at
> **********************************
>
> Jörg Thomsen
> WhereGroup GmbH & Co. KG
> Gillweg 3
> 14193 Berlin
> Germany
>
> Fon: +49 (0)30 / 5130 278 74
> Fax: +49 (0)30 / 89 09 53 21
>
> joerg.thomsen at wheregroup.com
> www.wheregroup.com
> Amtsgericht Bonn, HRA 6788
> -------------------------------
> Komplementärin:
> WhereGroup Verwaltungs GmbH
> vertreten durch:
> Olaf Knopp, Peter Stamm
> -------------------------------
> Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
More information about the MapServer-users
mailing list