In my httpd.conf I have:
IfModule mapcache_module
Directory /home/curs/Desarrollo/Aplicaciones/mapserver-mapcache-18a50e2/
Require all granted
/Directory
MapCacheAlias /mapcache
/home/curs/Desarrollo/Aplicaciones/mapserver-mapcache-18a50e2/mapcache.xml
/IfModule
El 11/05/12 10:07,
- Are you on apache 2.4 ? Require all granted will only work on 2.4
- did you succesfully run make install-module in the mapcache folder ?
- what happens if you remove the IfModule mapcache_module and
/IfModule lines ?
On Fri, May 11, 2012 at 10:30 AM, Helen San Segundo Navazo
* I'm with apache 2.2.14
I've changed:
Require all granted
with:
Order allow,deny
Allow from all
I've restart apache
and the result is the same: permission denied: access to
/mapcache/demo denied
* I think the install-module went ok:
the result in the log
* I'm with apache 2.2.14
I've changed:
Require all granted
with:
Order allow,deny
Allow from all
I've restart apache
and the result is the same: permission denied: access to
/mapcache/demo denied
* I think the install-module went ok:
the result in the log
Sorry for insisting but I don't understeand how mapcache works.
When I invoke in the url http://localhost/mapcache/ apache reads the
MapCacheAlias so it goes to the path
/home/curs/Desarrollo/Aplicaciones/mapserver-mapcache-18a50e2/ and read
mapcache.xml file?
If I invoke
On 5/11/2012 8:22 AM, Helen San Segundo Navazo wrote:
Sorry for insisting but I don't understeand how mapcache works.
When I invoke in the url http://localhost/mapcache/ apache reads the
MapCacheAlias so it goes to the path
/home/curs/Desarrollo/Aplicaciones/mapserver-mapcache-18a50e2/ and read
Hi,
I'm new using mapcache. I've tried to install it following the
instructions on http://mapserver.org/trunk/mapcache/install.html.
First
$./configure
$make
$sudo make install
and after the apache module
$sudo make install-module
$sudo ldconfig
On my httpd.conf I've added
Location
the instructions for running mapcache as an apache module are on the
page you linked, more precisely:
http://mapserver.org/trunk/mapcache/install.html#apache-module-specific-instructions
--
thomas
On Thu, May 10, 2012 at 12:33 PM, Helen San Segundo Navazo
hsansegu...@meteo.cat wrote:
Hi,
I'm
Hi,
On Wed, May 9, 2012 at 9:45 PM, Mark Volz markv...@co.lyon.mn.us wrote:
Hello,
I started working with Mapcache. I added a tileset that is in UTM 15
(26915) and it is working fine on the demo page
http://localhost/mapcache/demo/wms. However when I add the layer to
ArcView, I get a
please keep replies on the mailing list.
On Thu, May 10, 2012 at 2:07 PM, Helen San Segundo Navazo
hsansegu...@meteo.cat wrote:
ok thanks, now seems that is really loaded the module. ([Thu May 10 13:21:24
2012] [notice] Apache/2.2.14 (Ubuntu) mod_fcgid/2.3.4 mod-mapcache/0.5-dev
configured --
hi,
deliberately I have not disabled the demo service, maybe in the
installation I had to put any --with to enable it? is there any way to
activate it?
thanks
El 10/05/12 14:14, thomas bonfort escribió:
please keep replies on the mailing list.
On Thu, May 10, 2012 at 2:07 PM, Helen San
given your configuration file, you have not disabled it. what url are
you trying to access the demo on ?
On Thu, May 10, 2012 at 3:16 PM, Helen San Segundo Navazo
hsansegu...@meteo.cat wrote:
hi,
deliberately I have not disabled the demo service, maybe in the installation
I had to put any
Hello,
I started working with Mapcache. I added a tileset that is in UTM 15 (26915)
and it is working fine on the demo page http://localhost/mapcache/demo/wms.
However when I add the layer to ArcView, I get a warning about inconsistent
extents. I noticed the service is advertising
Hi all,
I have setup mapcache which is working great but I amd getting text
labels and symbols along the metatile edges that are getting clipped.
IE: they are getting rendered and the left tile and then chopped but not
in the right tile so I end up with parts of symbols and text :(
I have
the mapcache metabuffer setting *must always* match your mapserver
labelcache_map_edge_buffer, is that the case ?
On Wed, May 2, 2012 at 5:35 PM, Stephen Woodbridge
wood...@swoodbridge.com wrote:
Hi all,
I have setup mapcache which is working great but I amd getting text labels
and symbols
On 5/2/2012 11:39 AM, thomas bonfort wrote:
the mapcache metabuffer setting *must always* match your mapserver
labelcache_map_edge_buffer, is that the case ?
Thomas,
Nope, changed it and it works great now.
This should be noted in the mapcache.xml.sample file.
What controls the order of the
This means there was an error when requesting/setting a metatile, the
message you are seeing was created by a parrallel proecess that was
waiting for another process to create the metatile. Look in your
server logs, the error created by the actual metatile rendering will
appear there.
--
thomas
We went up and running with mapcache.
We used the seeder to generate tiles (level 4 to 7 ) and all worked
well.
When using the demo in the mapcache cgi, it doesn't generate tiles when
we navigate at level 8 or lower.
* Apache configuration :
SetEnv MAPCACHE_CONFIG_FILE
Cowie
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapcache Seed / libpng error?
Is the error always reproducible ?
From the logs it seems that the png data received by mapcache from the
wms server is corrupt. More investigation would be needed to determine
Ticket created:
http://trac.osgeo.org/mapserver/ticket/4192
-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Wednesday, 15 February 2012 10:43 p.m.
To: Andrew Cowie
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapcache Seed / libpng
Is the error always reproducible ?
From the logs it seems that the png data received by mapcache from the
wms server is corrupt. More investigation would be needed to determine
if the network or the wms server is at fault for this.
regards,
--
thomas
On Wed, Feb 15, 2012 at 04:45, Andrew Cowie
We're having some problems with MapCache with a fully-seeded cache covering
a small geographic extent.
If the tileset definition doesn't have a restricted_extent, then any
requests outside the cache extents are supposed to return blank tiles, and
those blank tiles are being saved to the cache
If your tileset does not contain a source element, then it is
considered read only and the caches will never be updated. In that
sense you would have a slightly different mapcache.xml file for your
seeder than for your webserver.
As for returning blank tiles, you have the errors directive that
Thanks for the help but I think I'm misunderstanding mapcache at a more
basic level.
What is the mapcachealias? In the apache httpd.conf file (using the latest
MS4W), there is
MapCacheAlias /mapcache C:/ms4w/apps/mapcache/mapcache.xml
How does that relate to my own mapservices? What changes
Oops! Correction: My map services typically look like: (forgot the
cgi-bin path)
http://servername/fcgi-bin/myservice?LAYERS=layer1,layer2,...REQUEST=GetMapSERVICE=WMS;..
..
- John
On Tue, Feb 7, 2012 at 4:41 PM, John Callahan john.calla...@udel.eduwrote:
Thanks for the help but I
On Thu, Jan 26, 2012 at 19:30, John Callahan john.calla...@udel.edu wrote:
I'm giving mapcache a try but with no luck. Well, some luck. The module
loads fine and the demo (vmap0, http://127.0.0.1/mapcache/demo/wms) also
works fine. I see the tiles being generated on disk. Great. However,
I'm giving mapcache a try but with no luck. Well, some luck. The module
loads fine and the demo (vmap0, http://127.0.0.1/mapcache/demo/wms) also
works fine. I see the tiles being generated on disk. Great. However, the
problem comes in with my own data/services. A few questions may help me
On Wed, Jan 4, 2012 at 23:11, Enzmann, Alexander R. xan...@mitre.org wrote:
It appears that mapcache has exactly two supported storage formats, JPEG and
PNG. Is there any way to have it store something else (e.g., TIFF, BIL)
without adding explicit code like that in imageio_jpeg.c and
.
Xander
-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Thursday, January 05, 2012 4:16 AM
To: Enzmann, Alexander R.
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] mapcache of non-jpeg/png formats
On Wed, Jan 4, 2012 at 23:11, Enzmann
It appears that mapcache has exactly two supported storage formats, JPEG and
PNG. Is there any way to have it store something else (e.g., TIFF, BIL)
without adding explicit code like that in imageio_jpeg.c and imageio_png.c?
Any thoughts to having mapcache handle whatever formats GDAL
There have been some extensive changes in the build process over the
holidays. Please try editing src/Makefile, and replace the two
occurences of -Wl,$(LIBS) by $(LIBS).
If that fixes it, can you post the output of
/usr/share/apr-1.0/build/libtool --version, and your OS distribution
and version
Thomas
thanks a lot for the quick help.
OS is Ubuntu 10.04 64bit, libtool version is 2.2.6b.
I made the changes as you suggested and compilation continued. But then
another error appeared:
/usr/bin/apxs2 -Wc, -DUSE_MEMCACHE -DUSE_PCRE -DUSE_OGR -DUSE_GEOS
-DUSE_SQLITE -DUSE_PIXMAN
hmm, the apxs2 command does seem to need the -Wl flag passed to it
--
thomas
On Mon, Jan 2, 2012 at 14:41, Armin Burger armin.bur...@gmx.net wrote:
Thomas
thanks a lot for the quick help.
OS is Ubuntu 10.04 64bit, libtool version is 2.2.6b.
I made the changes as you suggested and
thanks again Thomas,
with this setting for the apsx2 it compiled and installed fine.
Armin
On 02/01/2012 15:18, thomas bonfort wrote:
hmm, the apxs2 command does seem to need the -Wl flag passed to it
--
thomas
On Mon, Jan 2, 2012 at 14:41, Armin Burgerarmin.bur...@gmx.net wrote:
Thomas
Ahh, ok that explains it.
Thanks for the information.
Jerl
On Mon, Dec 5, 2011 at 1:05 AM, thomas bonfort thomas.bonf...@gmail.comwrote:
only the wms and wmts services support dimensions (there is no spec
defining this support for the others).
you can either adapt your gmaps/js code to
Hi:
I hope this is the proper place to ask questions about Mapcache since it's
been moved into the trunk of Mapserver.
I'm wondering if Mapcache can help with a particular setup, and if so maybe
some advice or direction on where to start?
Here's the setup. Every 5 minutes a new set of GeoTiffs
Hi Jerl,
Maybe! is the short answer. The analysis of the problem is:
1. What is the primary purpose of mapcache?
Will it is a flexible tools that can do a lot of things, like on-the-fly
cache building, compositing images from tiles in the cache, etc. It's
primary purpose is to provide tile
Jerl,
mapcache itself does not do any pruning of the caches it has created,
but you can get the same effect by using a cache backend that supports
expiration (i.e. memcache).
Mapcache can fit your need, provided:
- you configure your tileset with a targetdate dimension- you use
a memcache backend
Thanks Stephen and Thomas.
I think I'll be good with the dimension and the disk cache. Unfortunately,
the apache we have doesn't have memcache built into it (too much hassle to
upgrade it right now) and the version of SQLite is too old...also a hassle
to upgrade.
I was able to get it to load
I almost have it, I just can't seem to get the targetdate dimension to
populate.
/mapcache/gmaps/country@WGS84/1/1/0.png works fine if I don't have the
layers that require the targetdate parameter. I get a parameter pattern
failed validation error returned from Mapserver when I have the
Jerl,
http://mapserver.org/cgi/runsub.html
Sounds like you do not have a validation_pattern for the data parameter.
-Steve W
On 12/4/2011 4:23 PM, forums wrote:
I almost have it, I just can't seem to get the targetdate dimension to
populate.
/mapcache/gmaps/country@WGS84/1/1/0.png works
only the wms and wmts services support dimensions (there is no spec
defining this support for the others).
you can either adapt your gmaps/js code to build a wmts url, or hack
into the mapcache code to add dimension support to the tms / gmaps
service.
--
thomas
On Sun, Dec 4, 2011 at 22:23,
You can do this by commenting out the source block from the tileset
once the wanted tiles have been created. You'll probably also want set
error reporting to return blank images from that stage onwards.
--
thomas
On Tue, Nov 29, 2011 at 00:09, John Taranu
jtar...@firstbasesolutions.com wrote:
HTTP
404 responses, which is a more reasonable result.
John
-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Tuesday, November 29, 2011 10:33 AM
To: John Taranu
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] MapCache: Disabling WMS
[mailto:thomas.bonf...@gmail.com]
Sent: Tuesday, November 29, 2011 10:33 AM
To: John Taranu
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] MapCache: Disabling WMS requests for
fully-seeded caches?
You can do this by commenting out the source block from the tileset once
/errors throws
HTTP 404 responses, which is a more reasonable result.
John
-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Tuesday, November 29, 2011 10:33 AM
To: John Taranu
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] MapCache
[mailto:traviskirst...@gmail.com]
Sent: Tuesday, November 29, 2011 3:21 PM
To: thomas bonfort
Cc: John Taranu; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] MapCache: Disabling WMS requests for
fully-seeded caches?
Thomas,
Here is the backtrace:
(gdb) run -X
Starting program: /usr/sbin/httpd -X
.
-Original Message-
From: Travis Kirstine [mailto:traviskirst...@gmail.com]
Sent: Tuesday, November 29, 2011 3:21 PM
To: thomas bonfort
Cc: John Taranu; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] MapCache: Disabling WMS requests for
fully-seeded caches
-
From: Travis Kirstine [mailto:traviskirst...@gmail.com]
Sent: Tuesday, November 29, 2011 3:21 PM
To: thomas bonfort
Cc: John Taranu; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] MapCache: Disabling WMS requests for
fully-seeded caches?
Thomas,
Here is the backtrace:
(gdb
of a blank
image.
-Original Message-
From: Travis Kirstine [mailto:traviskirst...@gmail.com]
Sent: Tuesday, November 29, 2011 3:21 PM
To: thomas bonfort
Cc: John Taranu; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] MapCache: Disabling WMS requests for
fully-seeded
We have a fully seeded cache that was fully seeded to a polygon outline.
The intent is to serve the tileset through a variety of services (WMS, TMS)
using mod-mapcache.
Tiles that are outside the polygon outline but still within the polygon
bounding box should be blank tiles. However, a
Is it possible to retile cached images. Our data is at a 1:1
resolution around level 19, we would like to view the data at higher
levels but don't want the effort/costs of seeding the cache. Is it
possible to take the cached level 19 tiles and retile them to level 20
on the fly?
Regards
It appears the issue was hardware related, everything seems to be
working now with nfs
Thanks for your help
On 21 November 2011 11:12, Stephen Woodbridge wood...@swoodbridge.com wrote:
Travis,
In the past I have used NFS in a custer and in general the performance was
very bad when compared
Thomas,
We have been running into some performance issues mapcache and nfs.
We feel the issue may be related to how nfs locks files/directories
compared to smb. We are trying a few thing on our end (disable
locking / nfs4 etc). Do you have any ideas?
Regards
On 20 October 2011 12:19, thomas
What kind of performance issues? The current locking code only uses
the presence/absence of a file for it's locking functions, and does
not rely on flock/fcntl.
--
thomas
On Mon, Nov 21, 2011 at 15:16, Travis Kirstine traviskirst...@gmail.com wrote:
Thomas,
We have been running into some
When running the seeder (I haven't tested on the fly generation) the
process is running extremely slow. The seeder is launched using all
available cpus (24) on the server. We are running MapServer as the
WMS source.
When I launch the seeder using a cache on the same file system the
seeder will
Travis,
In the past I have used NFS in a custer and in general the performance
was very bad when compared to SMB. Now this was a few years ago, ie: not
using mapcache, but my experience was that we ran into a few issues with
NFS:
1. NFS CPU overhead was significantly more
2. connection
We use TileCache.py on two servers with the cache on an OCFS2 on a
shared LUN in the SAN. No known issues with that for now. Note: Spurious
stale lock files occurred already on a single machine. There seemed to
be issues with lots of requests and a very slow upstream server. I used
a cron job to
Andreas and Thomas
Thanks for you responses, I have discussed this with some of our IT
staff and they had similar solution as Andreas using gfs. Their
comments are below:
I suspect this scheme is not reliable over NFS. The problem is the
directory updates are not synchronized across multiple
So, this discussion inspired me to completely rework the locking
mechanism in mapcache, to stop relying on file locks which have their
quirks on network filesystems.
I have tried using multiple apache instances configured to used a
SMB-mounted lock directory and hammered both instances on unseeded
Wow Thomas
We will give a whirl
Regards
On 20 October 2011 12:19, thomas bonfort thomas.bonf...@gmail.com wrote:
So, this discussion inspired me to completely rework the locking
mechanism in mapcache, to stop relying on file locks which have their
quirks on network filesystems.
I have
Has anyone attempted to set mapcache up in a cluster, one large file
server holding caches with several mapcache servers? A few years ago
we tried to have TileCache in a cluster but had issues with tile
locking.
Regards
___
mapserver-users mailing list
Thomas,
The latest version (as of last week) seems to have fixed the lockfile
issue. We are running into issues with the linking of transparent
tiles:
failed to link tile
/home/caches/0837DURH_cache/googlemaps_grid/21/000/590/400/001/333/608.xxx
to
What version of mod-geocache are you using (revision number or release
version) ?
On Thu, Oct 6, 2011 at 22:17, Travis Kirstine traviskirst...@gmail.com wrote:
This doesn't seem to be a issue, I have lots of inodes left. It
appears that the error occurred when generating (linking) areas with
We checked out a version of mod-geocache on sept 22, my guess is that
it is version 0.4x. We will check out the latest mapcache version
from the mapserver trunk.
Regards
On 7 October 2011 06:16, thomas bonfort thomas.bonf...@gmail.com wrote:
What version of mod-geocache are you using (revision
Hi All,
I hope this is the right spot to post MapCache questions. I had
seeded a large area and receive the error failed to remove lockfile.
It appears that this error(s) happens at the end of the seeding but
it is hard tell as the process has been running for a few days. Does
this error kill
The log message should be more explicit, and contain the reason of the
unsuccessful removal. In any case, looking at the code, this error
will have interrupted the seeding process.
regards,
thomas
On Thu, Oct 6, 2011 at 15:03, Travis Kirstine traviskirst...@gmail.com wrote:
Hi All,
I hope this
Thanks Thomas,
The complete error message is below. Do you have any idea what would
cause this error - why would mapcache fail to create or delete the
lockfile.
seeding tile 583296 1337304 21failed to remove lockfile
/var/mod-geocache/cachesseeding tile 583304 1337296 21failed to remove
what seed command were you using, and what kind of cache ?
On Thu, Oct 6, 2011 at 15:52, Travis Kirstine traviskirst...@gmail.com wrote:
Thanks Thomas,
The complete error message is below. Do you have any idea what would
cause this error - why would mapcache fail to create or delete the
Thomas,
My command is below, I'm using a disk cache, my config file is below.
I'm using a local copy of MapServer for the source image generation
./geocache_seed -c ../geocache.xml -t ms_tileset_8 -z 0,21 -e
-8895580.772,5411569.158,-8797157.196,5538966.276 -n 6
?xml version=1.0
I don't have a specific advice to give unfortunately. There have been
some fixes lately (macpcache only, not mod-geocache) to the way
multiple threads accessed the curl library that might help, so you
might want to try with a fresh checkout from the mapserver svn.
--
thomas
On Thu, Oct 6, 2011
Have you verified that you have not filled up the disk or run out of inodes?
# check the diskspace with
df -h
# check for inode issues
touch /path/to/cache/test.junk
# if the touch failed then you have run out of inodes
# otherwise clean up
rm /path/to/cache/test.junk
Thanks,
-Steve W
On
This doesn't seem to be a issue, I have lots of inodes left. It
appears that the error occurred when generating (linking) areas with
a large volume of transparent tiles, could this be related?
Regards
On 6 October 2011 14:19, Stephen Woodbridge wood...@swoodbridge.com wrote:
Have you verified
501 - 573 of 573 matches
Mail list logo