[MapServer-users] Mapcache - postgresql dimensions causing HUGE number of open db connections

2024-03-27 Thread Tim Kempisty via MapServer-users
Mapcache folks, This is a technical question about the Mapcache connection pool and how postgreql dimensions are implemented. I have a big mapcache WMS with several hundred layers defined. Most of them have a postgresql dimension that reports back a list of available timestamps for these

Re: [MapServer-users] mapcache: Setting styles for a tileset and source

2023-09-29 Thread Trygve Aspenes via MapServer-users
hm, wait The request from my app is based on the getcapability from mapcache, so no styles. But when mapcache is sending the request to mapserver the configured STYLES in the getmap section in the mapcache config is added correctly. I don't know how I missed that, but I think I get what I

[MapServer-users] mapcache: Setting styles for a tileset and source

2023-09-29 Thread Trygve Aspenes via MapServer-users
Hi In mapserver I have several styles. In mapcache I see no styles info in the getcapabilities document, so my app can't know anything about it. Anyway, you would need one tileset for each styles to cache the data. So right, that makes sense. Then I try to make one tileset per style. I add

[MapServer-users] mapcache: time dimension default value and psql list_query

2023-03-30 Thread Trygve Aspenes via MapServer-users
Hi mapserver users list I have a mapserver backend with mapcache to handle the tile queries and psql as a db. It's working but I have some details I'm trying to improve. 1: The time dimension has a default value. The client I server data to require this. I have 1 week of data available

[MapServer-users] Mapcache authentication in source http requests

2023-02-24 Thread Johannes Paul
Hello, I can't find anywhere in the documentation if and how mapcache handles authentication in data sources http requests. I found this old post https://lists.osgeo.org/pipermail/mapserver-users/2013-April/074509.html dealing with basic authentication headers. Is there any built-in mechanism for

Re: [MapServer-users] Mapcache second level dimensions

2023-02-16 Thread Johannes Paul
Coming back on a semi-working 2nd level dimension use case, if I use the below conf: ``` /nfs_tiles/test/{dim:product}.sqlite3 PNG worldwind test_cache /nfs_tiles/test/mosa.db select product from mosa where sensor=:dim select product from mosa

[MapServer-users] Mapcache second level dimensions

2023-02-16 Thread Johannes Paul
Hello, I'm trying to implement second level SQLite dimension as explained in the doc https://mapserver.org/mapcache/dimensions.html#second-level-dimensions Following that exemple on mapcache v1.12, I'm expecting that the below conf, with WMS request on 'mosa_test' tileset with 'dim_sensor=phr',

[MapServer-users] MapCache 1.14.0 available (security release)

2023-01-30 Thread Jeff McKenna
MapCache 1.14.0 is now released, that includes handling a string formatting injection vulnerability. Changelog: https://mapserver.org/development/changelog/mapcache/changelog-1-14.html Download: https://download.osgeo.org/mapserver/mapcache-1.14.0.tar.gz thanks, -- MapServer / MapCache team

[MapServer-users] mapcache install -- libapache

2023-01-18 Thread Greg Robillard
Has anyone had luck installing libapache2-mod-mapcache? I installed Mapserver 7.4 using apt on an Ubuntu 22.04 server. Mapserver works beautifully. I attempted to do the same with apt to install the Apache Mapcache module libapache2-mod-mapcache, but the installation fails. The install goes

Re: [MapServer-users] Mapcache s3 - server replied: Not Found

2022-12-09 Thread Rahkonen Jukka
Niemyjski via MapServer-users Lähetetty: perjantai 9. joulukuuta 2022 16.02 Vastaanottaja: Marcin Niemyjski via MapServer-users Aihe: [MapServer-users] Mapcache s3 - server replied: Not Found Hello, my mapcache xml to s3 bucket is working now but while trying to connect it to qgis using url created

[MapServer-users] Mapcache s3 - server replied: Not Found

2022-12-09 Thread Marcin Niemyjski via MapServer-users
Hello, my mapcache xml to s3 bucket is working now but while trying to connect it to qgis using url created in xml (https://s3.waw3-1.cloudferro.com/mapcache/{tileset}/{grid}/{z}/{x}/{y}/{ext}) qgis returns: Failed to download capabilities: Download of capabilities failed: Error transferring

[MapServer-users] Mapcache seeder - failed to parse file /var/www/aed_world.xml. Is it valid XML? on valid xml

2022-12-09 Thread Marcin Niemyjski via MapServer-users
Hello, I have a problem, namely: I created .xml file, which is used to cache tiles into s3 bucket, here it is: https://pastebin.com/RwPAESUG while starting seeder the error is recived: failed to parse file /var/www/aed_world.xml. Is it valid XML? I've checked content of XML in online

[mapserver-users] Mapcache serving raw type data in WMS

2022-05-11 Thread Johannes Paul
Hello, using SRTMGL1 elevation data, I would like to use Mapserver to output Geotiff 16bits rasters, that would be tiled via Mapcache in raw type format in db files, and served in WM(T)S. However, from what I can see in the Mapcache documentation ( https://github.com/MapServer/mapcache/pull/166),

[mapserver-users] MapCache 1.12.0 released

2022-02-23 Thread jbo-...@mailo.com
The MapServer team is pleased to announce the major release of MapCache 1.12.0 You can download the source code at . The list of evolutions is found on the Changelog page at

Re: [mapserver-users] Mapcache disk cache gives unexpected paths to tiles

2022-02-09 Thread Trygve Aspenes
Ah, thanks Thomas! I did not catch that from the documentation. I also needed to add layout like this: /mapcache/{tileset}/{grid}/{dim:time}/{z}/{x}/{y}.{ext} to make it work ( both from testing and looking at the documentation) If you use the default this will be like

Re: [mapserver-users] Mapcache disk cache gives unexpected paths to tiles

2022-02-09 Thread thomas bonfort
You should remove the /mapcache from the >cache> block, as it takes precedence over your -- thomas On Wed, Feb 9, 2022 at 12:10 PM Trygve Aspenes wrote: > Hi > > I have a mapcache running using disk as cache method with config like > this: > > > /mapcache > >

[mapserver-users] Mapcache disk cache gives unexpected paths to tiles

2022-02-09 Thread Trygve Aspenes
Hi I have a mapcache running using disk as cache method with config like this: /mapcache /mapcache/{tileset}#{grid}#{dim}/{z}/{x}/{y}.{ext} But here is what I get on disk: /mapcache/name>/EPSG:3857/2022-02-05T00:12:00Z/05/000/000/038/000/000/043.png What I

[mapserver-users] MapCache 1.12.0rc1

2022-01-30 Thread jbo-...@mailo.com
The MapCache / MapServer team is pleased to announce the first release candidate of MapCache 1.12.0. Change log from 1.10 is found at https://mapserver.org/development/changelog/mapcache/changelog-1-12.html#changes-from-1-10-0-to-1-12-0-rc1 An archive of source code is found at

Re: [mapserver-users] Mapcache time dimension default value; and 'tearing down pooled connection' message

2022-01-20 Thread jbo-...@mailo.com
Hello, Despite being one of "the mapcache devs", I have no answer to the second question. This involves MapCache connection pool which uses APR pools and which I am not familiar with:

Re: [mapserver-users] Mapcache time dimension default value; and 'tearing down pooled connection' message

2022-01-17 Thread David Hoese
Trygve, Hello from outside the Pytroll community ;) I can't answer your second question as I don't have much experience with getCapabilities, but I think I have an answer for the first question. My understanding for the `default` parameter was that that was the returned time string if no

[mapserver-users] Mapcache time dimension default value; and 'tearing down pooled connection' message

2022-01-17 Thread Trygve Aspenes
Hi there! Slowly I'm getting mapserver/mapcache up running and looks now how to improve things. First: When I load a mapcache tileset with time dimension from a pg db the oldest image is displayed in my client. Is it possible to somehow get the newest image as default? My tileset dimension

Re: [mapserver-users] mapcache behind nginx with ssl

2021-09-28 Thread Trygve Aspenes
OK So I will answer my self then after a major hint from a mapcache user. In the mapcache.xml.sample file there is a section https://github.com/MapServer/mapcache/blob/11f7713c5efb730a1699dfd35bbf7300b38c8e06/mapcache.xml.sample#L7-L14 Where you can do exactly what I want. This solves my

Re: [mapserver-users] mapcache behind nginx with ssl

2021-09-28 Thread Bjørn Ove Grøtan
I had the same issue with HAProxy in front and Mapserver on Apache in the back. 1. http->http (returns http-urls) 2. https->http (returns http-urls) 3. https->https (returns https-urls) Even if I tell the backend that the client request protocol was https on port 443

[mapserver-users] mapcache behind nginx with ssl

2021-09-27 Thread Trygve Aspenes
Hi there I have put up a mapserver behind nginx with ssl and a curl like this curl -s "https://mapserver/cgi-bin/mapserv?map=/data/mapserver/map-files/mapserver-8505ad3e-f9e3-4de3-a080-8253443ac954-20210908T120432Z.map=WMS=GetCapabilities; | grep OnlineResource Gives me like:

[mapserver-users] MapCache: Memory leak in WMTSCapabilities request?

2021-04-13 Thread Schmid Andreas
Hi I'm running MapCache 1.10.0 in a Docker container. The image is based on debian:bullseye; Apache and MapCache is installed into the image with apt. Everything works fine; however when I set the health checks to regularly request the WMTS Capabilities at

[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

[mapserver-users] Mapcache WMS layer group - WMTS Themes

2020-10-11 Thread BRIAN STIFFENN LUNA BOLIVAR
Hello everyone, good day.I'm trying hard to set the WMS layer group as in the mapfile, and WMTS theme section too, but I couldn't find anything in the mapcache documentation. Do you know the correct way to set this? Thank you. ___ mapserver-users

Re: [mapserver-users] Mapcache building question

2020-08-31 Thread jbo-ads
Hi Иван, Actually, for compilation, CMake needs to locate 'httpd.h' header file and 'apxs' or 'apxs2' executables. You may need to install specific packages, e.g. on Ubuntu: 'apt-get install apache2-dev'. Jérome. Le 31/08/2020 à 08:44, Иван Иванов a écrit : Hi everyone! I have a trouble

[mapserver-users] Mapcache building question

2020-08-31 Thread Иван Иванов
Hi everyone! I have a trouble while trying to cmake mapcache. I've resolved all dependencies problems, except one about APACHE, here is the output of cmake command: ``` - Could NOT find APACHE (missing: APACHE_INCLUDE_DIR) CMake Error at CMakeLists.txt:45 (message): APACHE library/component

[mapserver-users] MapCache dimensions with MapServer run time substitution

2020-07-07 Thread Travis Kirstine
Is it possible to utilize mapcache regex dimensions with mapserver run time substitution (wms) to create a more dynamic and generic tile service Here is my basic configuration for mapserver and mapcache, I can't seem to get it working with QGIS when connecting to the WMTS For example I use run

Re: [mapserver-users] MapCache Larger tiles, reduce number of files

2020-03-10 Thread Jean-Philippe Chenel
ize: tileSize, tileGrid: tileGrid }); With best regards, De : Stephen Woodbridge Envoyé : 9 mars 2020 16:46 À : Jean-Philippe Chenel ; mapserver-users@lists.osgeo.org Objet : Re: [mapserver-users] MapCache Larger tiles, reduce number of files Are you sure you h

Re: [mapserver-users] MapCache Larger tiles, reduce number of files

2020-03-09 Thread Stephen Woodbridge
Woodbridge *Envoyé :* 9 mars 2020 14:56 *À :* mapserver-users@lists.osgeo.org *Objet :* Re: [mapserver-users] MapCache Larger tiles, reduce number of files Jean-Philippe, I don't think it works like that. Resolution is determined by zoom factor so you generate  metatile at that resolution then you chop

Re: [mapserver-users] MapCache Larger tiles, reduce number of files

2020-03-09 Thread Jean-Philippe Chenel
Objet : Re: [mapserver-users] MapCache Larger tiles, reduce number of files Jean-Philippe, I don't think it works like that. Resolution is determined by zoom factor so you generate metatile at that resolution then you chop that metatile in tiles of whatever size you specify. So resolution

Re: [mapserver-users] MapCache Larger tiles, reduce number of files

2020-03-09 Thread Stephen Woodbridge
Jean-Philippe, I don't think it works like that. Resolution is determined by zoom factor so you generate  metatile at that resolution then you chop that metatile in tiles of whatever size you specify. So resolution is controled by zoom not tile size. -Steve W On 3/9/2020 2:45 PM,

[mapserver-users] MapCache Larger tiles, reduce number of files

2020-03-09 Thread Jean-Philippe Chenel
Hi, With MapCache, I want to generate the tiles that will be copied to a mobile device, on a viewer created with OpenLayers. When generating a large extent, with multiple levels of zoom, the files count is really big, so I want to reduce the number of files by increasing the tile size. I've

Re: [mapserver-users] Mapcache : Incompatible libpng version in application and library

2020-03-05 Thread Johannes Paul
I had indeed gdal running with libpng-1.2.56, while mapcache was compiled with libpng-1.5.13. Thanks a lot for your help. Johannes Le ven. 28 févr. 2020 à 18:48, Even Rouault a écrit : > On vendredi 28 février 2020 11:38:38 CET Steve Lime wrote: > > I'd think you must multiple libpng installed.

Re: [mapserver-users] Mapcache : Incompatible libpng version in application and library

2020-02-28 Thread Even Rouault
On vendredi 28 février 2020 11:38:38 CET Steve Lime wrote: > I'd think you must multiple libpng installed. Did you search your system > independent of the package manager? libpng-1.2.56 rings a bell to me. This is copy of libpng that is embedded in GDAL source tree. So you'd better make sure

Re: [mapserver-users] Mapcache : Incompatible libpng version in application and library

2020-02-28 Thread Steve Lime
I'd think you must multiple libpng installed. Did you search your system independent of the package manager? On Wed, Feb 26, 2020 at 4:12 AM Johannes Paul wrote: > Hello, > I've compiled Mapcache from source, and the installation worked just fine, > without any error, however when I run

[mapserver-users] Mapcache : Incompatible libpng version in application and library

2020-02-26 Thread Johannes Paul
Hello, I've compiled Mapcache from source, and the installation worked just fine, without any error, however when I run mapcache_seed, I get the following error : libpng warning: Application was compiled with png.h from libpng-1.5.13 libpng warning: Application is running with png.c from

[mapserver-users] MapCache 1.10.0 released

2020-02-24 Thread jbo-ads
Hi, The project team is glad to announce the release of MapCache 1.10.0. This version includes a long list of bug fixes and feature enhancements since 1.8.0. Changelog: https://mapserver.org/development/changelog/mapcache/changelog-1-10.html Download:

[mapserver-users] MapCache 1.10.0-rc2 ready for testing

2020-02-17 Thread jbo-ads
My bad, links were wrong in the previous message. Hi all, The second release candidate of MapCache 1.10.0 is out. It fixes some memory leaks. Changelog: https://mapserver.org/development/changelog/mapcache/changelog-1-10.html#changelog-mapcache-1-10-0-rc2 Download:

[mapserver-users] MapCache 1.10.0-rc2 ready for testing

2020-02-17 Thread jbo-ads
Hi all, The second release candidate of MapCache 1.10.0 is out. It fixes some memory leaks. Changelog: https://mapserver.org/development/changelog/mapcache/changelog-1-10.html#changelog-mapcache-1-10-0-rc2 Download: http://download.osgeo.org/mapserver/mapcache-1.10.0-rc1.tar.gz Thank,

[mapserver-users] MapCache 1.10.0-rc1 ready for testing

2020-02-11 Thread jbo-ads
Today the project team has packaged the first release candidate of MapCache 1.10.0, which includes a long list of changes. Changelog: https://mapserver.org/development/changelog/mapcache/changelog-1-10.html#changelog-mapcache-1-10-0-rc1 Download:

[mapserver-users] MapCache Wiki Update: "MapCache Performance Analysis A Case Study"

2020-02-03 Thread jbo-ads
Hi all, I've added an article to the young MapCache Wiki. This is called "MapCache Performance Analysis: A Case Study". Here is the context of that study: "A satellite imagery provider wants a browser to

Re: [mapserver-users] MapCache clusters

2019-11-19 Thread Sebastiano Laini
To: Sebastiano Laini Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] MapCache clusters I don't think multiple instances of MapCache will help for seeding, in general most of the seeding time depends on the zoom level, with each higher zoom level taking 4 x the time as the proceeding

Re: [mapserver-users] MapCache clusters

2019-11-19 Thread Travis Kirstine
I don't think multiple instances of MapCache will help for seeding, in general most of the seeding time depends on the zoom level, with each higher zoom level taking 4 x the time as the proceeding zoom level (e.g. zoom 20 take 4 x the time to seed as zoom 19) . This can vary depending on your

[mapserver-users] MapCache clusters

2019-11-18 Thread Sebastiano Laini
Hi All, I was wondering if is possible to dockerise my server and then use multiple cluster to seed the cache? I know I can use multiple processes with the -n and -p flag though I'm wondering there is a limit on how much you can really increase those number. E.g. I dockerise the server and I

Re: [mapserver-users] mapcache seed speed optimization

2019-11-12 Thread Stephen Woodbridge
Thank Lars. You can now fetch it from https://github.com/woodbri/imaptools.com Enjoy,   -Steve W On 11/11/2019 3:07 PM, lars.schylb...@blixtmail.se wrote: Hi I have had a similar situation as You with large national data sets in shape format. One of the biggest improvements for me has been

Re: [mapserver-users] mapcache seed speed optimization

2019-11-12 Thread Sebastiano Laini
To: Sebastiano Laini Cc: Fawcett, David (MNIT) ; Rahkonen Jukka (MML) ; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] mapcache seed speed optimization I may not be unrealistic for it take mapserver to 4-6 seconds to generate 4096px image depending on the amount data being rendered

Re: [mapserver-users] mapcache seed speed optimization

2019-11-11 Thread Stephen Woodbridge
FYI, imaptools.com is not online any more (except the we are moving pages). Lars if you email me the files, I'll push them to my github repository so others can find them. Thanks,   -Steve W On 11/11/2019 3:07 PM, lars.schylb...@blixtmail.se wrote: Hi I have had a similar situation as You

Re: [mapserver-users] mapcache seed speed optimization

2019-11-11 Thread Jeff McKenna
For Windows users I have been distributing shp2tile with MS4W (https://ms4w.com/), and in fact the last MS4W contains a rebuilt shp2tile (and an updated Shapelib), which as Lars said is still very useful. -jeff On 2019-11-11 4:07 PM, lars.schylb...@blixtmail.se wrote: Hi I have had a

Re: [mapserver-users] mapcache seed speed optimization

2019-11-11 Thread lars . schylberg
Hi I have had a similar situation as You with large national data sets in shape format. One of the biggest improvements for me has been to split large shape files into smaller and then use vector tile indexes in Mapserver. The tool shp2tile has been working well for me. Stephen Woodbridge has

Re: [mapserver-users] mapcache seed speed optimization

2019-11-11 Thread Travis Kirstine
I may not be unrealistic for it take mapserver to 4-6 seconds to generate 4096px image depending on the amount data being rendered and the complexity of your styles / expressions / labels. If your mapserver is able to generate a 1024x1024 in under a second that is pretty good. Like Jukka and

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Sebastiano Laini
We don't create the data, we rely on OS (ordnance survey) to supply us the maps files and then we publish them in our service but I assume that probably we will need to create some flow to improve it or download it in other format that is faster. Sebastiano Laini Web Developer Buchanan

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Sebastiano Laini
ebastiano Laini Lähetetty: perjantai 8. marraskuuta 2019 14.35 Vastaanottaja: 'mapserver-users@lists.osgeo.org' mailto:mapserver-users@lists.osgeo.org>> Aihe: [mapserver-users] mapcache seed speed optimization Hi all, I'm evaluating new stacks but seems that I'm stuck with mapserver and map

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Rahkonen Jukka (MML)
polite to me. -Jukka Rahkonen- Lähettäjä: mapserver-users mailto:mapserver-users-boun...@lists.osgeo.org>> Puolesta Sebastiano Laini Lähetetty: perjantai 8. marraskuuta 2019 14.35 Vastaanottaja: 'mapserver-users@lists.osgeo.org' mailto:mapserver-users@lists.osgeo.org>> Aihe: [mapse

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Sebastiano Laini
äjä: mapserver-users mailto:mapserver-users-boun...@lists.osgeo.org>> Puolesta Sebastiano Laini Lähetetty: perjantai 8. marraskuuta 2019 14.35 Vastaanottaja: 'mapserver-users@lists.osgeo.org' mailto:mapserver-users@lists.osgeo.org>> Aihe: [mapserver-users] mapcache seed speed optim

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Rahkonen Jukka (MML)
anottaja: 'mapserver-users@lists.osgeo.org' Aihe: [mapserver-users] mapcache seed speed optimization Hi all, I'm evaluating new stacks but seems that I'm stuck with mapserver and mapcache due to the input source of our maps, so I'm trying to improve the speed of the mapserver/mapcache stack and w

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Yves Jacolin
Sebastiano, Some though in my mind: * –n 2 : do you really have 2'000 CPU on your WMS server? if not, it could be worst than better, flooding your WMS server. * what is the bottleneck? If WMS server is slow you can't make MapCache faster, you should optimise WMS Server. Multi-domain can

[mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Sebastiano Laini
Hi all, I'm evaluating new stacks but seems that I'm stuck with mapserver and mapcache due to the input source of our maps, so I'm trying to improve the speed of the mapserver/mapcache stack and what I cannot improve is the seed speed. The -n and -p parameters seems to be useless. -n |

Re: [mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?

2019-10-25 Thread Eichner, Andreas - SID
> To: mapserver-users@lists.osgeo.org > Subject: Re: [mapserver-users] Mapcache - Is it possible to have > two tilesets share a single cache at particular zoom levels? > > Andreas, > > Good idea. It looks like Windows can create symlinks. I suppose > I could try symlinking

Re: [mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?

2019-10-24 Thread Steve Lime
apserver-users- > > boun...@lists.osgeo.org] On Behalf Of Mark Volz > > Sent: Wednesday, October 23, 2019 4:12 PM > > To: mapserver-users@lists.osgeo.org > > Subject: [mapserver-users] Mapcache - Is it possible to have two > > tilesets share a single cache at particular zoo

Re: [mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?

2019-10-24 Thread Mark Volz
out symlinking the level directories? > -Original Message- > From: mapserver-users [mailto:mapserver-users- > boun...@lists.osgeo.org] On Behalf Of Mark Volz > Sent: Wednesday, October 23, 2019 4:12 PM > To: mapserver-users@lists.osgeo.org > Subject: [maps

Re: [mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?

2019-10-24 Thread Eichner, Andreas - SID
What about symlinking the level directories? > -Original Message- > From: mapserver-users [mailto:mapserver-users- > boun...@lists.osgeo.org] On Behalf Of Mark Volz > Sent: Wednesday, October 23, 2019 4:12 PM > To: mapserver-users@lists.osgeo.org > Subject: [mapserv

Re: [mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?

2019-10-23 Thread Mark Volz
Volz Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels? SWHHS/LYON/LINCOLN COUNTY SECURITY NOTICE: This email originated from an external sender. Exercise caution before clicking on any

Re: [mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?

2019-10-23 Thread Steve Lime
That seems more like a client configuration issue to me. That is, you'd have the two caches (air photos and political) but then configure the client to swap at different zoom levels. For example, with Leaflet you could simply set maxZoom/minZoom map attributes. Here's an example that uses a map (1

[mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?

2019-10-23 Thread Mark Volz
Hello, I have two similar tilesets configured in Mapcache. One of the tilesets displays a political map at small scales, then changes to an air photo map as the user zooms into the map. The second tileset displays air photos at every zoom level. It would be useful if these tilesets could

Re: [mapserver-users] mapcache: restricted extent and ruleset to limit cache area seems ineffective

2019-09-09 Thread Mark Volz
(MNIT)" To: Mark Volz , Travis Kirstine Cc: "mapserver-users@lists.osgeo.org" Subject: Re: [mapserver-users] mapcache: restricted extent and ruleset to limit cache area seems ineffective Message-ID: Content-Type: text/plain; charset="utf-8&

Re: [mapserver-users] mapcache: restricted extent and ruleset to limit cache area seems ineffective

2019-09-06 Thread TC Haddad
I’ve had success setting a mask at the Mapserver level, and MapCache has not problem only rendering imagery to the edge of whatever irregular shape you need to use (e.g. watershed or county boundary). So maybe try that? However It’s true, MapCache will still return blank tiles outside the mask

Re: [mapserver-users] mapcache: restricted extent and ruleset to limit cache area seems ineffective

2019-09-06 Thread Lime, Steve D (MNIT)
Kirstine Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] mapcache: restricted extent and ruleset to limit cache area seems ineffective This message may be from an external email source. Do not select links or open attachments unless verified. Report all suspicious emails

Re: [mapserver-users] mapcache: restricted extent and ruleset to limit cache area seems ineffective

2019-09-06 Thread Mark Volz
Hello, I am still having issues restricting the extent in my mapcache area using rulesets. I created a rule for all of my zoom levels that has a limited visibility extent. However, Mapcache is still returning imagery for the entire grid area even though I created a rule that should only

Re: [mapserver-users] mapcache: restricted extent and ruleset to limit cache area seems ineffective

2019-08-30 Thread Travis Kirstine
You can set the empty_img To return a blank tile. I believe the status is still 404 - I don't think you can control this On Fri, 30 Aug 2019 at 15:44, Mark Volz wrote: > Hello, > > > > I am in the process of limiting the cached area in mapcache. I am having > trouble with both the

[mapserver-users] mapcache: restricted extent and ruleset to limit cache area seems ineffective

2019-08-30 Thread Mark Volz
Hello, I am in the process of limiting the cached area in mapcache. I am having trouble with both the restricted_extent and ruleset parameters. I first started by using restricted_extent such as "LyonCC". That parameter seemed to work. However mapcache returned 404 errors for any tiles

[mapserver-users] Mapcache: Limiting a cached area by using a shapefile, Adjusting the Google Compatible 3857 grid, Considerations if multiple grids use the same projection?

2019-08-30 Thread Mark Volz
Hello, Question 1: Limit a cached area by using a shapefile. Does map server give us the ability to limit the extent of a cache using a shapefile? I know we can set up a rectangular grid for the extent. However, I would like to make sure tiles are not generated beyond the area of interest.

[mapserver-users] Mapcache seeding from ogr source

2019-08-02 Thread tellett
Hi, I have several seeding jobs set up that are using an ogr source (PostGIS table with line geometries). I'm wondering if mapcache reads the postgis table into memory and run the seeding from there, or creates a new conenction for every row in the table? Thanks Tom -- Sent from:

[mapserver-users] MapCache 1.8.0 Released

2019-07-24 Thread Jérome Boué
The project team is glad to annouce the release of MapCache 1.8.0. This version includes a long list of changes since 1.6.1. Changelog: https://mapserver.org/development/changelog/mapcache/changelog-1-8.html Download: http://download.osgeo.org/mapserver/mapcache-1.8.0.tar.gz Thanks,

Re: [mapserver-users] Mapcache seeder question

2019-07-24 Thread Matej Mailing
.si] > > Sent: Monday, July 08, 2019 12:26 AM > > To: Lime, Steve D (MNIT) ; > > mapserver-users@lists.osgeo.org > > Subject: Re: [mapserver-users] Mapcache seeder question > > > > This message may be from an external email source. > > Do not select links or open

[mapserver-users] MapCache 1.8.0-rc2 ready for testing

2019-07-17 Thread Jérome Boué
Today the project team has packaged the second release candidate of MapCache 1.8.0, which includes a  bug fix in addition to a long list of changes from first release candidate. Changelog: Download:

Re: [mapserver-users] Mapcache seeder question

2019-07-16 Thread Matej Mailing
, July 08, 2019 12:26 AM > To: Lime, Steve D (MNIT) ; > mapserver-users@lists.osgeo.org > Subject: Re: [mapserver-users] Mapcache seeder question > > This message may be from an external email source. > Do not select links or open attachments unless verified. Report all > sus

Re: [mapserver-users] mapcache configuration for openlayers XYZ source

2019-07-11 Thread Eichner, Andreas - SID
). HTH > -Original Message- > From: mapserver-users [mailto:mapserver-users- > boun...@lists.osgeo.org] On Behalf Of Sacha Fouchard > Sent: Thursday, July 11, 2019 10:21 AM > To: mapserver-users@lists.osgeo.org > Subject: [mapserver-users] mapcache configuration for openl

Re: [mapserver-users] mapcache configuration for openlayers XYZ source

2019-07-11 Thread Sacha Fouchard
Hi Jeff, I followed the link you gave and it works perfectly but for ol.source.tileWMS. I need to use ol.source.XYZ and get tiles with http://my.server/z/x/y.png scheme. In my example, i have a source: http://{1-4}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png, declared in openlayers as

[mapserver-users] mapcache configuration for openlayers XYZ source

2019-07-11 Thread Sacha Fouchard
Hi Jeff, I followed the link you gave and it works perfectly but for ol.source.tileWMS. I need to use ol.source.XYZ and get tiles with http://my.server/z/x/y.png scheme. In my example, i have a source: http://{1-4}. basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png

Re: [mapserver-users] mapcache configuration for openlayers XYZ source

2019-07-10 Thread Jeff McKenna
I don't know that it applies directly to your current needs, but there is a wiki page outlining specific steps to enable OpenLayers + MapCache at https://ms4w.com/trac/wiki/MapCacheOpenLayers -jeff -- Jeff McKenna MapServer Consulting and Training Services https://gatewaygeomatics.com/

[mapserver-users] mapcache configuration for openlayers XYZ source

2019-07-10 Thread Sacha Fouchard
Dear mapserver users, I am pretty new with mapcache configuration and try without success to manage an openlayers 4 ol.source.XYZ cache. Url I need to cache is: http://{1-4}. basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png This is working in openlayers directly. For a mapcache use, what would

[mapserver-users] MapCache 1.8.0-rc1 ready for testing

2019-07-09 Thread Jeff McKenna
Today the project team has packaged the first release candidate of MapCache 1.8.0, which includes a long list of changes. changelog: https://mapserver.org/development/changelog/mapcache/changelog-1-8.html#changelog-mapcache-1-8-0-rc1 download:

Re: [mapserver-users] Mapcache seeder question

2019-07-08 Thread Lime, Steve D (MNIT)
And regular tile generation (no seeding) works ok? -Original Message- From: Matej Mailing [mailto:mail...@tam.si] Sent: Monday, July 08, 2019 12:26 AM To: Lime, Steve D (MNIT) ; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Mapcache seeder question This message may

Re: [mapserver-users] Mapcache seeder question

2019-07-07 Thread Matej Mailing
Mailing > Sent: Thursday, July 04, 2019 10:35 AM > To: mapserver-users@lists.osgeo.org > Subject: [mapserver-users] Mapcache seeder question > > This message may be from an external email source. > Do not select links or open attachments unless verified. Report all > suspicious emai

Re: [mapserver-users] Mapcache seeder question

2019-07-05 Thread Lime, Steve D (MNIT)
10.7421875 5.37109375 2.685546875 1.3427734375 --Steve -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Matej Mailing Sent: Thursday, July 04, 2019 10:35 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Mapcache

[mapserver-users] Mapcache seeder question

2019-07-04 Thread Matej Mailing
Hello, I am having issues with running Mapcache Seeder with extent options. My grid is defined like: 256 256 373233,31868 625985,194134 EPSG:3912 m 18 9 45000 22500 11250 5000 2500 1250 600 300 200 100 50 25 12 6 3 1 0.5 0.25 0.12 0.06 and when I try to run

Re: [mapserver-users] Mapcache: Modifying GoogleMapsCompatible grid?

2019-04-29 Thread Lime, Steve D (MNIT)
I would create a new grid, coping from the default grid, and then add additional zoom levels... From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mark Volz Sent: Monday, April 29, 2019 12:25 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users

[mapserver-users] Mapcache: Modifying GoogleMapsCompatible grid?

2019-04-29 Thread Mark Volz
Hello, Within Mapcache, Is it considered "good form" to modify the GoogleMapsCompatible grid to add additional resolutions so we can zoom in closer to the map? Will I just need to override the grid in mapcache.xml, or will I need to create a new grid by copying the parameters on

Re: [mapserver-users] Mapcache WMTS - imagery is offset in ArcGIS when using WMTS services.

2019-04-12 Thread Lime, Steve D (MNIT)
, 2019 12:08 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Mapcache WMTS - imagery is offset in ArcGIS when using WMTS services. Hello, I noticed that WMTS services are extremely fast when using Mapcache to serve tiles to ArcGIS clients. However, the imagery appears

[mapserver-users] Mapcache WMTS - imagery is offset in ArcGIS when using WMTS services.

2019-04-12 Thread Mark Volz
Hello, I noticed that WMTS services are extremely fast when using Mapcache to serve tiles to ArcGIS clients. However, the imagery appears to be shifted down significantly from the actual location. I did notice that Mapserver and Mapcache use a 72 DPI while ArcGIS is using a 90.714 DPI. In

[mapserver-users] mapcache for website tips

2019-03-05 Thread Sebastiano Laini
Hi all, I'm curious to know what are your mapcache configurations for a use in a website. I'm using tiles of 128x128 and the maximum weight of a single tile can be 80KB, our map is counting 33 layers and a total of 60GB of data (whole UK EPSG:27700, Ireland is just the border and a white

Re: [mapserver-users] mapcache seed slow

2019-02-22 Thread Sebastiano Laini
13.35 Vastaanottaja: 'mapserver-users@lists.osgeo.org' mailto:mapserver-users@lists.osgeo.org>> Aihe: [mapserver-users] mapcache seed slow Hi all, I'm trying to seed the whole UK at all zoom lv with these resolutions 280 140 70 28 14 7 6.16 2.8 1.4 0.7 But after 13 days it arrives at the 5th level wh

Re: [mapserver-users] mapcache seed slow

2019-02-22 Thread Sebastiano Laini
and filling the cache? -Jukka Rahkonen- Lähettäjä: mapserver-users mailto:mapserver-users-boun...@lists.osgeo.org>> Puolesta Sebastiano Laini Lähetetty: perjantai 22. helmikuuta 2019 13.35 Vastaanottaja: 'mapserver-users@lists.osgeo.org' mailto:mapserver-users@lists.osgeo.org>> Aihe: [map

Re: [mapserver-users] mapcache seed slow

2019-02-22 Thread Rahkonen Jukka (MML)
- Lähettäjä: mapserver-users Puolesta Sebastiano Laini Lähetetty: perjantai 22. helmikuuta 2019 13.35 Vastaanottaja: 'mapserver-users@lists.osgeo.org' Aihe: [mapserver-users] mapcache seed slow Hi all, I'm trying to seed the whole UK at all zoom lv with these resolutions 280 140 70 28 14 7

Re: [mapserver-users] mapcache seed slow

2019-02-22 Thread Sebastiano Laini
best It supposed to have a limit that it’s the full EPSG extent Sebastiano Laini Web Developer From: Travis Kirstine [mailto:traviskirst...@gmail.com] Sent: 22 February 2019 13:57 To: Sebastiano Laini Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] mapcache seed

Re: [mapserver-users] mapcache seed slow

2019-02-22 Thread Travis Kirstine
The time you have indicated seems excessive to seed the UK. My guess is that the current process it seeding the extents of your grid (world?) but default. I've seeded the province of ontario 1 million km2 z0-17 in about 2 weeks using a sqlite cache Ramping up the -n will only bottle neck the

[mapserver-users] mapcache seed slow

2019-02-22 Thread Sebastiano Laini
Hi all, I'm trying to seed the whole UK at all zoom lv with these resolutions 280 140 70 28 14 7 6.16 2.8 1.4 0.7 But after 13 days it arrives at the 5th level where before I kill the process it seed just 900MB on that level. This is my script su -s /bin/sh apache -c

  1   2   3   4   5   6   >