kpanic / pollicino

Street search, spiced up with multiple storage and geocoders
Other
19 stars 4 forks source link

Use a library to determine the centroid of the ways #10

Closed kpanic closed 9 years ago

kpanic commented 9 years ago

Most probably shapely Check http://toblerity.org/shapely/manual.html#object.centroid

kpanic commented 9 years ago

The latest version of pbf2json from the mapzen people https://github.com/pelias/pbf2json#denormalization computes automatically the centroid from openstreetmap data, closing the issue