[Gdal-dev] WCS Driver problem
Frédéric Trastour
support at geoimage.fr
Mon Nov 20 07:47:25 EST 2006
Hello,
I have noticed the following problem with the WCS driver :
Input file (test1.xml) :
<WCS_GDAL>
<ServiceURL>http://laits.gmu.edu/cgi-bin/NWGISS/NWGISS?</ServiceURL>
<CoverageName>/export/home0/GeoData/AIRDAS-CA-Fire-2003NOV/CEDAR_LINE1SCFM_UTM_3B_2.hdf:Grid:GeoTIFFGrid:G</CoverageName
>
</WCS_GDAL>
Command :
gdalinfo test1.xml
The generated request is :
http://laits.gmu.edu/cgi-bin/NWGISS/NWGISS?SERVICE=WCS&VERSION=1.0.0
&REQUEST=GetCoverage&COVERAGE=/export/home0/GeoData/AIRDAS-CA-Fire-2003NOV/CEDAR_LINE1SCFM_UTM_3B_2.hdf:Grid:GeoTIFFGrid
:G
&FORMAT=GeoTIFF
&BBOX=505516,3.64845e+006,505528,3.64847e+006
&WIDTH=2&HEIGHT=2&CRS=EPSG:32611
It seems that the server fails to interpret the BBOX arguments when the 'scientific' notation is used.
If I replace the concerned values 3.64845e+006 and 3.64847e+006 with the corresponding plain
numbers, it works.
I don't know if the server should be able to interpret this notation...
Perhaps you should envisage to used %f instead of %g in the related printf statements.
Best regards,
Frédéric.
_________________________________________________________________
Frédéric Trastour - SpacEyes - dev at spaceyes.fr
More information about the Gdal-dev
mailing list