Re: [MapServer-users] Mapserver on k8s weird behaviour

2022-12-02 Thread Marcin Niemyjski via MapServer-users
Steve, I'm using Mapserver 8 from camptocamp/mapserver https://hub.docker.com/r/camptocamp/mapserver Best, Marcin From: Lime, Steve D (MNIT) Sent: Friday, December 2, 2022 4:23 PM To: Marcin Niemyjski ; Marcin Niemyjski via MapServer-users Subject: RE:

Re: [MapServer-users] Mapserver on k8s weird behaviour

2022-12-02 Thread Lime, Steve D (MNIT) via MapServer-users
Hi Marcin: Are you using FastCGI? Which version of MapServer? We ran into something similar w/FastCGI and version 8 during development where you'd see the first instance of an error message but then the server error subsequently. It was consistent on some setups but never happened on others.

Re: [MapServer-users] Mapserver on k8s weird behaviour

2022-12-02 Thread Lime, Steve D (MNIT) via MapServer-users
Based on that error message you're not running MapServer 8.0 though. That was an area that changed between v.7 and v.8 and the error message was updated. V.8 outputs something like: msLoadMap(): Regular expression error. Filename validation failed. --Steve From: Marcin Niemyjski Sent:

Re: [MapServer-users] converting an expression to an OGC filter

2022-12-02 Thread Eichner, Andreas - SID
Your pattern seems to be wrong. You originally used a case insensitive regex 0..$ meaning a value shall end with a '0' and to other arbitrary characters. Your PropertyIsLike filter is translated into an SQL "like": (for Postgres) postcode::text ilike '_%0__' meaning a string as a whole shall

[MapServer-users] Mapserver on k8s weird behaviour

2022-12-02 Thread Marcin Niemyjski via MapServer-users
Hello, I am using Mapserver on Kubernetes (LoadBalancer). Everything works great - GetMap, GetCapabilities, layers load correctly in QGIS and Leaflet. However, what caught my attention is that when passing the mapfile's url using LoadBalancer/Kubernetes IP, only the first time the message is

Re: [MapServer-users] converting an expression to an OGC filter

2022-12-02 Thread Ian Turton
On Thu, 1 Dec 2022 at 22:13, Lime, Steve D (MNIT) wrote: > Hi Ian: What’s the backend (e.g. shapefile, PostGIS, etc…)? MapServer > expressions don’t support a wildcard operator (outside of a regex) so I’m > not sure off the top of my head and things may vary by driver. > It's a postgis database