[Geoserver-devel] [JIRA] (GEOS-8858) PostGIS WKB XYZM data works with WMS, breaks WFS output formats

Jody Garnett created an issue

GeoServer / BugGEOS-8858

PostGIS WKB XYZM data works with WMS, breaks WFS output formats

Issue Type:

BugBug

Affects Versions:

2.13.2

Assignee:

Jody Garnett

Components:

was

Created:

27/Jul/18 9:14 PM

Priority:

MediumMedium

Reporter:

Jody Garnett

This is an interesting one, data was loaded into PostGIS via FME or similar workflow, it is perfectly valid WKB.

WMS works fine as it makes use of ST_Force2D when accessing.

WFS does not work out quite so well, data of the form:

LINESTRING( X1 Y1 Z1 M1, X2 Y2 Z2 M2, X3, Y3 Z3 M3)

Comes out in GeoJSON, GML2, GML3 as:

LINESTRING( X1 Y1 Z1, M1 X2 Y2, Z2 M2 X3, Y3 Z3 M3)

The fix should be to pay attention to the geometry dimension and compare / contrast with srs dimension to detect if measures are used.

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#100090-sha1:2c7d130)

Atlassian logo