[MapServer-users] [REMINDER] OSGeo Chapter meeting (TODAY)

2023-03-08 Thread Bob Basques
All, This afternoons meeting will be a face to face at Bad Weather Brewery, sorry about the late notice. 414 7th St W, St Paul, MN 55102 Time : 4:30 Bobb Get me in Teams PW19-S295-C024 _

[MapServer-users] Is it possible to pass variables to a mapfile DATA parameter?

2023-03-08 Thread Neil Underhill
Hi all, I am using mapserver to allow WFS in Openlayers to access point data held in a PostgreSQL / PostGIS database. The mapfile includes the following statement: ... *INCLUDE "readonly.config"DATA "geom FROM table USING srid=32636 USING UNIQUE fid"* ... Currently I make a new mapfile for each

Re: [MapServer-users] Is it possible to pass variables to a mapfile DATA parameter?

2023-03-08 Thread Rahkonen Jukka
Hi, I think that your question belongs rather to OpenLayers forums. On the Mapserver side you can use run-time substitution in LAYER-DATA https://mapserver.org/cgi/runsub.html#parameters-supported. DATA "geom FROM %table% USING srid=32636 USING UNIQUE fid" What OpenLayers need to do is to add “