missinglink / pbf

utilities for parsing OpenStreetMap PBF files and extracting geographic data
MIT License
21 stars 9 forks source link

some streets from osm bundle are missing #18

Closed tadjik1 closed 2 years ago

tadjik1 commented 5 years ago

hi @missinglink !

I've noticed that some streets are missing after import. I'm still investigating in all scenarios but some of them are more or less clear: documents with tag highway=living_street or highway=unclassified are not presented in ES after import. I am testing it with Berlin bundle (download it from here: http://download.geofabrik.de/europe/germany/berlin.html) and this streets are missing:

https://www.openstreetmap.org/way/166760388 "highway=unclassified" https://www.openstreetmap.org/way/37789355 "highway=living_street"

missinglink commented 5 years ago

It's due to the filter configuration which can be edited:

https://github.com/missinglink/pbf/blob/master/tags/tags.go#L68

https://github.com/missinglink/pbf/blob/master/command/street_merge.go#L366

Pull requests welcome.

tadjik1 commented 5 years ago

@missinglink PR has been created