Tobias Warneke (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A99d6c509-ff9c-4d17-8554-ad6ab816fbe5
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiN2RkNDg4YmZjNjg1NDVkYzg4ZGNlZTY2OWYwMTdmZGMiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-10148?atlOrigin=eyJpIjoiN2RkNDg4YmZjNjg1NDVkYzg4ZGNlZTY2OWYwMTdmZGMiLCJwIjoiaiJ9
) GEOS-10148 (
https://osgeo-org.atlassian.net/browse/GEOS-10148?atlOrigin=eyJpIjoiN2RkNDg4YmZjNjg1NDVkYzg4ZGNlZTY2OWYwMTdmZGMiLCJwIjoiaiJ9
) GeoServer WFS GML 3.2 does not honor settings of coordinate reference system
format (
https://osgeo-org.atlassian.net/browse/GEOS-10148?atlOrigin=eyJpIjoiN2RkNDg4YmZjNjg1NDVkYzg4ZGNlZTY2OWYwMTdmZGMiLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.14.5, 2.18.3, 2.19.1 Assignee: Unassigned
Attachments: image-2021-07-15-07-39-04-686.png Components: Configuration, WFS
Created: 15/Jul/21 8:13 AM Environment:
just a standard installation from your platform independent zip
Priority: High Reporter: Tobias Warneke (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A99d6c509-ff9c-4d17-8554-ad6ab816fbe5
)
This screenshot is from the WFS configuration page of GeoServer. Here you can
tweak the format GeoServer delivers the coordinate reference system. (Sorry I
had no englisch version of this screenshot, but you get the point.)
(
https://osgeo-org.atlassian.net/secure/attachment/33753/33753_image-2021-07-15-07-39-04-686.png
)
The WFS - Capabilities document honors this setting:
```xml
<FeatureType xmlns:tiger="http://www.census.gov">
<Name>tiger:tiger_roads</Name>
<Title>Manhattan (NY) roads</Title>
<Abstract>Highly simplified road layout of Manhattan in New York..</Abstract>
<ows:Keywords>
<ows:Keyword>DS_tiger_roads</ows:Keyword>
<ows:Keyword>tiger_roads</ows:Keyword>
<ows:Keyword>roads</ows:Keyword>
</ows:Keywords>
<DefaultCRS> http://www.opengis.net/def/crs/EPSG/0/4326 </DefaultCRS>
<ows:WGS84BoundingBox>
<ows:LowerCorner>-74.02722 40.684221</ows:LowerCorner>
<ows:UpperCorner>-73.907005 40.878178</ows:UpperCorner>
</ows:WGS84BoundingBox>
</FeatureType>
```
but no matter what I configure WFS Gml 3.2 get always this:
```xml
<wfs:member>
<topp:tasmania_roads gml:id="tasmania_roads.10">
<topp:the_geom>
<gml:MultiCurve srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"
srsDimension="3" gml:id="tasmania_roads.10.the_geom">
<gml:curveMember>
<gml:LineString gml:id="tasmania_roads.10.the_geom.1">
<gml:posList>147.360001 -42.91993 -42.91993 147.348816 -42.93726 -42.93726
147.285049 -42.979027 -42.979027 147.220886 -42.995876 -42.995876 147.164429
-43.027004 -43.027004 147.068237 -43.06319 -43.06319 146.96463 -43.116447
-43.116447 146.949554 -43.17004 -43.17004 146.95369 -43.209591 -43.209591
146.964127 -43.224545 -43.224545 146.975723 -43.250484 -43.250484 146.980759
-43.2701 -43.2701 146.982605 -43.287716 -43.287716 146.970871 -43.31691
-43.31691 146.940521 -43.33812 -43.33812 146.943054 -43.362263 -43.362263
146.952194 -43.39278 -43.39278 146.955429 -43.423512 -43.423512</gml:posList>
</gml:LineString>
</gml:curveMember>
</gml:MultiCurve>
</topp:the_geom>
<topp:TYPE>road</topp:TYPE>
</topp:tasmania_roads>
</wfs:member>
```
Additional this page ** http://www.opengis.net/gml/srs/epsg.xml** is not
available anymore.
So e.g. to be INSPIRE conform, at least for the layers I provide (e.g. PLU),
the coordinate system has to be formatted like * *OGC HTTP URI* * in the
capabilities and the WFS - GML 3.2. data and the page has to be reachable via
web request.
Maybe there a way to force GeoServer to a specific format with some kind of
environment variable.
(
https://osgeo-org.atlassian.net/browse/GEOS-10148#add-comment?atlOrigin=eyJpIjoiN2RkNDg4YmZjNjg1NDVkYzg4ZGNlZTY2OWYwMTdmZGMiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-10148#add-comment?atlOrigin=eyJpIjoiN2RkNDg4YmZjNjg1NDVkYzg4ZGNlZTY2OWYwMTdmZGMiLCJwIjoiaiJ9
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100168-
sha1:257e1de )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel