[OWSLib-users] Use the WMTS with Specified Bounds
Noah Taylor
haonrolyat at gmail.com
Sat Oct 18 17:05:51 PDT 2014
Hello,
Is it possible to call tiles via the OWSLib WMTS with a bounding box? I see
in the example the user can specify the tile numbers in the example that is
provided below but I couldn't find how I could specify a bounding box so
that I can call all the tiles that are associated the highest zoom level so
that I can compose a web image of high resolution. Thanks for your time
-Noah
>>> tile = wmts.gettile(layer='MODIS_Terra_CorrectedReflectance_TrueColor', tilematrixset='EPSG4326_250m', tilematrix='0', row=0, column=0, format="image/jpeg")>>> out = open(scratch_file('nasa_modis_terra_truecolour.jpg'), 'wb')>>> out.write(tile.read())>>> out.close()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/owslib-users/attachments/20141018/9f17e580/attachment.html>
More information about the OWSLib-users
mailing list