opendatalab-de / geojson-jackson

GeoJson POJOs for Jackson - serialize and deserialize objects with ease
http://blog.opendatalab.de
Apache License 2.0
263 stars 94 forks source link

Replace exterior ring in setExteriorRing if it exists #53

Closed trygveaa closed 4 years ago

trygveaa commented 4 years ago

If a Polygon already has an exterior ring and setExteriorRing is called, it would previously add the new ring to the start of the coordinates list, so the existing exterior ring becomes an interior ring.

grundid commented 4 years ago

Thank you for the PR