Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have installed mapnik and successfully tested it. Now I am facing problem to create my own customized tiles. I have google it but everywhere it was telling about osm tile generation. My vision is simple. I have a huge map data of my target area. I want to create my own customize map in Mapnik/tilemill. Then create tiles and upload them into server. A step by step instruction will be helpful to me as I am newbie in Mapnik.

This my main problem. How will I create tiles server of my own data???

Thanks in advance

share|improve this question
add comment

2 Answers

Like some suggested... i think your path from now should be: Put data in some format supported by TileMill (if you want simplest, go with shapefiles, otherwise postgis database), secondly, in Tilemill, load your data and define the symbolisation for your map, then export a mapnik XML config file. You can use this XML file together with generate_tiles.py script to create your tiles with mapnik in the bounding box and zoom levels you specify (to specify bbox, zoomlevels, modify generate_tiles.py, last few lines i think). You can then use these generated tiles in a web app via OpenLayers or Leaflet. This is just a rough outline that should get you started, you can ask more specific questions and i ll clarify.

Outline: Structure your data -> TileMill (GUI + preview of your map) -> Mapnik XML export -> Mapnik tile generation (actual rendering) -> Upload tiles to your server (no need to use mbtiles) -> serve tiles via XYZ or TMS layer in Openlayers

share|improve this answer
add comment

There is are many good step-by-step tutorials for mapnik on its web site.

If you are a python programmer, then the python tutorial will probably make the most sense. There are other tutorials though, all worth a look.

If you are really trying to use tilemill, then you can't go past the crash course tutorial.

share|improve this answer
    
I wrote that I have tested successfully. That means I have done the tutorials. I need to create tiles and upload to server. Thanks –  Devils Dream Nov 18 '12 at 10:47
    
Sorry, I thought you were trying to use mapnik and tilemill as the server (which is how it is normally done). I guess you want to pre-generate every tile and then upload them to a server? If so, use TileCache or TileStache, preseeed whatever you want, and you are done. –  BradHards Nov 18 '12 at 19:53
1  
Dont be sorry Man!!! You are trying to help me. I have installed mapnik. I can create .mbtiles through tilemill. Now my challenge is to create a server from where I can preview that basemap and create some services through PostGIS database such as routing, geocoding etc. Thanks –  Devils Dream Nov 19 '12 at 6:52
    
Here are few projects that support tilemill / mbtiles, check out: github.com/mapbox/mbtiles-spec/wiki/Implementations –  warrieka Dec 18 '12 at 14:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.