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

Re: [mapserver-users] Gallery: running mapserver in docker on kubernetes

2019-08-30 Thread Michael Smith
You can also use something like goofys which is a fuse provider for s3 which provides s3 access while using normal file path access. It’s useful when you have to deploy to cloud and non cloud. Michael Smith RSGIS Center > On Aug 30, 2019, at 7:31 PM, Jan Hartmann wrote: > > Impressive,

Re: [mapserver-users] Gallery: running mapserver in docker on kubernetes

2019-08-30 Thread Jan Hartmann
Impressive, looks like viscurl is a real alternative to local files. Thanks for the information, I'm certainly going to look further on this. Jan On 8/30/2019 6:15 PM, Peter Schmitt wrote: On Fri, Aug 30, 2019 at 9:48 AM Jan Hartmann > wrote: Thanks Peter,

Re: [mapserver-users] Gallery: running mapserver in docker on kubernetes

2019-08-30 Thread Peter Schmitt
On Fri, Aug 30, 2019 at 9:48 AM Jan Hartmann wrote: > Thanks Peter, this is really useful. Do you have any real-world benchmarks > for MapServer that compare regular file access with vsicurl access, using > optimized Geotifs? I've seen the tests for GDAL at >

Re: [mapserver-users] Gallery: running mapserver in docker on kubernetes

2019-08-30 Thread Jan Hartmann
Thanks Peter, this is really useful. Do you have any real-world benchmarks for MapServer that compare regular file access with vsicurl access, using optimized Geotifs? I've seen the tests for GDAL at https://trac.osgeo.org/gdal/wiki/CloudOptimizedGeoTIFF, but what about servering  large

[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.

Re: [mapserver-users] Gallery: running mapserver in docker on kubernetes

2019-08-30 Thread Peter Schmitt
Hi Jan, On Fri, Aug 30, 2019 at 6:20 AM Jan Hartmann wrote: > Hi Pete, could you explain what you mean by "cloud-optimized geotiffs? > A Cloud Optimized GeoTIFF (COG) is a regular GeoTIFF file in which the data is structured for fast random access. Some properties of a COG have always been

Re: [mapserver-users] Gallery: running mapserver in docker on kubernetes

2019-08-30 Thread Jan Hartmann
Hi Pete, could you explain what you mean by "cloud-optimized geotiffs? Regards, Jan On 8/29/2019 5:42 PM, Peter Schmitt wrote: > If anyone is interested by our docker image, you can find it here: https://github.com/camptocamp/docker-mapserver Thanks for sharing this, Yves! Regarding

[mapserver-users] msWFSGetStoredQuery(): WFS server error. Cannot open file

2019-08-30 Thread Passmore, James H.
I'm configuring a WFS to provide some stored queries, and following https://mapserver.org/ogc/wfs_server.html?highlight=wfs_storedqueries In my WEB > METADATA section, if I use: "wfs_storedqueries" "CommodityByYearStoredQuery" and an inlinedef either directly like: