Tag Info

New answers tagged

1

Try this script. It uses render_list utility in proper way and converts geo coordinates (WGS-84) to tile coordinates on several zoom levels and generates many tiles in one round. For example: ./render_list_geo.pl -n 2 -z 6 -Z 15 -x 21.8 -X 40.7 -y 44.03 -Y 52.6


1

OSM tile names are not latitude and longitude. See https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames for algorithms to convert between the two. For a random tile within Indiana try 12/1066/1553 (see http://a.tile.openstreetmap.org/12/1066/1553.png ). You might want to use a viewing software that generates the tile names automatically, for example ...


1

The world picture is rendered from a shapefile. For detailed maps, you need to put the openstreetmap data into a postgis database using osm2pgsql (not osmosis!). http://wiki.openstreetmap.org/wiki/Mapnik can lead you to further instructions how to set up the database properly.


0

I'm working on automating this guide so people won't have as much trouble, as I too struggled in some spots. Anyway your error is in this part of the guide: Double check and make sure this is all correct. vim osm-bright/osm-bright.osm2pgsql.mml Find the lines with URLs pointing to shapefiles (ending .zip) and replace each one with these appropriate ...


1

I'v found explanation here: https://help.openstreetmap.org/questions/13250/what-is-the-correct-projection-i-should-use-with-mapnik? And solved the issue by setting "input" srs-attribute for layer: <Layer srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" name="land"> And "output" srs for map: <Map srs="+proj=merc +a=6378137 +b=6378137 ...


1

You can use Tilemill to create a cartocss style which you can then use with Mapnik (might need to convert to Mapnik XML). GeoServer supports SLD styles which you can create with many GIS tools, for example QGIS or OpenJUMP.


1

You may try to get parts you need from OSMAnd (it's opensource) https://github.com/osmandapp/Osmand You may use https://getyourmap.com/ (there are free usage plan)


0

This issue happened due to an error in my configuration of renderd in /usr/local/etc/renderd.conf. Parts of the configuration file looked like th following snippet: [renderd] socketname=/var/run/renderd/renderd.sock num_threads=4 tile_dir=/var/lib/mod_tile stats_file=/var/run/renderd/renderd.stats ;[renderd01] ;iphostname=::1 ;ipport=7654 ;num_threads=4 ...



Top 50 recent answers are included