[ZOO-Discuss] GIS GRASS ZOO integration
Eugenio Realini
eugenio.realini at gmail.com
Fri Oct 22 03:39:01 PDT 2010
Hi Soeren,
2010/10/22 Soeren Gebbert <soerengebbert at googlemail.com>:
> You can set up a WCS service using the geoserver WCS server and pass a
> WCS service request as input URL.
We disabled the removal of the temporary file (map_0) that GDAL tries
to load, and checked what it contained in three different cases:
1) direct call of a local file (in cgi-bin folder):
http://131.175.143.108/cgi-bin/zoo_loader.cgi?Service=WPS&Request=Execute&Version=1.0.0&Identifier=r_univar&DataInputs=map=DTM_108.tif;grass_band_number=1
The file map_0 contains only the name of the file as text (without
quotes): "DTM_108.tif"
2) URL encoded WCS request (WCS server by MapServer):
http://131.175.143.108/cgi-bin/zoo_loader.cgi?Service=WPS&Request=Execute&Version=1.0.0&Identifier=r_univar&DataInputs=map=Reference@xlink:href=http%3A%2F%2Fows.como.polimi.it%2Fcgi-bin%2Fdtmserver%3FSERVICE%3DWCS%26VERSION%3D1.1.0%26REQUEST%3DGetCoverage%26coverage%3DB4DTM%26CRS%3DEPSG%3A3003%26BBOX%3D1500000.000%2C5070000.000%2C1540000.000%2C5095000.000%26WIDTH%3D800%26HEIGHT%3D500%26FORMAT%3DGTiff;grass_band_number=1
The error is the same, and the file map_0 contains this text:
--wcs
Content-Type: text/xml
Content-ID: wcs.xml
<?xml version="1.0" encoding="UTF-8"?>
<Coverages
xmlns="http://www.opengis.net/wcs/1.1"
xmlns:ows="http://www.opengis.net/ows"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/ows/1.1 ../owsCoverages.xsd">
<Coverage>
<Reference xlink:href="cid:coverage/out.tif"/>
</Coverage>
</Coverages>
--wcs
Content-Type: image/tiff
Content-Description: coverage data
Content-Transfer-Encoding: binary
Content-ID: coverage/out.tif
Content-Disposition: INLINE
II*
3) URL encoded with a direct HTTP link to the file:
http://131.175.143.108/cgi-bin/zoo_loader.cgi?Service=WPS&Request=Execute&Version=1.0.0&Identifier=r_univar&DataInputs=map=Reference@xlink:href=http%3A%2F%2F131.175.143.108%2Ftmp%2Fb4d4.tif;grass_band_number=1
The error is the same, and the file map_0 contains this text (without
quotes): "MM"
Best regards
Eugenio
More information about the Zoo-discuss
mailing list