osmlint
osmlint copied to clipboard
non-orthogonal 4 cornered building
Not sure how to implement this, basic idea is:
- Get all buildings that only has 4 corners.
- Get bearing for each line.
- For each connected lines, compute the interior angle.
- Get all buildings whose corners are not equal to 90 degrees.
JOSM validator or any other Q/A tool that I know of has this feature.
@rub21 @geohacker @planemad
There will edge cases like diamond shaped buildings, but I suspect there are very few.