[Qgis-user] buffering points and lines using python interface?
perrygeo at gmail.com
Mon Dec 10 13:37:29 EST 2007
On Dec 10, 2007 5:44 AM, Martin Dobias <wonder.sk at gmail.com> wrote:
> For a general solution you could use GEOS - since buffering is not
> currently supported by QGIS (but would be rather easy to add!). I
> think there are several possibilities: using GEOS SWIG bindings or
> using Shapely. I've heard that SWIG bindings are not maintained
> anymore and Shapely depends on PCL. There's also GeoDjango's ctypes
> interface for GOES - I'm not sure whether it's not the same interface
> as in shapely just without dependency on PCL.
Just to clarify, Shapely depends only on a recent version of python
(2.4+), libgeos (which is a dependency of QGIS anyways) and ctypes
(included in python 2.5). It is similar to GeoDjango's ctypes
interface in that respect. I believe that it was intentionally
developed as a separate package to avoid dependency on PCL.
Matthew T. Perry
More information about the Qgis-user