I think I have solved the problem of getting coverage resolution (by means of your help)... :
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.grid.offsetvectors #I
[['15.0', '0.0'], ['0.0', '-15.0']]
thanks...
Ivan
Il giorno mar
, 24/11/2009 alle 18.03 +0100, ivan marchesini ha scritto:
> Hi Dominic,
> thanks for your answer...
>
> Il giorno mar, 24/11/2009 alle 09.26 +0000, [email protected] ha
> scritto:
> > #look at the coverage properties:
> > cvg.boundingBoxWGS84
> > cvg.timepositions
> > cvg.supportedCRS
> > cvg.supportedFormats
>
> yes.. many thanks.. but what I'm interested on is the resolution of the
> coverage, that in the describeCoverage call
>
> http://geoserver.irpi.cnr.it/geoserver/wcs?version=1.0.0&service=WCS&REQUEST=DescribeCoverage&COVERAGE=irpi:collazzone_2004
>
> is shown inside this part of the xml:
>
> <gml:RectifiedGrid dimension="2">
> <gml:limits>
> <gml:GridEnvelope>
> <gml:low>0 0 </gml:low>
> <gml:high>5358 5136 </gml:high>
> </gml:GridEnvelope>
> </gml:limits>
> <gml:axisName>GRAY_INDEX</gml:axisName>
> <gml:origin>
> <gml:pos>267740.22 4780537.966</gml:pos>
> </gml:origin>
> <gml:offsetVector>15.0 0.0</gml:offsetVector>
> <gml:offsetVector>0.0 -15.0</gml:offsetVector>
> </gml:RectifiedGrid>
>
>
> Ho can I store the resolution values (15) into a variable?
>
> many many 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
signature.asc
Description: Questa รจ una parte del messaggio firmata digitalmente
_______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
