How can I display OSM tiles using Python?

后端 未结 2 365
情话喂你
情话喂你 2021-01-30 15:16

I\'m in the process of generating tiles with generate_tiles.py and I\'d like to write a Python app to display them instead of having a web interface. Does anything like that alr

2条回答
  •  迷失自我
    2021-01-30 15:46

    Quoting the OP:

    I'd like to write a Python app to display them instead of having a web interface

    I have the same request (more specifically, I need to show an interactive map within an already existing GTK+ desktop application), I didn't see the question answered here, so I went to look for direct reference information. There I see three options:

    • if you're on KDE: https://wiki.openstreetmap.org/wiki/KDE_Marble
    • if you're on GTK+: http://nzjrs.github.io/osm-gps-map/
    • again in GTK+: https://wiki.openstreetmap.org/wiki/Libchamplain

    Paulo Scardine very complete overview focuses on web interface, and does not mention them.

提交回复
热议问题