Hi Dominic,
about the other problem, in the getCoverage call you asked a BBOX in
crs=32633 but the BBOX was expressed in crs=4326

> make get coverage request:
> 
> u=wcs.getCoverage(identifier='irpi:collazzone_2004', bbox=
> (12.7, 42.5, 13, 43) , crs='EPSG:32633', format='PNG', width=100,
> height=100)
> 
> u.read()
> 
> 
> Then you get a geoserver exception:
> '<?xml version="1.0" encoding="UTF-8"?><ServiceExceptionReport
> version="1.2.0" xmlns="http://www.opengis.net/ogc";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://www.opengis.net/ogc 
> http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd";>   <ServiceException 
> code="problem with CoverageResults">\n      
> org.vfny.geoserver.wcs.WcsException: The Intersection is null. Check the 
> requested BBOX!\nThe Intersection is null. Check the requested 
> BBOX!\n</ServiceException></ServiceExceptionReport>'
> 
> 
> This error response seems odd as the bounding box I requested is
> within your bounds...


in fact the exception is:
"The Intersection is null"

I have just added the support for 4326 to the coverage:
______________
from owslib.wcs import WebCoverageService
wcs =
WebCoverageService('http://geoserver.irpi.cnr.it/geoserver/wcs',version='1.0.0')
wcs.contents 
cvg=wcs['irpi:collazzone_2004']

cvg.supportedCRS
['EPSG:32633', '', 'EPSG:4326', '', '']
_____________


but now, when I make the getCoverage call:

_______________
u=wcs.getCoverage(identifier='irpi:collazzone_2004', bbox=
(12.7, 42.5, 13, 43) , crs='EPSG:4326', format='PNG', width=100,
height=100)

u.read()
<?xml version="1.0" encoding="UTF-8"?><ServiceExceptionReport
version="1.2.0" xmlns="http://www.opengis.net/ogc";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.opengis.net/ogc
http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd";>
<ServiceException code="problem with CoverageResults">\n
org.vfny.geoserver.wcs.WcsException: This Coverage does not support the
requested Response-CRS.\nThis Coverage does not support the requested
Response-CRS.\n</ServiceException></ServiceExceptionReport>'
_______________


the error is:
"This Coverage does not support the requested Response-CRS"

but cvg.supportedCRS said the opposite!!!!  :-(

whats the problem??

Thanks....

Ivan



-- 
Ti prego di cercare di non inviarmi files .dwg, .doc, .xls, .ppt.
Preferisco formati liberi.
Please try to avoid to send me .dwg, .doc, .xls, .ppt files.
I prefer free formats.
http://it.wikipedia.org/wiki/Formato_aperto
http://en.wikipedia.org/wiki/Open_format

Ivan Marchesini
Perugia (Italy)
Socio fondatore GFOSS "Geospatial Free and Open Source Software" 
http://www.gfoss.it
e-mail: [email protected]
        [email protected]
fax (home): +39(0)5782830887
jabber: [email protected]
skype: geoivan73

Attachment: signature.asc
Description: Questa รจ una parte del messaggio firmata digitalmente

_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to