OSM Tile Server

Zur Zeit ist das Kartenmaterial von Hessen geladen.
http://tile.projects.teamwiki.net/osm_tiles/0/0/0.png
http://tile.projects.teamwiki.net/osm_tiles/<zoom>/<x>/<y>.png

Vollbild


Notizen

cd ~osmtiles
wget http://download.geofabrik.de/europe/germany/hessen-latest.osm.pbf

su osmtiles -c "osm2pgsql --slim -d gis -C 2000 --number-processes 3 ~/hessen-latest.osm.pbf"

su osmtiles -c "renderd -f -c /usr/local/etc/renderd.conf"


su postgres -c "psql gis"




Creating osm_id index on planet_osm_point
Creating indexes on planet_osm_point finished
terminate called after throwing an instance of 'std::runtime_error'
what(): CREATE TABLE planet_osm_polygon_tmp AS SELECT * FROM planet_osm_polygon ORDER BY ST_GeoHash(ST_Transform(ST_Envelope(way),4326),10) failed: ERROR: ST_GeoHash: lwgeom_geohash returned NULL.