python で地理情報を扱う

python で地図画像を作ろうと思ったら思いのほか大変だった(まだできていない)のでメモ。

Windows であれば

https://www.lfd.uci.edu/~gohlke/pythonlibs/

の助けを借りるのがよさそう。

GEOS

GDAL

  • depends: GEOS

gdal-config

sudo apt install libgdal-dev

version ?

https://github.com/OSGeo/gdal/issues/1762

unknown: blockquote => {"type":"blockquote","children":[{"type":"paragraph","children":[{"type":"text","value":"You need to install the native library GDAL 3.0.1 first.","position":{"start":{"line":31,"column":3,"offset":345},"end":{"line":31,"column":59,"offset":401}}}],"position":{"start":{"line":31,"column":3,"offset":345},"end":{"line":31,"column":60,"offset":402}}}],"position":{"start":{"line":31,"column":1,"offset":343},"end":{"line":31,"column":60,"offset":402}}}

shapely

fiona

geopandas

folium

geohash

地図タイル

参考