[mapserver-users] mapcache issue2

Андрей Андреевич treasurehunterf at mail.ru
Sun Jul 6 16:26:28 PDT 2014


Hello. I'm trying to setup mapserver with mapcache to getting local set of tiles(i'm use simple set of png files -> map file doesn't required, right?) available from here C:/test/wgs84 (On my PC), but didn't get success. I've read hundred pages of manuals, tutorials, forums etc, but didn't found anything usefull. Will you help me?
I'm using Windows 7 x64. I was configure apache and mapcache, as has been written in manual mapserver.org/mapcache/install.html#windows-instructions :
1.LoadModule mapcache_module "C:/ms4w/Apache/cgi-bin/mod_mapcache.dll"
2.
<IfModule mapcache_module>
<Directory "C:/ms4w/apps/mapcache/">
Order Allow,Deny
Allow from all
</Directory>
MapCacheAlias /mapcache "C:/ms4w/apps/mapcache/mapcache.xml"
</IfModule>
identity of successful configure is:
1.in error.log
[Fri Jul 04 16:38:57 2014] [notice] Apache/2.2.21 (Win32) mod-mapcache/0.5-dev configured -- resuming normal operations
configuration of mapcache is not big (attached), and main point, is it configuration file correct?(I'm worry about <http> <url> entry)
Seems everything are ready to start send request to get desired tiles from my local storage(through mapserver(macache)), right?
I was sent request like a  http://127.0.0.1/mapcache/wmts?service=WMTS&version=1.0.0&request=gettile&layer=test&style=default&tileMatrixSet=testgrid&tileMatrix=0&TileRow=0&TileCol=0&format=image/png
and get error "wms request for tileset test returned an unsupported format:". Why wms(not wmts, i was sent wmts request) was answered to me? and what is specifically wrong?
I was tried to get more information about error, end tried to sent getCapabilities request like a :  http://127.0.0.1/mapcache/wmts?service=WMTS&request=getcapabilities&version=1.0.0
and I was get xml file(attached "wmts.xml"). It's looks like correct, right?
Finaly, i was not found answers to my questions, and tried to get source of mapcache. I was tried to build it with cmake 2.8.10.2 + msvc 2010
Cmake was configure a solution correctly, but msvc 2010 didn't build it.
I'm attaching screenshots with cmake successful configure log and visual studio error log.
What I'm doing wrong? I'm don't understand it. Can you help me please?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140707/438bed62/attachment.html>


More information about the mapserver-users mailing list