Re: [mapserver-users] Saving an image from a query

2012-10-30 Thread David Quinn
ukka Sent: Tuesday, October 30, 2012 10:37 AM To: 'mapserver-users@lists.osgeo.org' Subject: Re: [mapserver-users] Saving an image from a query Hi, Perhaps wget thinks that certain characters are cutting the URL string. Try wget "http://mysite.com/mapserv.cgi?map=../../mapfiles

Re: [mapserver-users] Saving an image from a query

2012-10-30 Thread Basques, Bob (CI-StPaul)
server- >> users-boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka >> Sent: Tuesday, October 30, 2012 10:37 AM >> To: 'mapserver-users@lists.osgeo.org' >> Subject: Re: [mapserver-users] Saving an image from a query >> >> Hi, >> >> Perh

Re: [mapserver-users] Saving an image from a query

2012-10-30 Thread Rahkonen Jukka
Hi, Perhaps wget thinks that certain characters are cutting the URL string. Try wget "http://mysite.com/mapserv.cgi?map=../../mapfiles/demo.map&layer=land&mode=map&FORMAT=image/png"; -O output.png We have used wget a lot for downloading data from WCS so I guarantee you will make it work by re

Re: [mapserver-users] Saving an image from a query

2012-10-30 Thread Till Adams
Hi David, depending on your environemnt you use for your server you may use any scripting language, when you pass the image-request to a script, e.g. use -php -ruby -python -java ... either of them is offering any method to save images. For simpe php you find some hints and code-examples here:

[mapserver-users] Saving an image from a query

2012-10-30 Thread David Quinn
Hi List, I'm trying to understand how to save an image as a result of a query. One approach that I have experimented with is using `wget` to save the file but I've been getting an error message (I asked a question on this here: http://gis.stackexchange.com/questions/37813/how-to-save-mapserver-ou