Re: [mapserver-users] Remote MapFile

2016-03-21 Thread Basques, Bob (CI-StPaul)
You could possibly make a SLD work with a WMS request, depending on what you need the mapfile to do. bobb On Mar 21, 2016, at 5:50 AM, Marco Afonso mailto:mafonso...@gmail.com>> wrote: Hi all, It is possible to get a remote mapfile instead from a local path in the cgi-variable? For exampl

Re: [mapserver-users] Remote MapFile

2016-03-21 Thread Jeff McKenna
Hi Marco, As Thomas mentioned, you'll have to use a different way. If you're using MS4W you can use PHP MapScript to pass your mapfile to your PHP script, and then use CURL commands (already included as a PHP extension in MS4W) to download the remote mapfile locally to your server. Somethin

Re: [mapserver-users] Remote MapFile

2016-03-21 Thread thomas bonfort
Marco, That is not possible. -- thomas On 21 March 2016 at 11:50, Marco Afonso wrote: > Hi all, > > It is possible to get a remote mapfile instead from a local path in the > cgi-variable? > > For example, instead of: > http://localhost:8081/cgi-bin/mapserv.exe?map=/local/path/mymap.map > > Some

[mapserver-users] Remote MapFile

2016-03-21 Thread Marco Afonso
Hi all, It is possible to get a remote mapfile instead from a local path in the cgi-variable? For example, instead of: http://localhost:8081/cgi-bin/mapserv.exe?map=/local/path/mymap.map Something like: http://localhost:8081/cgi-bin/mapserv.exe?map=http://remotemachine/mymap.map Thank you! --