Hi Joaquim,
FYI your curl command will work if you update the URL to what is in
the HTML file message (looks like it was moved to HTTPS instead of
HTTP).
I understand it's not what you want in the end, just thought I'd point
it out in case it's useful for troubleshooting.
Quoting [email protected]:
Tanks again Momtchil. Your example works indeed … but not with my layer
curl
http://svs.gsfc.nasa.gov/cgi-bin/wms?SERVICE=WMS&LAYERS=3140_21200&CRS=CRS:84&FORMAT=image/png&TRANSPARENT=FALSE&HEIGHT=512&BGCOLOR=&REQUEST=GetMap&WIDTH=2048&BBOX=-50.2,69.11,-49.6,69.26> &STYLES=&VERSION=1.3.0 --output
raw.png
the output is an html file saying
<p>The document has moved <a
href=https://svs.gsfc.nasa.gov/cgi-bin/wms?SERVICE=WMS&LAYERS=3140_21200&CRS=CRS:84&FORMAT=image/png&TRANSPARENT=FALSE&HEIGHT=512&BGCOLOR=&REQUEST=GetMap&WIDTH=2048&BBOX=-50.2,69.11,-49.6,69.26&STYLES=&VERSION=1.3.0>here</a>.</p>
</body></html>
Anyway, the curl solution is of little interest for me because I
don’t know how to programmatically select it instead of using
gdal_translate."
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev