[GRASS-dev] improving v.in.wms
Hamish
hamish_b at yahoo.com
Fri Sep 14 00:06:41 PDT 2012
Hi,
I was thinking about improving v.in.wfs which is currently fairly expert-
mode only. My motivation for this is that all of our NZ national base topo
data is now available as WFS, free & CC-By. (scans of all the paper topo
maps in WMS too. go team!)
the new r.in.wms takes advantage of GDAL's WMS driver.
Probably v.in.wfs could do the same with the OGR equivalent,
http://gdal.org/ogr/drv_wfs.html
but to me OWSLib looks like it has much more python goodness in it,
http://pypi.python.org/pypi/OWSLib
(BSD licensed)
It's an extra dep., but "list(wms.contents)" to get a list of layers is
pretty hard to beat, and using something already written is preferable to
putting our energy into reinventing the wheel.
what do you think?
thanks,
Hamish
More information about the grass-dev
mailing list