Skip to content

Instantly share code, notes, and snippets.

@vassilevsky
Created October 15, 2013 15:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vassilevsky/6993117 to your computer and use it in GitHub Desktop.
Save vassilevsky/6993117 to your computer and use it in GitHub Desktop.
Как отрендерить открытую карту Ульяновска себе на обои
#!/bin/sh
wget http://data.gis-lab.info/osm_dump/dump/latest/RU-ULY.osm.pbf
osm2pgsql RU-ULY.osm.pbf
# git clone https://github.com/gravitystorm/openstreetmap-carto
cd ~/tmp/openstreetmap-carto
git pull
# sudo npm install -g carto
carto project.mml > style.xml
nik2img.py style.xml ~/Dropbox/Photos/osm-ulsk-wallpaper-hd.png --bbox 48.2 54.2 48.68 54.4 -d 1920 1080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment