Nyall Dawson
e05246d754
Const correctness for QgsGeometry methods
2015-05-04 21:00:23 +10:00
Juergen E. Fischer
f17755cec4
indentation update
2015-03-19 22:58:11 +01:00
Nyall Dawson
5c14c21b1d
Implement smoothing algorithm for geometries
2015-03-19 23:26:59 +11:00
Nyall Dawson
7882fe2f25
Add methods for comparison of QgsPoint, QgsPolyline and QgsPolygon
...
These methods allow for fuzzy comparison of coordinates with a
specified tolerance.
2015-03-19 19:48:57 +11:00
Matthias Kuhn
edd8a375ab
Fix a const...
2015-02-25 21:15:15 +01:00
Juergen E. Fischer
abd4a04399
sip update
2015-02-03 02:21:52 +01:00
Sandro Santilli
e2e47d71c6
Add rotate and transform(QTransform) methods to QgsGeometry
...
Reimplement translate in terms of transform(QTransform).
Includes new unit test for rotate() and translate() methods.
Includes sip bindings update.
2015-01-09 12:37:00 +01:00
Juergen E. Fischer
9ceb5ceab6
sip sync
2014-11-21 01:17:21 +01:00
Nyall Dawson
878230a1db
Add methods to QgsGeometry to convert to/from QPointF and QPolygonF
2014-11-06 17:29:15 +11:00
Juergen E. Fischer
eda723cd3b
fix typo
2014-11-04 11:48:24 +01:00
rldhont
324826e6d3
Bug #9797 Add a precision setting for GetFeatureInfo geometry attributes
...
Add precision to QgsGeometry method exportToWKT and use it in GetFeatureInfo
2014-08-22 13:45:52 +02:00
rldhont
75f596849c
Bug #10974 QGIS WFS Server provides too much precision
...
In the GetFeature request QGIS WFS Server uses the static method: QgsDoubleToString. This method returns double with a precision fixed to 17.
We do not need that much precision for coordinates. Firstly because we are not able to measure a position on earth with a lower micron precision. Secondly because it unnecessarily overload response.
I propose to add the ability to specify the precision in the QgsDoubleToString method.
2014-08-22 13:45:31 +02:00
Martin Dobias
ed1d08d435
Fix #10605 (round corners when using simple line with offset)
2014-06-17 16:46:58 +07:00
Martin Dobias
9d8a84247d
Merge pull request #1451 from ahuarte47/Issue_OffsetCurve_API
...
Replace GEOS function calls by QgsGeometry class methods
2014-06-15 22:43:12 +07:00
Juergen E. Fischer
b6d8331429
fix windows build
2014-06-13 16:41:00 +02:00
Alvaro Huarte
aaf4ca3821
Replace GEOS function calls by QgsGeometry class methods
2014-06-13 10:58:55 +02:00
Hugo Mercier
b2782ee7a1
Inverted polygons: use unary union
2014-06-10 14:39:02 +02:00
ahuarte47
59427e226b
#9480 : Add /Factory/ to pointOnSurface() method
2014-05-27 13:39:30 +02:00
ahuarte47
cbee3d35ff
#9480 : New 'pointOnSurface' method for QgsGeometry
2014-05-27 13:39:28 +02:00
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
Jürgen 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