I guess you're using an older version which doesn't check the "type" attribute 
and defaults to WMS. The "mode=tile" parameter is part of your URL and not 
build by MapCache. Everything else is an ordinary WMS request for a 5x5 
metatile with 10px buffer: 5*256 + 2*10 = 1300. 
So simly omit the mode parameter from the URL and let MapCache do it's WMS 
request. It will then itself respond using the requested tile service 
interface. 

HTH


Von: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org]" im Auftrag von "Hal Mueller 
[h...@mobilegeographics.com]

Gesendet: Mittwoch, 29. April 2015 05:47
An: mapserver-users@lists.osgeo.org
Betreff: [mapserver-users] mapcache config troubles, "Tile parameter not set"

That request generates the following internal request, from Mapcache to 
Mapserver. It’s pretty close; the layers are right, but not the SERVICE, BBOX, 
WIDTH,
 and HEIGHT parameters.


GET 
/cgi-bin/mapserv?mode=tile&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&STYLES=&BBOX=-20135347.738994,-7611905.024751,-7416226.232341,5107216.481902&WIDTH=1300&HEIGHT=1300&FORMAT=image/png&SRS=EPSG:3857&MAP=/data/web/www/mapserver/sites.map&LAYERS=property_pt%20property_poly


Mapcache.xml:
   <source name="hpsites" type="tms">
      <getmap>
         <params>
            <FORMAT>image/png</FORMAT>
    <MAP>/data/web/www/mapserver/sites.map</MAP>
            <LAYERS>property_pt%20property_poly</LAYERS>

   

         </params>
      </getmap>

      

      <http>
         <url>http://a.historypointer.com/cgi-bin/mapserv?mode=tile&;</url>
      </http>
   </source>

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to