[Geoserver-devel] [JIRA] (GEOS-10148) GeoServer WFS GML 3.2 does not honor settings of coordinate reference system format

Tobias Warneke created an issue

GeoServer / BugGEOS-10148

GeoServer WFS GML 3.2 does not honor settings of coordinate reference system format

Issue Type:

BugBug

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:

HighHigh

Reporter:

Tobias Warneke

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.)

The WFS - Capabilities document honors this setting:

<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](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:

<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.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100168-sha1:257e1de)

Atlassian logo