Re: [mapserver-users] dynamic ows_serviceurl

2022-04-13 Thread Jeff McKenna
This is exactly why PHP MapScript has been so popular for so long ("wrappers" of OGC services) and why so many examples of this exists in the MapServer documentation. Honestly though, someday I also hope for a more direct way to handle these dynamic changes, but until then, #mapscriptrocks :)

Re: [mapserver-users] dynamic ows_serviceurl

2022-04-13 Thread Paul via MapServer-users
Thanx for the suggestions Kaido, Seth, Steve. Updating the mapfile at deployment indeed is a better option then the querystring approach, let me verify what scripting options (sed?) i have on our docker image.  ___ MapServer-users mailing list

Re: [mapserver-users] dynamic ows_serviceurl

2022-04-13 Thread Kaido Irdt
Hi Paul, We are using basically the same process as Seth and Steve mentioned. We are building map files per environment and per node using Chef. Basically we parameterized the .map file and fill in parameters for every node when we deploy. And because we have multiple map files for different

Re: [mapserver-users] dynamic ows_serviceurl

2022-04-13 Thread Seth G
Hi Paul, The runtime substitution and setting a querystring on the server is a good approach - have you found any drawbacks to this? Most web servers can set/add querystrings without any need for further software. As Steve mentioned the alternative would be to generate Mapfiles for specific