[mapserver-users] installing and configuring mapcache

Mr. Puneet Kishor punk.kish at gmail.com
Sun Sep 18 12:49:33 PDT 2011


On Sep 18, 2011, at 1:48 PM, thomas bonfort wrote:
>> I am not sure where I would find this pitman.pc. I tried configure-ing with `--with-pixman=/opt/local` but no luck. Suggestions on how I could include pixman?
> 
> /opt/local/lib/pkgconfig/pixman-1.pc

Thanks, that worked, and compiled cleanly.


>> And, finally, what should I do if I have the following mapserver URL where tile.x, tile.y and zoom are inserted dynamically?
>> 
>> http://<server>/cgi-bin/mapcgi?layers=layer&mode=tile&tilemode=mapcgi&tile=' + tile.x + '+' + tile.y + '+' + zoom
> 
> you have to give the url to the *wms* service, not the tile one, i.e.
> http://<server>/cgi-bin/mapcgi?map=foo.map


hmmmm... I am using Google Maps API v3, and haven't implemented a WMS tiling front-end and MapServer WMS backend that would support that. Which is why when I started the earlier thread inquiring about caching mechanisms, I specifically inquired for ones that supported MapServer's `mode=tile`, else I would have explored tilecache.org or geowebcache.

So, now I would have to modify my frontend, and configure MapServer as WMS, before I can test mod-geocache. Will be a while, it seems.

Puneet.


More information about the MapServer-users mailing list