開放街圖標誌 OpenStreetMap 開放街圖

At the Python Unconference in Hamburg, we released the new OSMAlchemy library, which allows for the simple creation of arbitrary, OSM-data based applications with a low resource footprint in Python. It wraps around the popular SQLAlchemy database library and allows access to the whole world of OSM data as if it were in a local SQL database, and uses such a local database for caching.

See the GitHub repo for the code and a README, and find the original presentation from the release talk.

You can write to osmalchemy@veripeditus.org if you have questions or comments, or use the GitHub issue tracker.

電子郵件圖示 藍天圖示 Facebook 圖示 LinkedIn 圖示 乳齒象圖示 Telegram 圖示 X 圖示

討論

mvexel2016年09月22日 19時44分 發表的評論

Would this be related to the Overpass API python wrapper in any way? Can you point out similarities / differences between the projects?

Klampfradler2016年09月22日 21時06分 發表的評論

Yes, it uses the Python overpass client library. However, the use is completely different. With OSMAlchemy, you do not care about querying the Overpass API, and you do not care about building OverpassQL queries. It is a layer that makes accessing Overpass completely transparent. You simply query your SQLAlchemy database, and everything that cannot be satisfied from the SQL database is queried online, by using an SQL-to-OverpassQL compiler. See the project README for a quick description on how OSMAlchemy operates. At the end, you access the data as though it were available locally inside your SQLAlchemy model, and OSMAlchemy does its best to make this illusion perfect ;).

登入 來留下評論