[OSM-talk] OSM server on a (Ubuntu) VM?

Nick Whitelegg Nick.Whitelegg at solent.ac.uk
Tue Dec 21 17:04:10 GMT 2010






>The wiki page mentions the import of planet.osm. Since I'm going to work with other data, can I >just create a sketch on JOSM them import it or should I use anything else like the planet boundary? >I really need only Rio de Janeiro's downtown bbox, so anything else would be a waste of database >space/rendering time.

In that case, if I've understood you right, you probably want to do something like this:
- download a planet extract from your part of Brazil, see http://wiki.openstreetmap.org/index.php/Planet;
- extract Rio using Osmosis (http://wiki.openstreetmap.org/index.php/Osmosis);
- set up the PostGIS database and Mapnik (http://wiki.openstreetmap.org/index.php/Mapnik);
- import OSM into the PostGIS database with osm2pgsql (http://wiki.openstreetmap.org/index.php/Osm2pgsql);
- add your OOC data to the PostGIS database separately;
- tweak the mapnik XML file to render your OOC data.

Nick





More information about the talk mailing list