59 Commits

Author SHA1 Message Date
Denis Rouzaud
643e59a23d copy/paste: try to convert geometries 2014-02-28 13:22:39 +01:00
Juergen E. Fischer
bc757ffe50 * fix QgsGeometry::moveVertex for multipolygons()
* add test for QgsGeometry::addPart()
* remove expectedFailure decoration from PyQgsGeometry.testSimplifyIssue4189
* modify move and translate tests by 1,1 to 1,2
2014-01-29 21:36:50 +01:00
Juergen E. Fischer
d4e369414b update sip bindings 2014-01-26 18:36:29 +01:00
Juergen E. Fischer
cb5c4e9982 add QgsDistanceArea tests and enhance QgsGeometry tests a bit
(in preparation for a QgsGeometry wkb update)
2014-01-23 21:37:03 +01:00
Juergen E. Fischer
a9d8bd1e5b update sip some bindings 2014-01-18 23:05:32 +01:00
Juergen E. Fischer
0a1d44fc63 make qgis_app a shared library and fix some more stl warnings with msvc 2013-09-07 00:22:10 +02:00
Juergen E. Fischer
c1f8230acc followup 55135d600 2013-06-25 16:04:47 +02:00
Juergen E. Fischer
f1e2fcebdc more interface fixes (missing GUI_EXPORT and sip) 2013-06-24 11:04:24 +02:00
Juergen E. Fischer
3854086d47 sip update 2013-06-23 16:00:24 +02:00
Martin Dobias
969df016bc Moved GML import/export to a new class: QgsOgcUtils 2013-03-08 00:31:46 +01:00
Martin Dobias
d628c2c742 Improved support for parsing of GML2, added some autotests 2013-03-06 01:26:26 +01:00
Alexander Bruy
5e45a22d06 remove deprecated methods from API 2012-12-23 10:40:23 +02:00
Larry Shaffer
332ce329af Fix #6505, set typedef for Mac size_t in bindings 2012-10-22 17:30:16 -06:00
Juergen E. Fischer
f3cb57b1eb SIP bindings update:
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
  same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
  missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00
Juergen E. Fischer
2d9115fa56 - GEOSInterpolate only available in GEOS>=3.2
- sync QgsGeometry sip bindings with C++
2012-08-01 08:48:10 +02:00
Radim Blazek
bc591f580b typo 2012-07-29 16:43:50 +02:00
Nathan Woodrow
e8bbc2de71 Add interoplate to QgsGeometry 2012-07-29 23:02:48 +10:00
Jrgen E. Fischer
dcc723c067 some more svn to git migration updates/fixes 2011-05-06 16:39:45 +02:00
jef
7f2b541326 fix r14462
git-svn-id: http://svn.osgeo.org/qgis/trunk@14465 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-10-31 17:56:42 +00:00
jef
4ab1c8f600 add python bindings to QgsGeometry::validateGeometry
git-svn-id: http://svn.osgeo.org/qgis/trunk@14462 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-10-31 16:41:54 +00:00
jef
c410f69bf9 add length() and area() methods to QgsGeometry
and use it in labeling and zonal statistics


git-svn-id: http://svn.osgeo.org/qgis/trunk@13588 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-29 11:03:30 +00:00
jef
7e2a10126f missed python binding to additional GEOS operators
git-svn-id: http://svn.osgeo.org/qgis/trunk@13372 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-24 19:08:49 +00:00
wonder
24b1c0b14e Added missing QgsGeometry::contains predicate.
Contributed by Jeremy Palmer (#2560).


git-svn-id: http://svn.osgeo.org/qgis/trunk@13065 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-17 09:25:55 +00:00
wonder
cff9617279 PyQGIS: Fixed splitGeometry() method
git-svn-id: http://svn.osgeo.org/qgis/trunk@12992 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-02 20:54:28 +00:00
jef
553e4d233d [FEATURE] add validation to capture tool
git-svn-id: http://svn.osgeo.org/qgis/trunk@12830 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-24 16:07:55 +00:00
jef
c0da2c6e8f move QgsMapToolFeature::avoidIntersections to QgsGeometry
git-svn-id: http://svn.osgeo.org/qgis/trunk@12700 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-07 20:30:25 +00:00
jef
cbf1a50bd6 fix common typos
git-svn-id: http://svn.osgeo.org/qgis/trunk@12528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-20 12:29:07 +00:00
mhugent
25264aa14e Fix for merge of adjacent multipolygons, ticket #2188
git-svn-id: http://svn.osgeo.org/qgis/trunk@12327 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-03 16:26:57 +00:00
jef
0dee825fa2 include QgsGeometry::transform() in python bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@12322 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-03 13:45:46 +00:00
mhugent
20591bac19 [FEATURE] A reshape tool to apply to line/polygon geometries. The part of a geometry between the first and last intersection of the reshape line will be replaced
git-svn-id: http://svn.osgeo.org/qgis/trunk@11500 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-08-25 19:54:28 +00:00
wonder
1e6882ada9 Fixed documentation of QgsGeometry::asMulti*() functions
git-svn-id: http://svn.osgeo.org/qgis/trunk@10836 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-22 10:58:55 +00:00
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