If you have polygon data, don't try to render it as points!

11 May 09:27:51 ERROR [geotools.rendering] - side location conflict [ (462.7099002767874, 220.80214145084886, NaN) ]
com.vividsolutions.jts.geom.TopologyException: side location conflict [ (462.7099002767874, 220.80214145084886, NaN) ]

This error occurs sometimes when you use a point-style SLD for a polygon layer. When adding new layers via the GeoServer web interface, the 'point' style is the default, so if you're just wanting a quick preview of your data you might forget to select an appropriate style and then encounter this error.

I'm not sure why some polygon layers can actually be rendered as points, while others raise this exception. In any case, I didn't find much information when searching for this specific error message, so I thought others might find this helpful.

This can happen if you have an Oracle table as your layer source, and you didn't specify the geometry type when creating the spatial index. Geoserver will default to treating everything as a point, and you'll get this error message.

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.