omniscale / imposm3

Imposm imports OpenStreetMap data into PostGIS
http://imposm.org/docs/imposm3/latest/
Apache License 2.0
710 stars 156 forks source link

Don't skip 4 corner geometry validation #255

Closed pnorman closed 3 years ago

pnorman commented 3 years ago

These can be invalid in some cases like a figure-of-eight shape. Because there are so few triangle geometries and they are quick to validate, it's simplest to just remove the special casing of small geoms.

I did a set of test imports and found no performance difference.

Fixes #249 Fixes #221

olt commented 3 years ago

Yes, that's probably a good idea. Thanks.