[GRASS-user] wms trouble

Martin Album Ytre-Eide wrote:

akl_srtm__0.geotiff' not recognised as a supported file format.

ERROR: r.in.gdalwarp: gdalwarp failure.
ERROR: r.in.gdalwarp failed

find the akl_srtm__0.geotiff file in you filesystem (probably
in $LOCATION/wms_download/ or so) and look inside it. It probably
contains the text of an error message instead of a tiff image.

I have not yet figured a reliable cross platform way for it to
detect that, unfortunately each wms server handles errors in their
own way, so it is not that easy to test for. (sometimes it is
even a graphics image which says "error" on the tile)

if the "akl" you seek is in the south pacific, I may be able
to help with alternate sources of the data. (guessing from
airport codes)

Hamish

Thank you for replying. Unfortunatly the file was emty......

I am doing this as a test, because I got this error in the first place. If you know a tutorial or a wms I could test - I think that would be a good way to start.

My overal goal is to get wms to work in grass.

Martin

________________________________________
Fra: Hamish [hamish_b@yahoo.com]
Sendt: 25. april 2012 13:49
To: grass-user@lists.osgeo.org; Martin Album Ytre-Eide
Emne: Re: [GRASS-user] wms trouble

Martin Album Ytre-Eide wrote:

akl_srtm__0.geotiff' not recognised as a supported file format.

ERROR: r.in.gdalwarp: gdalwarp failure.
ERROR: r.in.gdalwarp failed

find the akl_srtm__0.geotiff file in you filesystem (probably
in $LOCATION/wms_download/ or so) and look inside it. It probably
contains the text of an error message instead of a tiff image.

I have not yet figured a reliable cross platform way for it to
detect that, unfortunately each wms server handles errors in their
own way, so it is not that easy to test for. (sometimes it is
even a graphics image which says "error" on the tile)

if the "akl" you seek is in the south pacific, I may be able
to help with alternate sources of the data. (guessing from
airport codes)

Hamish

Just a small correction - every WMS service provider must support
EXCEPTION=XML as a request parameter and return a XML document in case
of an error (see i.e. WMS 1.3.0 7.3.3.11). Every WMS client
implementation just playing with parameters without parsing XML is
doomed to fail (sooner or later).

Just my 0.02,
Maris.

2012. gada 25. aprīlis 14:49 Hamish <hamish_b@yahoo.com> rakstīja:

Martin Album Ytre-Eide wrote:

akl_srtm__0.geotiff' not recognised as a supported file format.

ERROR: r.in.gdalwarp: gdalwarp failure.
ERROR: r.in.gdalwarp failed

find the akl_srtm__0.geotiff file in you filesystem (probably
in $LOCATION/wms_download/ or so) and look inside it. It probably
contains the text of an error message instead of a tiff image.

I have not yet figured a reliable cross platform way for it to
detect that, unfortunately each wms server handles errors in their
own way, so it is not that easy to test for. (sometimes it is
even a graphics image which says "error" on the tile)

if the "akl" you seek is in the south pacific, I may be able
to help with alternate sources of the data. (guessing from
airport codes)

Hamish
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user