[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapserver-users
Subject:    [mapserver-users] =?utf-8?q?mapcache_issue2?=
From:       Андрей Андреевич <treasurehunterf () mail ! r
Date:       2014-07-06 23:26:28
Message-ID: 1404689188.374239591 () f71 ! i ! mail ! ru
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]


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&s \
tyle=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?


[Attachment #5 (text/html)]


<HTML><BODY><p style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: \
13px; line-height: 18.200000762939453px;" data-mce-style="font-family: Arial, Tahoma, \
Verdana, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">Hello. I'm \
trying to setup mapserver with mapcache to getting local set of tiles(i'm use simple \
set of png files -&gt; 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?<br>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 :</p><p \
style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13px; line-height: \
18.200000762939453px;" data-mce-style="font-family: Arial, Tahoma, Verdana, \
sans-serif; font-size: 13px; line-height: 18.200000762939453px;">1.LoadModule \
mapcache_module "C:/ms4w/Apache/cgi-bin/mod_mapcache.dll"<br>2.<br>&lt;IfModule \
mapcache_module&gt;<br>&lt;Directory "C:/ms4w/apps/mapcache/"&gt;<br>Order \
Allow,Deny<br>Allow from all<br>&lt;/Directory&gt;<br>MapCacheAlias /mapcache \
"C:/ms4w/apps/mapcache/mapcache.xml"<br>&lt;/IfModule&gt;</p><p style="font-family: \
Arial, Tahoma, Verdana, sans-serif; font-size: 13px; line-height: \
18.200000762939453px;" data-mce-style="font-family: Arial, Tahoma, Verdana, \
sans-serif; font-size: 13px; line-height: 18.200000762939453px;">identity of \
successful configure is:<br>1.in error.log<br>[Fri Jul 04 16:38:57 2014] [notice] \
Apache/2.2.21 (Win32) mod-mapcache/0.5-dev configured -- resuming normal \
operations</p><p style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: \
13px; line-height: 18.200000762939453px;" data-mce-style="font-family: Arial, Tahoma, \
Verdana, sans-serif; font-size: 13px; line-height: \
18.200000762939453px;">configuration of mapcache is not big (attached), and main \
point, is it configuration file correct?(I'm worry about &lt;http&gt; &lt;url&gt; \
entry)<br>Seems everything are ready to start send request to get desired tiles from \
my local storage(through mapserver(macache)), right?<br>I was sent request like \
a&nbsp;<a style="color: #0077cc;" \
href="http://127.0.0.1/mapcache/wmts?service=WMTS&amp;version=1.0.0&amp;request=gettil \
e&amp;layer=test&amp;style=default&amp;tileMatrixSet=testgrid&amp;tileMatrix=0&amp;TileRow=0&amp;TileCol=0&amp;format=image/png" \
target="_blank" data-mce-href="http://127.0.0.1/mapcache/wmts?service=WMTS&amp;version \
=1.0.0&amp;request=gettile&amp;layer=test&amp;style=default&amp;tileMatrixSet=testgrid&amp;tileMatrix=0&amp;TileRow=0&amp;TileCol=0&amp;format=image/png" \
data-mce-style="color: \
#0077cc;">http://127.0.0.1/mapcache/wmts?service=WMTS&amp;version=1.0.0&amp;request=ge \
ttile&amp;layer=test&amp;style=default&amp;tileMatrixSet=testgrid&amp;tileMatrix=0&amp;TileRow=0&amp;TileCol=0&amp;format=image/png</a><br>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?<br>I was tried to get more information about error, end tried to sent \
getCapabilities request like a :&nbsp;<a style="color: #0077cc;" \
href="http://127.0.0.1/mapcache/wmts?service=WMTS&amp;request=getcapabilities&amp;version=1.0.0" \
target="_blank" data-mce-href="http://127.0.0.1/mapcache/wmts?service=WMTS&amp;request=getcapabilities&amp;version=1.0.0" \
data-mce-style="color: \
#0077cc;">http://127.0.0.1/mapcache/wmts?service=WMTS&amp;request=getcapabilities&amp;version=1.0.0</a><br>and \
I was get xml file(attached "wmts.xml"). It's looks like correct, right?<br>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</p><p style="font-family: Arial, \
Tahoma, Verdana, sans-serif; font-size: 13px; line-height: 18.200000762939453px;" \
data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13px; \
line-height: 18.200000762939453px;">Cmake was configure a solution correctly, but \
msvc 2010 didn't build it.<br>I'm attaching screenshots with cmake successful \
configure log and visual studio error log.</p><p style="font-family: Arial, Tahoma, \
Verdana, sans-serif; font-size: 13px; line-height: 18.200000762939453px;" \
data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13px; \
line-height: 18.200000762939453px;">What I'm doing wrong? I'm don't understand it. \
Can you help me please?</p></BODY></HTML>



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic