[mapserver-users] Re: mapserver as a tiling client for an untiled WMS

deduikertjes DeDuikertjes at xs4all.nl
Tue Apr 20 10:22:03 EDT 2010


Ok, thank you. Lets try if I understand the format correctly: 

see edits en comments. Will this work in this way?

Thanks for the help, MArco

>> <GDAL_WMS>
>>   <Service name="WMS">
>>       <Version>1.1.1</Version>
>>     
>> <ServerUrl>http://myurl.nl/my_untiled_wms?transparent=true&</ServerUrl>
>>         <SRS>EPSG:28992</SRS>
>>         <Layers>my_root_layer</Layers>
>>         <Styles>default</Styles>
>>         <ImageFormat>image/png</ImageFormat>
>>     </Service>
>>     <DataWindow>
>>         <UpperLeftX>10528</UpperLeftX>        <!--minx from the
>> capabilities of my_untiled_wms  -->
>>         <UpperLeftY>621876</UpperLeftY>      <!--maxy from the
>> capabilities of my_untiled_wms  -->
>>         <LowerRightX>278026</LowerRightX>   <!--maxx from the
>> capabilities of my_untiled_wms  -->
>>         <LowerRightY>306839</LowerRightY>   <!--miny from the
>> capabilities of my_untiled_wms  -->
             <SizeX>1000</SizeX>                        <!-- This is the
size limit of my_untiled_wms  -->
             <SizeY>1000</SizeX>                        <!-- This is the
size limit of my_untiled_wms  -->
>>         <!-- <TileLevel>19</TileLevel>            This one is for tiled
>> image sources only -->
>>         <!-- <TileCountX>2</TileCountX>        This one is for tiled
>> image sources only -->
>>         <!-- <TileCountY>1</TileCountY>        This one is for tiled
>> image sources only -->
>>     </DataWindow>
>>     <Projection>EPSG:28992</Projection>
>>     <BlockSizeX>1024</BlockSizeX>              <!-- not sure, need not
>> set, or set to 1000? -->
>>     <BlockSizeY>1024</BlockSizeY>              <!-- not sure, need not
>> set, or set to 1000? -->
>>     <BandsCount>3</BandsCount>
>>      <Cache>    
>>         <Path>/htdocs/orm/gdalwmscache</Path>
>>         <Depth>2</Depth>
>>         <Extension>.png</Extension>
>>      </Cache>
>>   <AdviseRead>true</AdviseRead>
>>   <VerifyAdviseRead>true</VerifyAdviseRead>
>> </GDAL_WMS> 
-- 
View this message in context: http://n2.nabble.com/mapserver-as-a-tiling-client-for-an-untiled-WMS-tp4917136p4931375.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list