Quantcast
Channel: Question and Answer » gdal
Viewing all articles
Browse latest Browse all 397

setup Mapserver WMS from tile files

$
0
0

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:TMPMyZone

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:TMPMyZone 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?

Thanks.-


Viewing all articles
Browse latest Browse all 397

Trending Articles