[mapserver-dev] Communicating Tile Coordinates Between Mapcache and Mapserver
seandisanti
sdisanti at orionnetworksolutions.com
Wed Jun 24 12:02:29 PDT 2015
Actually, it looks like I was premature in reporting success. This request
returned an image and I believed it to have worked...
http://mapcache_url/?map=/map/ahps/precip.map&shape_path=2015/06/24/nws_precip_1day_observed_20150624&mode=tile&tilemode=gmap&service=WMS&version=1.1.1&request=GetMap&Styles=default&SRS=EPSG:102100&width=256&height=256&format=image/PNG&TRANSPARENT=TRUE&layers=precip_conus&dpi=120&tile=3+4+5&bbox=-14447739.261967285,-6620587.5655673165,1700243.76178827,6592213.57203825
But if I change any tile coordinates or shape_path data, it still only
returns the same image.
My source now looks like:
<source name="precip_conus" type="wms">
<getmap>
<params>
<map>/map/ahps/precip.map</map>
<version>1.3.0</version>
<SRS>EPSG:3857</SRS>
<CRS>EPSG:3857</CRS>
<SRS>EPSG:102100</SRS>
<CRS>EPSG:102100</CRS>
<TRANSPARENT>TRUE</TRANSPARENT>
<FORMAT>image/png</FORMAT>
<LAYERS>conus-raster</LAYERS>
</params>
</getmap>
<http>
<url>http://mapserver_url</url>
<headers>
<User-Agent>mod_mapcache/r175</User-Agent>
<Referrer>http://mapcache_url/</Referrer>
</headers>
<connection_timeout>10</connection_timeout>
</http>
</source>
And the tileset is:
<tileset name="precip_conus">
<source>precip_conus</source>
<LAYER>conus-raster</LAYER>
<cache>precip_cache</cache>
<grid>g2</grid>
<format>PNG</format>
<dimensions>
<dimension type="regex" name="shape_path"
default="2015/01/01/nws_precip_1day_observed_20150101">^[0-9]{4}\/[0-9]{2}\/[0-9]{2}\/nws_precip_.*_[a-zA-Z]+_[0-9]{8}$</dimension>
</dimensions>
</tileset>
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Communicating-Tile-Coordinates-Between-Mapcache-and-Mapserver-tp5212572p5212791.html
Sent from the Mapserver - Dev mailing list archive at Nabble.com.
More information about the mapserver-dev
mailing list