Re: [mapserver-users] (no subject)

2021-10-11 Thread Yoann CHARIEAU
Did you check permissions on your /tmp/mapcache directory ?
It should be writeable by your http server user (usually www-data).

Yoann

- Mail original -
De: "Steve Lime" 
À: "Atlanta Geek" 
Cc: "mapserver-users" 
Envoyé: Jeudi 7 Octobre 2021 14:57:13
Objet: Re: [mapserver-users] (no subject)

I've not used a similar setup but it seems like there's no need to create tiles 
if you're passing WMS calls through to another WMS server. Do you get tiles if 
you make tiled service requests? 

On Tue, Oct 5, 2021 at 1:52 PM Atlanta Geek < [ mailto:atlantag...@gmail.com | 
atlantag...@gmail.com ] > wrote: 



Im attempting to configure mapcache. 
I assume that this is covered in this mailing list as well. Mapcache is 
returning images of the map for me but the cache files are not being written. 
Its strange because I can use the seeding command with the same xml file and 
its populating the expected directory but when I go through the mapcache script 
its not writing to that cache directory. 

Any guidance would be appreciated. 

The URL Im testing with is this. 
[ 
http://192.168.112.225/mapcache?service=WMS=GetMap=default==image%2Fpng=true=1.1.1=2048=2048=EPSG%3A3857=-10018754.171394622,0,0,10018754.171394628
 | 
http://192.168.112.225/mapcache?service=WMS=GetMap=default==image%2Fpng=true=1.1.1=2048=2048=EPSG%3A3857=-10018754.171394622,0,0,10018754.171394628
 ] 



mapcache.xml is as follows: 
 
 
/tmp/mapcache 
 
 
 
fast 
256 
 
 
 
 
image/jpeg 
default 
/usr/lib/cgi-bin/osm-bw.map 
true 
 
 
 
 [ http://192.168.112.225/cgi-bin/mapserv | 
http://192.168.112.225/cgi-bin/mapserv ] ? 
 
 
 
vmap0 
disk 
WGS84 
g 
png 
3600 
 
png 

 
png 
assemble 
bilinear 
4096 
 
 
 [ 
http://192.168.112.225/cgi-bin/mapserv?transparent=true=/usr/lib/cgi-bin/osm-bw.map
 | 
http://192.168.112.225/cgi-bin/mapserv?transparent=true=/usr/lib/cgi-bin/osm-bw.map
 ]  
 
 
 
 
 
 
 
 
 
report 
/tmp 
debug 
 
-- 
[ http://www.atlantageek.com/ | http://www.atlantageek.com ] 
___ 
MapServer-users mailing list 
[ mailto:MapServer-users@lists.osgeo.org | MapServer-users@lists.osgeo.org ] 
[ https://lists.osgeo.org/mailman/listinfo/mapserver-users | 
https://lists.osgeo.org/mailman/listinfo/mapserver-users ] 




___ 
MapServer-users mailing list 
MapServer-users@lists.osgeo.org 
https://lists.osgeo.org/mailman/listinfo/mapserver-users 

___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Mapcache WMTS tile artifacts

2021-02-24 Thread Yoann CHARIEAU
Hi everyone, 

I have configured a mapcache server with a few sources. 
Everything seems to work fine except for some wmts sources : i get random 
purple/blue artifacts on tiles (screenshots : https://imgur.com/a/hXgWxao) 
So far i tried playing around gdal_wmts xml config file, with different caches 
(disk, sqlite, memcache), formats (png and jpg, with rgb and ycbcr colorspace) 
and grids, and also tried updating gdal. 
Strangest thing is that artifacts disappear on tile expiration or by manually 
deleting tiles. 
Right now i’m thinking about network issues. 
Has anyone ever encountered these kind of artifacts ? 

Thanks ! 

Yoann 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users