Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm totally new to Mapserver and I've been banging my head trying to figure out how to mount a WMS server that will seed images of a small geographical area to a OpenLayers HTML page.

I already installed Mapserver on windows (MS4W) and "mapserver -v" shows: 'SUPPORTS=WMS_SERVER' so that's done.

Then I used JTileDownloader to get the tiles from the area I'm interested in. I ended up with folders "13" and "14" (guess that the zoom level) full of *.png file inside the folder c:\TMP\MyZone

The next steps seems to be to create an index file from the tiles with gdaltindex witch I manage to install, but I have no idea how to use.

While on the c:\TMP\MyZone folder I tried:

gdaltindex PR1314.shp

gdaltindex PR1314.shp *.png

gdaltindex PR1314.shp 13\*.png

But none of them worked so I don't kwon what to do, I read a lot articles in Mapserver wiki how-to's, but the amount of info is overwhelming and I don't understand half of what I'm reading.

So to recap, I just need a WMS that will seed the tiles I already downloaded. What should I do next?


share|improve this question
either this is a really stupid question, or the wrong place to ask it. – Nick May 13 '13 at 20:29
A bit late, but see… . Also, using MapProxy is a better option imho. – jjmontes Jul 29 '15 at 0:32

I suggest you to use MapProx ( which does what you need.

Alternatively, see this answer which develops your procedure a bit further: How do I create a mapserver config file for tiles downloaded from WMTS service? .

share|improve this answer

Your Answer


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.