Closed jmaxxz closed 10 years ago
gju.centroid for the following shape outputs a point 1/2mi away from the polygon.
"geometry": { "type": "Polygon", "coordinates": [ [ [ -87.84772709012032, 41.095232882536514 ], [ -87.84772709012032, 41.09527128838847 ], [ -87.84766271710394, 41.09527128838847 ], [ -87.84766271710394, 41.095232882536514 ], [ -87.84772709012032, 41.095232882536514 ] ] ] } }
Hm, this is out of scope of this project - this project does point-in-polygon operations for leaflet. Please file an issue with geojson-utils if there's a bug there.
gju.centroid for the following shape outputs a point 1/2mi away from the polygon.