GIScience / GIScience/openpoiservice

Investigate usage of alternative ways to process PBFs

Open
#80 3 comments 0 reactions 1 assignee Claimed by @nilsnolde View on GitHub
infrastructure waiting for release
Dominant language
Python
Stars
199
Forks
25
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/pelias/pbf2json). 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.