You nailed it (as usual), with one caveat. In the postgres DB the
column type is geometry, but when I use the 'Guess geometry type and
srid' from the SQL view for the layer, it is filling in the type as
LineString. This is a bit odd since the table contains a mix of both
LineString and MultiLineString entries. If I manually change it to
geometry it reverts to rendering as expected.
So now the question is, is this misapplication of data type worthy of a
bug report?
On 4/29/2022 11:22 PM, Andrea Aime wrote:
Given the behavior, I'm guessing you have multi-line string data in a
database column
that's declared to be LineString instead.
GeoServer follows a strict type system (based on its WFS heritage) and
will convert a MLS into a simple linestring in one of the possible
ways, connecting the bits.
If that's not the case, then yes, please do share a minimal data set
to reproduce.
Cheers
Andrea
_______________________________________________
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users