Hello, Newbie question: I am trying to customize an openstreet map, using TileMill to style it. The online map has too many markers, places etc. and the downloadable files from cloudmade do not cover buildings, lakes, so many layers are missing. So, basically I need to be able to produce a middle point between these details level, choosing whatever I want to put on the map, and still have shapefiles as the output, no pngs. I there any way to achieve that? Thanks a lot!
This question is marked "community wiki".
asked 10 Oct '11, 10:59 Diego Pizarro |
The downloadable shape files on download.geofabrik.de do contain buildings and layers. However you can also create your own shape files using the osm2shp or osmjs tools, or you could download a full OSM exctract and then run a PostGIS importer like osm2pgsql or imposm to load the data into a PostGIS database from where you then render with TileMill. If you want to (re)use an already existing map style, it is a good idea to use the same data provider or import tool as that style, else you have a lot of style modifications ahead of you. Most existing styles are geared towards the table structure that osm2pgsql generates. answered 10 Oct '11, 11:04 Frederik Ramm ♦ Great, I will begin with the files from geoFabrik, which seem to be complete indeed. Then I will tackle the more advanced osm manipulation. Do you suggest I use the tool on openstreetmap to produce the osm extracts? Thanks a lot.
(10 Oct '11, 11:21)
Diego Pizarro
If you want to produce extracts in the sense of "small osm files", and the ready-made extracts on sites like download.geofabrik.de (others are available, check wiki.openstreetmap.org/wiki/Planet.osm) are not sufficient for you, then you can use the Osmosis tool to create your own extracts. If you want to produce Shape Files then I suggest you first create an OSM extract and then run the osmjs tool on that.
(10 Oct '11, 12:44)
Frederik Ramm ♦
|