You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since imposm is deprecated since a long while and we really don't wanna start maintaining that, we need to investigate alternative ways to process PBFs:
pyosmium could be an OK candidate. Very limited API, but does accept callbacks for OSM types
https://pypi.org/project/esy-osm-pbf/ seems to be a relatively new package, doing what we'd need (couldn't find in on any VCS platform though..)
use osmium/osmosis or other command-line utilities or even Pelias' pbf2json utitlity. All at the expense of creating more non-Python dependencies..
So, these will have to be evaluated a little in terms of performance with clear favorites being the first two options, as only protobuf lib as non-Python dep needed.
The text was updated successfully, but these errors were encountered:
I'll use pyosmium. It's way more sophisticated than I thought. With that, we can use good strategies handle the memory stuff, the strategy could be derived from size of PBF and available RAM: https://osmcode.org/osmium-concepts/#list-of-map-index-classes
Since
imposm
is deprecated since a long while and we really don't wanna start maintaining that, we need to investigate alternative ways to process PBFs:pyosmium
could be an OK candidate. Very limited API, but does accept callbacks for OSM typeshttps://pypi.org/project/esy-osm-pbf/
seems to be a relatively new package, doing what we'd need (couldn't find in on any VCS platform though..)osmium
/osmosis
or other command-line utilities or even Pelias' pbf2json utitlity. All at the expense of creating more non-Python dependencies..So, these will have to be evaluated a little in terms of performance with clear favorites being the first two options, as only
protobuf
lib as non-Python dep needed.The text was updated successfully, but these errors were encountered: