~ihabunek/triglav-py

DEPRECATED, see ~ihabunek/triglav
Update README
Added grid and area views

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~ihabunek/triglav-py
read/write
git@git.sr.ht:~ihabunek/triglav-py

You can also use your local clone with git send-email.

#Triglav

A tool for importing OSM data.

#OSM data import

Requires osm2pgsql.

createdb osm-croatia
echo "create extension hstore" | psql -d osm-croatia
echo "create extension postgis" | psql -d osm-croatia
wget http://download.geofabrik.de/europe/croatia-latest.osm.pbf
osm2pgsql --hstore-all --create --slim --database osm-croatia croatia-latest.osm.pbf

#ZIPP data import

Get the geojson data from osm-hr: buildings.zip and unzip it somewhere. Then:

createdb triglav
./manage.py migrate
./manage.py import_buildings path/to/data/*.geojson

#Reading material

PostGIS:

LeafletJS