When I want to make png tiles that look like ones in osm tile server what I need to do?
- Do I need to import data to postGIS db somehow WITH osm Carto style or I can just import it "normally" w/o style
-
I need to convert CSS style to xml? (If the answer is yes- what is the best way to do this (I've tried with TileMill import))
-
Last step is to do the "generate_tiles.py" script
I did mange to render files using OSM Bright, but it is not as good as the original osm look for my purpose.
thanks in advance
Best Answer
First, the OSM "default" style resides here, along with instructions for deploying it.
npm install carto
(you'll need to install npm, obviously, with your package manager) andcarto -l project.mml > osm.xml
. The-l
option is not mandatory (it's for resolving layer paths), but is a good habit.