[Geoserver-devel] [JIRA] (GEOS-10667) WFS: inconsistent srsDimension=4 with topp:tasmania_roads layer

Even Rouault created an issue

GeoServer / BugGEOS-10667

WFS: inconsistent srsDimension=4 with topp:tasmania_roads layer

Issue Type:

BugBug

Affects Versions:

2.21.1

Assignee:

Unassigned

Components:

WFS

Created:

21/Sep/22 5:42 PM

Environment:

With the default settings of https://freefr.dl.sourceforge.net/project/geoserver/GeoServer/2.21.1/geoserver-2.21.1-bin.zip , http://localhost:8080/geoserver/wfs?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=topp:tasmania_roads returns geometries with srsDimension=“4” with with only 2 ordinate per vertex, which confuses clients, like QGIS, which would expect 4 values per vertex.

cf

      <topp:the_geom>
        <gml:MultiCurve srsName="http://www.opengis.net/gml/srs/epsg.xml#4326" srsDimension="4" gml:id="tasmania_roads.1.the_geom">
          <gml:curveMember>
            <gml:LineString gml:id="tasmania_roads.1.the_geom.1">
              <gml:posList>146.468582 -41.241478 -41.241478 146.574768 -41.251186 -41.251186 146.640411 -41.255154 -41.255154 146.766129 -41.332348 -41.332348 146.794189 -41.34417 -41.34417 146.822174 -41.362988 -41.362988 146.863434 -41.380234 -41.380234 146.899521 -41.379452 -41.379452 146.929504 -41.378227 -41.378227 147.008041 -41.356079 -41.356079 147.098343 -41.362919 -41.362919</gml:posList>
            </gml:LineString>
          </gml:curveMember>
        </gml:MultiCurve>
      </topp:the_geom>

This only applies to other layers in the topp: namespace, but not lakes like sf:bugsites

Priority:

MediumMedium

Reporter:

Even Rouault

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#100207-sha1:a65942b)

Atlassian logo