Salvatore Larosa
70687729cf
[pyqgis-console] APIs file update
2015-10-23 09:44:56 +02:00
Juergen E. Fischer
b65b59596a
make python error handling translatable
2015-10-23 08:29:46 +02:00
Nathan Woodrow
18df00375e
Use front window to show python error if there is message bar
2015-10-23 09:36:07 +10:00
Juergen E. Fischer
bf64f8d0a0
spelling fixes and indentation update
2015-10-22 21:56:54 +02:00
Giuseppe Sucameli
339fd75655
DBManager: merge PR2342 by medspx ( fix #13650 )
2015-10-22 21:28:02 +02:00
Giuseppe Sucameli
9419a44537
DBManager: revert commit 87675f8ab
...
Maybe I was drunk...
2015-10-22 21:17:56 +02:00
Giuseppe Sucameli
87657f8ab4
DBManager: fix #13650
2015-10-22 19:27:33 +02:00
Giuseppe Sucameli
2a57b17068
DBManager: avoid loading a query as layer with missing fields ( fix #11037 ),
...
restore combo style and label when multiple unique fields for view are not supported (follow 8e45da9d7e)
2015-10-22 19:23:42 +02:00
Giuseppe Sucameli
ef8f3d3843
Merge pull request #2382 from SebDieBln/MultiColumnPK_DbManagerQuery
...
[DB_Manager] allows to specify multiple columns as the primary for a query to PostGIS (follow a4124da)
2015-10-22 19:21:39 +02:00
volaya
f5b0dbe902
[processing] allow translating algorithm dialog title
...
fixes #13652
2015-10-22 16:50:05 +02:00
DelazJ
f7f8d7e497
Restore "Add result to canvas" option as default
...
fixes #13647
2015-10-22 10:32:38 +02:00
Matthias Kuhn
457c76d964
[sip] QgsMapCanvasSnappingUtils
2015-10-22 10:32:05 +02:00
Matthias Kuhn
ef2528bf02
Allow usage of QgsMapToolAdvancedDigitizing from python code
2015-10-22 10:32:05 +02:00
Juergen E. Fischer
0559939725
partly revert 3e0badc ( fixes #13645 and #13646 )
2015-10-22 01:14:42 +02:00
volaya
603c2767aa
Merge pull request #2372 from om-henners/ogrsql_fix
...
Fix ogrsql path quoting
2015-10-20 19:28:55 +02:00
arnaud.morvan@camptocamp.com
3bc11b1947
Revert crs.ImportFromProj4(unicode(...)) to crs.ImportFromProj4(str(...))
2015-10-20 17:19:27 +02:00
Anita Graser
b20d316692
changed to descriptive name
...
as suggested in https://hub.qgis.org/issues/9868
2015-10-20 14:27:01 +02:00
Bernhard Ströbl
64bf3a80b2
[PROCESSING] Undo recent changes to Dissolve
2015-10-20 09:23:12 +02:00
volaya
f2c7522649
[processing] added descriptions for SAGA 2.2.2
...
This does not fix the issue with 2.2.2, but will allow fixing alg syntaxes
2015-10-20 08:07:24 +02:00
Juergen E. Fischer
4cdf05f90f
fix typo
2015-10-19 23:54:01 +02:00
Matthias Kuhn
1132867622
Make cadDockWidget available in python
...
Followup efcbbfd
2015-10-19 17:47:54 +02:00
Sebastian Dietrich
8e45da9d7e
db_manager allows multiple column primary keys only for PostGIS queries, not for SpatiaLite.
2015-10-18 18:10:01 +02:00
Sebastian Dietrich
974e60c36e
Merge branch 'master' into MultiColumnPK_DbManagerQuery
2015-10-18 13:58:36 +02:00
Nyall Dawson
5f1bb6cf1f
Geometry fixes:
...
- when creating geometry from WKT, upgrade dimensionality of geometry
if coordinates are 3/4 dimensional
- match dimensionality of collections to child dimensionality
- fix area of curves was non-zero if curve is closed
- don't consider m values when testing for curve closedness
- add unit tests for closedness
- add unit tests for CircularStrings, CompoundCurves, CurvePolygon,
tests with geometries with Z/M values
2015-10-18 21:03:15 +11:00
Juergen E. Fischer
cc9c789760
avoid on duplicate user functions ( fixes #13579 )
2015-10-18 00:27:28 +02:00
Juergen E. Fischer
3e0badcb55
Fix sip conversion from QgsFields to QList<QgsField> ( fixes #9208 )
2015-10-17 22:03:03 +02:00
Sebastian Dietrich
d8deb8c081
Db_Manager keeps the selected columns for primary key and geometry when running the query or rereading the columns if the selected columns still exist.
2015-10-17 16:43:54 +02:00
Sebastian Dietrich
724a5bda9a
Db_Manager now allows to select multiple columnns as the primary key for a query.
2015-10-17 16:15:21 +02:00
Nyall Dawson
8c5f3f88a9
[geometry] Fix calculation of length/perimeter for collections
...
Split length from perimeter calculation in geometry API, as
returning perimeter for length for polygons is misleading and
results in incorrect length/perimeter calculations for mixed
geometry collections.
Enable length & perimeter unit tests against reference geometries.
Now the length & perimeter values match those calculated by
PostGIS.
2015-10-17 15:40:36 +11:00
Nyall Dawson
fab5a32d9a
Fix geometry casting in python bindings (missing MultiLineString and
...
GeometryCollection casts)
2015-10-17 15:02:11 +11:00
Sebastian Dietrich
20283a4dfc
Unified the way the column comboboxes are filled when executing the query and when pressing the load columns button.
2015-10-17 02:19:41 +02:00
volaya
545a90de8f
[processing] fixed scrolling to anchor in help pages
...
fixes #13506
2015-10-16 14:00:13 +02:00
Nyall Dawson
2e1d2d1862
Fix calculation of area/length of mixed geometry collections
2015-10-16 21:38:13 +11:00
Nyall Dawson
55c27ce710
Add some extra unit tests for geometry:
...
- Add some tests for conversion to/from WKT, using a bulk lot of testsdata
from PostGIS
- Add some tests for area/length calculation, using some test data and
results from PostGIS/geos unit tests
- Add tests for spatial relations, using test data from PostGIS. Note
that this required adding support for calculating the DE-9IM relation. I'll
expose this to users via the expression engine in 2.14.
Along the way this also fixes a number of bugs relating to WKT geometry
import, such as
- add support for alternate MultiPoint(1 1,2 2,...) format
- fix GeometryCollection to support collections with multi* children
and GeometryCollection children (allowed by spec)
2015-10-16 17:46:06 +11:00
Nyall Dawson
34dc314345
Fix exporting geometry collections to WKT
...
Child types were incorrectly being dropped when the collection
consisted of mixed geometry types (eg line & polygon) (refs #13608 )
2015-10-16 07:48:42 +11:00
Giovanni Manghi
ec3fb23afb
fix saga 2.2.0 flow accumulaiton modules (ex catchment areas). Files added.
2015-10-15 17:19:26 +01:00
Giovanni Manghi
2bf1e6870c
fix saga 2.2.0 flow accumulaiton modules (ex catchment areas)
2015-10-15 17:19:03 +01:00
Nyall Dawson
5654eeca55
Fix area calculation when OTF active and no ellipsoid ( fix #13601 )
2015-10-15 17:51:07 +11:00
Nyall Dawson
5ed3d1b73f
Use QString::arg multi argument method to avoid extra heap allocations
2015-10-15 17:51:06 +11:00
Henry Walshaw
48aeb8c03c
Fix ogrsql path quoting
...
Fix the ogrsql path quoting which left the extra quotes around the input layer path
Signed-off-by: Henry Walshaw <henry.walshaw@gmail.com>
2015-10-15 09:32:34 +11:00
volaya
2f9db5adef
[processing] fixed handling output html files in grass 7
2015-10-14 13:24:16 +02:00
volaya
70bc957439
[processing] do not assume singleton Processing when defining temp folder
...
fixes #13588
2015-10-14 13:14:02 +02:00
volaya
5ca556670a
[processing] do not write CRS file if output is not a layer
...
fixes #13590
2015-10-14 13:14:01 +02:00
Paolo Cavallini
c41852649c
Merge pull request #2369 from neteler/patch-73
...
Update to GRASS GIS 7.0.x
2015-10-14 07:19:05 +02:00
Paolo Cavallini
52c50673f7
Merge pull request #2370 from neteler/patch-72
...
Update to GRASS GIS 7.0.x
2015-10-14 07:17:43 +02:00
Nyall Dawson
a333fc8248
Add method to geometries for adding z/m dimension, initialized
...
to a specified value
2015-10-14 08:39:05 +11:00
Nyall Dawson
665379645f
Add method to QgsWKBTypes to add z/m dimension to a wkb type
...
Also add some unit tests for QgsWKBTypes
2015-10-14 08:39:05 +11:00
Juergen E. Fischer
53c507d3a7
db manager: add credentials to postgis rasters ( fixes #13594 )
2015-10-13 22:54:01 +02:00
Markus Neteler
cfdf5cf609
Update to GRASS GIS 7.0.x
2015-10-13 22:12:59 +02:00
Markus Neteler
47565a949f
Update to GRASS GIS 7.0.x
2015-10-13 22:12:54 +02:00