78 Commits

Author SHA1 Message Date
wonder
c2d0a40061 Renamed delete hole tool to delete ring per suggestion by Borys.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10705 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-02 19:38:46 +00:00
wonder
cbc57dcb27 New vector editing tools:
- delete part of multipart feature
- delete hole from polygon
- simplify feature

These tools are in the new "advanced" editing toolbar.
Contributed by Richard Kostecky (qgis-mapper project).


git-svn-id: http://svn.osgeo.org/qgis/trunk@10700 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-02 15:37:35 +00:00
cfarmer
1e7c7e86f2 adds both simplify and centroid to qgsgeometry -> these will be used by the qgsanalysis branch
git-svn-id: http://svn.osgeo.org/qgis/trunk@10392 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-21 21:53:52 +00:00
wonder
3ac50201b5 QgsGeometry::asCollection works also for single-part geometries
git-svn-id: http://svn.osgeo.org/qgis/trunk@10034 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-27 12:44:59 +00:00
wonder
55d52f76ff implemented QgsGeometry::asGeometryCollection()
git-svn-id: http://svn.osgeo.org/qgis/trunk@10026 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-26 22:04:12 +00:00
wonder
acd3a32c1f typedef for size_t changed to be defined outside classes.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9629 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-12 19:54:21 +00:00
timlinux
b40ceb2d62 API cleanups for QgsRect that got overlooked...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9605 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-09 00:14:12 +00:00
wonder
85122d1737 combine() must have /Factory/ annotation!
git-svn-id: http://svn.osgeo.org/qgis/trunk@9525 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-23 12:42:22 +00:00
timlinux
6c7bd3b1a2 Use 'combine' instead of 'Union' in order to preserve coding style rules (methods should be lower case). Union cant be used in lower case since it is a reserved c++ word
git-svn-id: http://svn.osgeo.org/qgis/trunk@9521 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-23 06:54:12 +00:00
timlinux
394993ea8f API cleanups for qgsgeometry
git-svn-id: http://svn.osgeo.org/qgis/trunk@9515 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-22 07:31:05 +00:00
timlinux
1ca4f2365b More api cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk@9495 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-19 19:20:42 +00:00
jef
8094f1d4c6 hackfest commit from timlinux:
- more API cleanups
- single click (instead of drag) to select a feature (fixes #1154)
- fixes for topological editing


git-svn-id: http://svn.osgeo.org/qgis/trunk@9471 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-10 20:02:22 +00:00
wonder
d6cd10c5a6 Corrected python version of QgsGeometry.wkbBuffer()
git-svn-id: http://svn.osgeo.org/qgis/trunk@9466 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-09 14:28:49 +00:00
mhugent
6506e6d176 Fix for problem where splitting was slow for large polygons and with topological editing enabled (bug #1161)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9351 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-19 06:54:12 +00:00
timlinux
3aa9ebcc0b Updates to api docs and some api consistency cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk@9213 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-30 09:28:54 +00:00
wonder
35f10e1cfc Applied patch of Stefanie Tellex, fixes QgsGeometry::setWkbGeometry() in Python
Thanks!


git-svn-id: http://svn.osgeo.org/qgis/trunk@8580 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-03 14:15:34 +00:00
mhugent
c39d6a90ce Added fromMultiPoint method to QgsGeometry
git-svn-id: http://svn.osgeo.org/qgis/trunk@8041 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-25 07:03:59 +00:00
wonder
6a9636f602 - added methods which were forgotten: fromMultiPolyline(), fromMulyPolygon()
git-svn-id: http://svn.osgeo.org/qgis/trunk@7996 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-17 18:59:29 +00:00
wonder
d011ea483f - renamed QgsGeometry::difference to QgsGeometry::makeDifference
- more geoprocessing in QgsGeometry: convexHull, intersection, Union, difference, symDifference


git-svn-id: http://svn.osgeo.org/qgis/trunk@7994 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-17 18:20:52 +00:00
wonder
be72a7a663 Added QgsGeometry::buffer() function that returns buffer around the geometry.
git-svn-id: http://svn.osgeo.org/qgis/trunk@7986 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-16 22:39:57 +00:00
wonder
5e7c63fe84 Moved all conversions between c++ templates and python objects to one file.
git-svn-id: http://svn.osgeo.org/qgis/trunk@7894 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 22:27:28 +00:00
wonder
3264ac5289 Fixes compilation of bindings, added wrapper for QgsSnapper.
git-svn-id: http://svn.osgeo.org/qgis/trunk@7893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 21:54:36 +00:00
mhugent
61ecb55810 Merge of advanced editing branch is now done
git-svn-id: http://svn.osgeo.org/qgis/trunk@7886 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 16:54:55 +00:00
mhugent
9eba4b0c31 first part of advanced editing branch merge
git-svn-id: http://svn.osgeo.org/qgis/trunk@7880 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 14:40:21 +00:00
wonder
05131b14ea Fixed QgsGeometry::fromPolygon:
- fixed creation of outer ring, added creation of holes
- fixed Python binding for QgsPolygon type


git-svn-id: http://svn.osgeo.org/qgis/trunk@6974 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-06-02 01:24:38 +00:00
wonder
5a4d23ff80 - more sane function prototypes for searching for closest vertex/segment
- fixed some problems in python bindings


git-svn-id: http://svn.osgeo.org/qgis/trunk@6896 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-18 21:08:55 +00:00
wonder
1ac580270f Merged provider0_9-branch (r6844:6878) back to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6879 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-11 11:46:35 +00:00
wonder
46a2d125a2 Merged refactoring branch back to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00