microsoft / GlobalMLBuildingFootprints

Worldwide building footprints derived from satellite imagery
Other
1.33k stars 198 forks source link

Spike polygon in Pakistan, quadkey: 12310213122 #99

Open johnphilippowell opened 3 months ago

johnphilippowell commented 3 months ago

The polygon shown below has a spike:

image

The WKT is: POLYGON ((72.4680086 34.9335963, 72.4679303 34.9336224, 72.4679948 34.9336009, 72.4680111 34.9336338, 72.4680354 34.9336257, 72.4680827 34.9337212, 72.4679986 34.9337492, 72.4679643 34.9336802, 72.4678032 34.9337339, 72.4677635 34.9336538, 72.4676553 34.9336899, 72.4676039 34.9335861, 72.4677778 34.9335281, 72.4677937 34.9335602, 72.4678891 34.9335284, 72.4678689 34.9334877, 72.4679425 34.9334631, 72.4680086 34.9335963))

While most systems regard this as invalid -- the notable exception being BigQuery -- it does look like an artefact of post processing, which could be removed with something like an internal angle > 359 degree check.