Re: [mapserver-users] mapserv cli and run-time substitution

2022-02-05 Thread andy
In this compressed file the files I'm using: https://github.com/aborruso/blackboard/blob/gh-pages/trash/processing.7z -- ___ Andrea Borruso website: https://medium.com/tantotanto 38° 7' 48" N, 13° 21' 9" E, EPSG:4326 ___ "cercare e saper riconoscere chi e cosa,

Re: [mapserver-users] mapserv cli and run-time substitution

2022-02-05 Thread andy
Hi Steve, and thank you. It seems right also to me. Moreover there is a related paragraph in the documentation: https://mapserver.org/el/mapfile/validation.html#test-with-commandline I want to add that I'm using MapServer version 7.6.2 -- ___ Andrea Borruso website:

Re: [mapserver-users] mapserv cli and run-time substitution

2022-02-05 Thread Steve Lime
H... Looks right to me. Will need to run a test locally and report back. On Sat, Feb 5, 2022 at 11:14 AM andy wrote: > Hi, > I have this map file [1] in which I use this simple class expression > "EXPRESSION ([year] < 1976)". > Starting from it, I'm able to create the png output I want,

[mapserver-users] mapserv cli and run-time substitution

2022-02-05 Thread andy
Hi, I have this map file [1] in which I use this simple class expression "EXPRESSION ([year] < 1976)". Starting from it, I'm able to create the png output I want, running: mapserv -nh "QUERY_STRING=map=data.map=map" >out.png But if I replace the hard coded year value with '%year%', and then I