Hi All,
I've problem with support geometry function in WFS 2.0 when a geometry
attribute is defined in DataType class and not directly in featureType
class. For example: INSPIRE Address application schema 4.0 where
geometry of address type is position:GeographicPosition:geomerty:GM_Point.
In the GML file that returns through the WFS service always SRS is
encoded like this: http://www.opengis.net/gml/srs/epsg.xml#4258,
regardless of server settings.
<ad:geometry>
<gml:Pointgml:id="geometry.0000059a-af4a-4940-8580-b55579f34b4f"srsDimension="2"srsName="http://www.opengis.net/gml/srs/epsg.xml#4258">
<gml:pos>
52.32023551 21.19134196
</gml:pos>
</gml:Point>
</ad:geometry>
But a more serious problem is with spatial filtering e.g. BBOX. Server
not correctly supports other SRS then native and order of axis.
Similar problems occur in other application schema where geometry is in
DataType e.g. maritime units and population distribution.
Am I doing something wrong or a bug? I'm using Geoserver 3.14 i 3.12 and
PostGIS database but the same problem have
occured with MS SQL database.
Below fragment of my App-Schema config:
<AttributeMapping>
<targetAttribute>ad:position/ad:GeographicPosition/ad:geometry</targetAttribute>
<idExpression>
<OCQL>strConcat('geometry.', id_localid)</OCQL>
</idExpression>
<sourceExpression>
<OCQL>position_geo</OCQL>
</sourceExpression>
</AttributeMapping>
Best regards,
Pawel
_______________________________________________
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