Hi,

WFS standard does not deny mixed geometries in one FeatureType. It is also 
possible to store mixed geometries into the same table in PostGIS if the 
geometry column is defined to contain general geometries (“geometry” instead of 
some strict type like “polygon”). The limitations arising from some clients and 
data formats (shapefile, ArcView and successors, QGIS etc.) have just lead to 
common practice to create PostGIS tables with geometrytype constraints. There 
are other databases, formats, and clients which deal well with mixed 
geometries: Oracle Spatial, GeoPackage, MapInfo, GML, OpenJUMP etc.

-Jukka Rahkonen-

Lähettäjä: Andreas Napkin GIS <[email protected]>
Lähetetty: keskiviikko 15. huhtikuuta 2020 14.50
Vastaanottaja: [email protected]
Aihe: [Geoserver-users] WFS mixed geometry

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

Reply via email to