You can publish a layer where the attribute is of type "Geometry" and the
values can be any geometry subclass.

While this is allowed by WFS it is a bit awkward for clients to use many of
which are written with the assumption that a layer will only have one kind
of content.
--
Jody Garnett


On Wed, 15 Apr 2020 at 04:53, Andreas Napkin GIS <[email protected]>
wrote:

> Hi everyone!
>
> During these past few years of working with OSS GIS software,
> GeoServer/MapServer in particular, there is a dilemma with mixed geometry
> types and the WFS standard that I have not quite wrapped my head around.
>
> As far as I understand, the WFS standard as it is defined by the OGC does
> not support publishing mixed geometry types in the same layer and is thus
> at odds with, for example, a PostGIS tables storing different kinds of
> geometries.
> GeoServer, however, is capable of publishing a WFS service that can serve
> GeoJSON and GML with polygons, linestrings and points, all in the same
> layer.
> How does GeoServer get around this? Or am i missing something?
>
> Mvh / Best regards
> Andreas C. Atakan
>
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to