issues
search
pelias
/
pbf2json
An OpenStreetMap pbf parser which exports json, allows you to cherry-pick tags and handles denormalizing ways and relations. Available as a standalone binary and comes with a convenient npm wrapper.
https://pelias.io
MIT License
143
stars
36
forks
source link
improved centroids
#63
Closed
missinglink
closed
6 years ago
missinglink
commented
6 years ago
improved the centroid calculations:
Use the location of a node tagged
entrance
where available, using
main
if possible.
Use an entrance tagged as
wheelchair
accessible where available
Fix centroid calculation error which included the start and end nodes of the polygon twice when averaging
Add simplification algorithm for polygons which removes any points which lie on the boundary but don't contribute to the shape.
Upgrade floating point precision for coordinates stored in leveldb from 6->7
improved the centroid calculations:
entrance
where available, usingmain
if possible.wheelchair
accessible where available