[mapserver-users] Mapfile - filter by parameter - full scan

2017-01-25 Thread Lane, Michael
Hi, Experiencing something not expected with the filter condition in mapfile. I add this code in my mapFile to have the possibility to void the filter if no parameter is given: VALIDATION no_diag '^[0-9]{1,2}$' default_no_diag '0' END DATA "geom_surf from

[mapserver-users] PROCESSING : Connection to Postgis (defer or always)

2017-01-25 Thread milad nidal
I have 100 layers with data connection to postgis (10 mapfiles). In the mapserver (v. 7) documentation there is a point (which I do not understand) regarding the PROCESSING "CLOSE_CONNECTION=ALWAYS" OR PROCESSING "CLOSE_CONNECTION=DEFER" Now if I do a tile cache for all the layer together..

Re: [mapserver-users] Mapcache - Howto provide additional high DPI tileset?

2017-01-25 Thread Michael Schulz
Hi Thomas, thanks for your help, that does it. Great! @Robert, atm I'm using leaflet and this provides boolean L.Browser.retina property that can be used to check whether the client has a higher pixel ratio. It also has a detectRetina option for the tileLayer, but since we need to switch