11348 Commits

Author SHA1 Message Date
Nyall Dawson
3734a0d677 Fix tests 2017-11-15 20:51:05 +10:00
Nyall Dawson
75885d70d5 Rename various WKT/WKB/GeoJSON/GML methods for consistency
and consistent capitalisation
2017-11-15 20:51:05 +10:00
Nyall Dawson
95765a191a Remove coordinate formatting methods from QgsPointXY
Use QgsCoordinateFormatter instead
2017-11-15 20:49:45 +10:00
Nyall Dawson
0d7b828bda Update code, formatting 2017-11-15 20:49:45 +10:00
Nyall Dawson
8fd8b6ebf1 Update sip bindings 2017-11-15 20:49:45 +10:00
Nyall Dawson
916c56b937 Initial implementation of QgsCoordinateFormatter 2017-11-15 20:49:45 +10:00
Alessandro Pasotti
0c2e226efe
Merge pull request #5633 from slarosa/fix_17466
Fixes #17466: DB Manager does not refresh correctly map in layer preview
2017-11-15 10:57:02 +01:00
Tim Sutton
364ddc1de4
Fix #17444 : GeoNode data provider completely ignores authentication (#5634)
* Fix #17444 : GeoNode data provider completely ignores authentication - hide the authentication group until GeoNode API supports authentication.
2017-11-15 11:55:25 +02:00
Matthias Kuhn
4df65aca37 Use std::unique_ptr with custom deleter for spatialite and sqlite 2017-11-15 08:51:17 +01:00
Alessandro Pasotti
340f7abbb0
Merge pull request #5616 from boundlessgeo/datasource-manager-add-close
[gui] Datasource manager remove Ok and add Close
2017-11-15 08:47:23 +01:00
Salvatore Larosa
5a4ace10e9 [dbmanager] defines correctly super class 2017-11-15 08:30:58 +01:00
Alexander Bruy
b95588cf58
Merge pull request #5603 from medspx/ProcessingGrassFixDescR
[processing] GRASS7 provider: review and update all r.* description files.
2017-11-15 08:31:49 +02:00
matteo
c321700ada [processing] test for union algorithm 2017-11-15 11:27:30 +11:00
matteo
2d188e95cd processing Union fix 2017-11-15 11:27:30 +11:00
Nyall Dawson
b0c13da854 Fix exception in find projection algorithm 2017-11-15 11:27:30 +11:00
Nyall Dawson
de7b33a373 [needs-docs] Remove option to show raster preview icons in layer tree
This option is not safe - see #16803, and generally undesirable
due to how slow generating the preview icons are
2017-11-15 10:14:47 +11:00
Salvatore Larosa
5d8963a4a8 Fixes #17466: DB Manager does not refresh correctly map in layer preview 2017-11-14 22:46:58 +01:00
Nyall Dawson
6f55e50a13 Remove QgsMapLayer::originalName()
Now QgsMapLayer::name() is guaranteed to return the same string
2017-11-14 21:53:31 +11:00
Nyall Dawson
1e4f6917de Cleanup fragile 'capitalize layer names' option
This option was being applied in the wrong place - within the
map layer classes themselves. This meant that depending on the
user's setting for this option, a plugin calling QgsMapLayer::setName
would not be guaranteed the same behaviour across installs.
(and the same with setDataSource)

Similarly, the option was re-applied on project load, so
moving projects between installs with different values for
this setting would affect the project layer names, breaking
expressions which relied on these...

Instead, move the formatting and capitalization of layer
names to the QgisApp add*Layer methods instead, so this option
only applies on adding new layers to a project.
2017-11-14 21:53:31 +11:00
Nyall Dawson
fc6c69bedf Fix calculation of distance to vertex for multi part, multi ring
and curved geometries
2017-11-14 21:52:28 +11:00
Nyall Dawson
5d476e51df Use QVector where possible in geometry classes 2017-11-14 21:52:09 +11:00
Nyall Dawson
3ba2254503 Fix broken sip casting of nested QVectors
Old code was always forcing casting to QgsPointXY, regardless
of actual type
2017-11-14 21:08:21 +11:00
Alexander Bruy
662c2cf801
another typo 2017-11-14 08:39:25 +02:00
Alexander Bruy
c65ed15db8
Fix typo 2017-11-14 08:38:24 +02:00
Nyall Dawson
3c8d50d525
Merge pull request #5612 from nirvn/native_nodes
Optimize extract nodes algorithm
2017-11-14 09:02:09 +11:00
Nyall Dawson
6dbdbead0c Handle null values in processing attribute tests 2017-11-14 07:14:46 +10:00
Alessandro Pasotti
fe4f1500d9
Merge pull request #5563 from boundlessgeo/BD-2469-pem-key-encoding
[auth][bugfix] Import pvt keys with unknown file extension
2017-11-13 17:40:54 +01:00
nirvn
b7d05829ce try to make travis happy 2017-11-13 17:36:36 +07:00
Alessandro Pasotti
79c8f9686d Remove OK button and add CLOSE
Yes, it's one more click to quit, but more intuitive UI
2017-11-13 11:29:59 +01:00
nirvn
66b27dcd50 Use vertex iterator 2017-11-13 17:12:57 +07:00
nirvn
7cb15c08b9 Optimize extract nodes algorithm 2017-11-13 12:13:30 +07:00
Nyall Dawson
e0b2c27c07 Fix return type for QgsCoordinateReferenceSystem::saveAsUserCrs 2017-11-13 14:33:38 +10:00
Juergen E. Fischer
150a64e9ac fix warnings and translation strings 2017-11-12 21:57:15 +01:00
Médéric RIBREUX
c3b97827df Review all r.* description files 2017-11-11 14:31:58 +01:00
Nyall Dawson
450887eabd Fix documentation test 2017-11-11 15:34:46 +10:00
Nyall Dawson
2e6d125a6f Use =default, =delete where possible 2017-11-11 15:22:19 +10:00
Nyall Dawson
c97fa5bdd0 Cleanup some constructors 2017-11-11 11:29:45 +10:00
Nyall Dawson
871f71305d Use clang-tidy modernize-use-default-member-init to modernize initializers 2017-11-11 10:54:44 +10:00
Even Rouault
8c6e029688
Merge pull request #5601 from rouault/unblacklist_PyQgsDBManagerGpkg
Fix DBManager + PyQgsDBManagerGpkg and unblack list it for Travis-CI
2017-11-10 22:37:45 +01:00
Even Rouault
95feb87d3b Fix DBManager + PyQgsDBManagerGpkg and unblack list it for Travis-CI 2017-11-10 22:02:19 +01:00
Nyall Dawson
fb205b1aec
Merge pull request #5589 from nyalldawson/remote_proc_exp
[processing] Remove expression buttons from parameters outside modeler
2017-11-11 07:00:16 +11:00
Nyall Dawson
2ed2248827 [processing] Add option whether to load batch output layers on completion
By always trying to load all layers, we severely limit the usefulness
of batch processing. E.g. try clipping 200 layers - and then
get ready to punch something as you wait for all the results to load.
2017-11-10 17:00:24 +10:00
Nyall Dawson
3fc90301a9 [processing] Only load layers when absolutely required
This change avoids holding onto resources and layers from earlier iterations,
and allows batch processing of many more items then is possible
if we hold on to these layers
2017-11-10 17:00:24 +10:00
Alexander Bruy
30cefca19e
Merge pull request #5593 from nyalldawson/batch_rows
[processing] Change min rows in batch processing to 1
2017-11-10 08:35:00 +02:00
Alexander Bruy
9b85e5b7f5
Merge pull request #5592 from nyalldawson/batch
[processing] Fixes for batch processing
2017-11-10 08:34:37 +02:00
Alexander Bruy
019a4d2a78
Merge pull request #5155 from alexbruy/processing-saga
[processing] port SAGA to new API
2017-11-10 08:34:08 +02:00
Nyall Dawson
bd9945ffe3 [processing] Change min rows in batch processing to 1
While no-one is likely to use the batch dialog to run a single
operation, it's a bit unexpected to see two empty rows, which
can't be removed, when first opening this dialog
2017-11-10 13:48:54 +10:00
Nyall Dawson
feacb76300 Fix python error 2017-11-10 13:43:50 +10:00
Nyall Dawson
08b189df89 Fix error when double clicking destination param in batch dialog 2017-11-10 13:40:50 +10:00
Nyall Dawson
feb66d2cd8 Fix saving/load batch processing models 2017-11-10 13:22:49 +10:00