Skip to content

make isArea check more robust#31

Merged
tyrasd merged 1 commit into
masterfrom
broken-polygons
Oct 4, 2018
Merged

make isArea check more robust#31
tyrasd merged 1 commit into
masterfrom
broken-polygons

Conversation

@tyrasd
Copy link
Copy Markdown
Member

@tyrasd tyrasd commented Oct 4, 2018

Very rarely osm data is not consistent (e.g. after partial data redactions), which can cause some of the affected osm data to produce invalid geometries (e.g. polygons that don't form closed rings) – one example for this is https://www.openstreetmap.org/way/265512886/ during the years 2015 and 2016.

This makes the GeometryBuilder robust enough to detect these cases and fall back to the next steps of the geometry building pipeline.

(also removes one accidentally committed debug sysout)

Very rarely osm data is not consistent (e.g. after partial data redactions), which can cause some of the affected osm data to produce invalid geometries (e.g. polygons that don't form closed rings) – one example for this is https://www.openstreetmap.org/way/265512886/ during the years 2015 and 2016.

This makes the GeometryBuilder robust enough to detect these cases and fall back to the next steps of the geometry building pipeline.

(also removes one accidentally committed debug sysout)
@tyrasd tyrasd added the bug Something isn't working as expected label Oct 4, 2018
@tyrasd tyrasd requested a review from rtroilo October 4, 2018 16:47
@tyrasd tyrasd merged commit aa3e61a into master Oct 4, 2018
@tyrasd tyrasd deleted the broken-polygons branch October 4, 2018 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants