Was hoping I could just extract tiles into a local file system, point IIS at it and be done but I guess that is not the reality of Open Street Map. I'm getting buried in all the possible ways of self-hosting OSM tiles but unable to find simple step-by-step instructions. I've identified PostgreSQL, PostGIS, Mapnik as key players but can't get all the pieces together. Any step-by-step instructions on creating a custom OSM tile server?
switch2osm will give you some directions to go as far as serving OSM tiles.
- Only 0.01% of people actually should do this. Think about using OSM's tiles, or MapQuest Open, or MapBox. Hosting your own tiles will take at least a week's work.
- Using Windows for this will be a losing battle. Don't.
I know that this isn't a direct answer but since I am currently working on this I haven't completed my workflow. Here are a few useful articles and tools that might help you:
osm2pgsql Benchmarks - some interesting benchmarks on osm2pgsql (the tool you would use to import to your PostGIS database)
osmfilter - Used for filtering features from the .osm file. This should make insertion into your database much easier
small file size
flat hierarchy, processable as data stream
easy merging of two or more files
user may choose compressing method and compress the file
osm2pgsql - used to load to your PostGIS
I am currently working off an Amazon EC2 Instance so if you are interested I can update you on my progress.
This guy from Boston GIS has a great step by step article which shows how to load data into PostGIS:
It's now probably a bit late, but have you tried Maperitive Tutorial: A Hiking Web Map In Ten Easy Steps. I can guarantee you wouldn't loose 16 hours on this.
I also suggest using Leaflet.js instead of OpenLayers, it's much easier to work with (I'll update the tutorial once Maperitive 2.0 is officially out).