3

I am trying to generate tiles on the fly in windows using mod_tile. I have followed the tutorial http://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ on ubuntu and successfully got it running but I want to do the same in windows. Could anyone help me by sketching up a tutorial for the above.

2

You might try Maperitve as a lightweigt source of rendering tiles as well.

It works on Windows on small and medium areas, and needs no database.

  • Thank you so much for the reply. How about using tirex and node js instead of mod_tile and renderd? Does it workk in windows?? – shilpa Jan 18 '15 at 19:59
  • I have no tried those. With Mapnik, I have pre-rendered my tiles with generate_tiles.py. – AndreJ Jan 18 '15 at 20:22
  • Thanks again. I am actually trying to set up a locally hosted map server and build map tiles on the fly. The requirements are: 1. The server must be bound for windows. 2. The rendering must be done using a javscript library called Leaflet. 3. The loading,copying and moving operations of the map tile must be quicker. – shilpa Jan 18 '15 at 20:45
  • I have already tried TileStache with POSTGIS. If you have done setting up your own tile server in windows, can you send me some step by step instructions? – shilpa Jan 18 '15 at 20:50
  • I just used generate_tiles.py to render the tiles I want once, and access them via a local Apache server with localhost to a shared directory. I guess that does not fit your needs. BTW, delivering pre-rendered tiles is faster than on-the-fly-rendering. – AndreJ Jan 19 '15 at 6:04
1

mod_tile effectively has no Windows support. If you don't need it's cache invalidation, you might consider a tile server like MapProxy which has Windows support and can render a Mapnik-based map. You'll find that there is relatively little to no documentation about getting all of the parts to work together on Windows systems.

If you do get it working, Windows is not recommended for large databases so you may find additional limitations there.

  • Thank you so much for the reply. How about using tirex and node js instead of mod_tile and renderd? Does it workk in windows?? – shilpa Jan 18 '15 at 19:48
  • Tirex works with mod_tile, it's a replacement for renderd. NodeJS is a language. There are some tile serving components in NodeJS, but I don't have experience with them and they are not widely used. – Paul Norman Jan 21 '15 at 22:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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