onthegomap/planetiler

[BUG] housenumber wrongly placed.

Closed this issue · 1 comments

This is osm
Screenshot 2022-05-29 at 17 28 53

This is omt
Screenshot 2022-05-29 at 17 25 32

This is PT
Screenshot 2022-05-29 at 17 25 48

As you can see the housenumber is wrongly place in PT . And you actually end up not knowing on which side of the building it should be. I understand why it is there because of centroidIfConvex.

Thanks for pointing this out - looks like isConvex is actually returning a result for isConcave. I'll put out a quick fix for it.