[mapserver-users] IIS and mapfiles and also GDAL

Chris Jackson webturtles at gmail.com
Fri Sep 2 10:13:12 EDT 2011


Hi

I just wanted to check if the only way to parse a mapfile in an IIS
environment to use an absolute path to the mapfiles e.g.
http://myserver/cgi-bin/mapserv.exe?map=C:\Inetpub\wwwroot\workshop\itasca.map.
I wonder if anyone has had success with rewrite rules (IIS7)?

Also how is GDAL triggered when calling the mapfile (in IIS).  The scenario
is I am trying to use an xml in the mapfile layer which then calls
http://tile.openstreetmap.org/

The XML is

<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://tile.openstreetmap.org/${z}/${x}/${y}.png</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-20037508.34</UpperLeftX>
<UpperLeftY>20037508.34</UpperLeftY>
<LowerRightX>20037508.34</LowerRightX>
<LowerRightY>-20037508.34</LowerRightY>
<TileLevel>19</TileLevel>
<TileCountX>1</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>EPSG:900913</Projection>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>3</BandsCount>
<Cache/>
</GDAL_WMS>

Am I remotely doing this the right way?  I am used to calling local data
from the mapfile and tiled services is a bit of a new beast, so I thought I
would give it a go!

Many thanks in advance

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110902/97d71be4/attachment-0001.html


More information about the mapserver-users mailing list