On 9/21/2012 5:12 AM, 李杨 wrote:
I just test it in firefox browser
IN the browser there are some missing img, point to url like this
I use the "http://199.195.214.155/mapcache/demo/tms" to test,
199.195.214.155 is my server.
http://199.195.214.155/mapcache/tms/1.0.0/osm@WGS84/1/3/1.png
but as I know my mapcache is not in my www dir. so mapcache dir there is
no file.
When I click on the png link I get:
wms request for tileset osm returned an unsupported format:
<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 6.0.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE
SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<BODY BGCOLOR="#FFFFFF">
loadMap(): Web application error. CGI variable "map" is not set.
</BODY></HTML>
Also mapcache in the path is not a directory it is an application that
is running as an apache module, even those it looks like a directory. It
is working fine and as Thomas noted if you had clicked on the link you
would have seeen the error message above. You must have you mapcache.xml
file configured to point to a wms service named osm which is returning
an unsupported format.
Start looking there for your problem.
-Steve W
I just configure the mapserver , mapcache like this site say:
------------------------------------
https://github.com/mapserver/mapserver/wiki/RenderingOsmDataOnUbuntuv2
----------------------------------------
my mapcacche dir is in " /root/osm-demo/mapcache/cache"
So I can not solve. I should refer to mapcache open doc?
2012/9/21 thomas bonfort <[email protected]
<mailto:[email protected]>>
If you've not accessed the tiles through a browser or manually
launched a seeding, then it's normal for the cache dir to be empty.
Navigate to http://localhost/mapcache/demo/tms to check.
On Fri, Sep 21, 2012 at 10:16 AM, 李杨 <[email protected]
<mailto:[email protected]>> wrote:
> I have solve the problem using ldconfig.
>
> But nwo I feel that the mapcache is not working( not take
effect). I check
> the cache dir and found nothing!
>
> Any one help me?
>
>
> ---------- Forwarded message ----------
> From: 李杨 <[email protected] <mailto:[email protected]>>
> Date: 2012/9/21
> Subject: mapcache module load error (in apache2)
> To: [email protected]
<mailto:[email protected]>
>
>
> Hi, everyone.
>
> I have a a problem when I use mapcache.
>
> when I install the mapcache module into apache2 and restart apachae2,
>
> I got the error like below, and I can not solve the problems.
>
>
----------------------------------------------------------------------------
> root@VM322A:~/osm-demo/mapcache-git# sudo apache2ctl restart
> apache2: Syntax error on line 208 of /etc/apache2/apache2.conf:
Syntax error
> on line 1 of /etc/apache2/mods-
>
> enabled/mapcache.load: Cannot load
/usr/lib/apache2/modules/mod_mapcache.so
> into server: libmapcache.so.0: cannot
>
> open shared object file: No such file or directory
> root@VM322A:~/osm-demo/mapcache-git#
>
------------------------------------------------------------------------------------------------
> Anyone could help?
>
>
>
>
> --
> Yang Li
> GIS Developer
> P.R.China
>
>
>
>
>
> --
> Yang Li
> GIS Developer
> P.R.China
>
>
>
> _______________________________________________
> mapserver-users mailing list
> [email protected]
<mailto:[email protected]>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
--
Yang Li
GIS Developer
P.R.China
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users