Closed missinglink closed 6 years ago
note that this setting used to be on by default and is now off by default. I'm, not aware of any projects that would break as a result of this change.
If you'd like to re-enable this feature, use the flag --waynodes=true
as documented in the readme.
Look at that diff! 2 million lines gone :P
I added another commit which computes bounds, this will be required by Pelias.
[on hold] Pelias relies on these nodes to compute a bbox, I will open another PR to do that inpbf2json
pbf2json would output an array containing all the coordinates for each of its vertex nodes.
this is mostly for legacy reasons as centroid computation was done downstream, but since we calculate all the centroids in-process now it's redundant.
there is a decent performance benefit in not serializing and deserializing these large arrays, on my laptop the
end-to-end
tests went from taking 20s to 16s to run.