[OWSLib-users] (no subject)

Gianluca Massei agr.gianluca.massei at gmail.com
Tue Jan 1 13:52:25 PST 2013


I'm using owslib for study purposes and i'm finding this tool very useful.
I've a question:
in my exercises, I've  handled the WMS service inside the follow piece of
code:
from owslib.wms import WebMapService
wms = WebMapService('
http://neowms.sci.gsfc.nasa.gov/wms/wms?layers=MYDAL2_D_AER_OD',
version='1.1.1')
print wms['MYDAL2_D_AER_OD'].styles
print [op.name for op in wms.operations]
img = wms.getmap(   layers=['MYDAL2_D_AER_OD'],
                     styles=['rgb'],
                     srs='EPSG:4326',
                     bbox=(5, 34, 20, 48),
                     size=(1200, 1200),
                     format='image/jpeg',
                     transparent=False
                     )
out = open('jpl_mosaic_visb.jpg', 'wb')
out.write(img.read())
out.close()

I need to know the acquisition date of MYDAL2_D_AER_OD from the xml file.
Can I do that with OWSLib

Thanks in advance

Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/owslib-users/attachments/20130101/6c196c42/attachment.html>


More information about the OWSLib-users mailing list