Salvatore Larosa
5a4ace10e9
[dbmanager] defines correctly super class
2017-11-15 08:30:58 +01:00
Salvatore Larosa
5d8963a4a8
Fixes #17466 : DB Manager does not refresh correctly map in layer preview
2017-11-14 22:46:58 +01:00
Alexander Bruy
d8398400f9
correctly create new function file ( fix #16752 )
2017-11-14 19:53:40 +02:00
Even Rouault
c09c96b03e
Raster renderer: fix so that raster in projected CRS is not rendered in geographic CRS if the extent exceeds -180,-90,180,90 ( fixes #14229 )
2017-11-14 13:30:52 +01:00
Even Rouault
ec9e87d6f4
Fix compilation error likely due to 5d476e51dfcbf9a2d3634cf6b7a6d5b12e93f406
2017-11-14 12:41:53 +01:00
Borys Jurgiel
5f915a09db
[Plugin manager] Don't truncate long names. Fixes #17451 .
2017-11-14 12:31:59 +01:00
Even Rouault
b861db47f5
[Raster] Do not crash when displaying a raster with complex datatype ( fixes #16405 )
...
That said, complex datatypes are not handled, so QGIS cannot do anything useful
with such datasets.
2017-11-14 12:08:03 +01:00
Nyall Dawson
020972c291
Tweaks to automatic layer name logic
2017-11-14 21:53:31 +11:00
Nyall Dawson
15e15356b3
Show vector layer wkb types in tooltip in layer tree and layer combo boxes
...
This is very useful information to have readily visible (esp.
to see if a layer is multi* type, has z/m, when choosing it
as a source for a processing algorithm)
Remove redundant geometry type display from default layer name
2017-11-14 21:53:31 +11:00
Nyall Dawson
6e31fccc5d
[needs-docs] Remove option to capitalize layer names, and make it always on
...
Doing this removes some work from our users - giving layers
a nicely generated name by default
2017-11-14 21:53:31 +11: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
d14b8592f8
More efficient distance to vertex calculation in extract nodes alg
...
Instead of calculating the whole distance from the start of the
geometry to the vertex for EVERY vertex, we just keep a running
sum of the cumulative distance so far and add the length of
each segment as we go.
Stats:
Before:
- dataset 1: > 20 minutes, still going at 14%....
- dataset 2: 92 seconds
After:
- dataset 1: 3 seconds
- dataset 2: 1.7 seconds
BAM!
2017-11-14 21:52:28 +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
507a93c69b
Drop the cached coordinate sequence from abstract geometries
...
This cache was added to speed up expensive QgsAbstractGeometry::coordinateSequence
calls, when we were relying on coordinateSequence() for a whole
bunch of stuff like counting the number of points in a geometry.
Now it's used almost no-where in the code, so this cache is unlikely
to get filled and just makes geometries more memory heavy than
they need to be.
2017-11-14 21:52:09 +11:00
Matthias Kuhn
0c35dde461
N:M Relations, support for linking table with default values
2017-11-14 11:08:37 +01:00
Matthias Kuhn
30eec2b392
Update buttons on referenced layer edit state change in N:M
...
Fix #16635
2017-11-14 11:08:37 +01: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
Nyall Dawson
857bae4b2c
Merge pull request #5609 from nyalldawson/remove_options
...
[needs-docs] Remove options for making layer names and groups bold
2017-11-14 11:22:17 +11: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
Even Rouault
94fa450efd
[WFS provider] Add NAMESPACES= parameter to GetFeature requests when needed ( fixes #14685 )
2017-11-13 21:23:57 +01: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
Even Rouault
2c49631bc9
[OGR provider] Support 64bit FID (partially implemented per 8f3d44d4e9321efc035a6080b161f5dd48d4f230 in master) ( fixes #16404 )
2017-11-13 15:49:14 +01:00
nirvn
b7d05829ce
try to make travis happy
2017-11-13 17:36:36 +07:00
nirvn
66b27dcd50
Use vertex iterator
2017-11-13 17:12:57 +07:00
Harrissou Sant-anna
e1f5348a97
Add tab order and enable help button
2017-11-13 10:32:15 +01:00
Alessandro Pasotti
822a123ebd
Add extra checks to PEM encoding test
...
Not really necessary but for extra safety
2017-11-13 09:09:18 +01:00
Alessandro Pasotti
9e192ad5e8
Added various line endings PEM tests
2017-11-13 09:00:11 +01:00
Nyall Dawson
3b2228adb0
Merge pull request #5613 from nyalldawson/custom_crs_fixes
...
Custom crs fixes
2017-11-13 18:47:37 +11:00
Nyall Dawson
fd18c3bc69
Merge pull request #5559 from nyalldawson/custom_crs
...
Fix issues with custom CRS dialog
2017-11-13 18:47:09 +11:00
Nathan Woodrow
702dfdab5d
Tweak crash message
2017-11-13 17:28:09 +10:00
Harrissou Sant-anna
4f22b45971
Fix typos
2017-11-13 08:13:10 +01:00
Nyall Dawson
6f7ad82a72
Fix crash when clearing all nodes using node tool
2017-11-13 16:30:21 +10:00
Nathan Woodrow
66c7d6868c
Fix #12932 - Send and show layer load errors to user
2017-11-13 15:51:36 +10:00
Nyall Dawson
be8bad8e39
Fix duplicate crsChanged signal emitted when loading projects
2017-11-13 15:28:14 +10:00
Nyall Dawson
f2b5a5952b
Fix loading 2.x projects with custom CRS
...
Fixes #17257
2017-11-13 15:26:05 +10:00
nirvn
7cb15c08b9
Optimize extract nodes algorithm
2017-11-13 12:13:30 +07:00
Nyall Dawson
e967881e45
Fix incorrect authid and description after saving a user crs
2017-11-13 15:11:05 +10:00
Nyall Dawson
39851f4474
Invalidate crs cache after adding a new user CRS
...
Refs #17257
2017-11-13 15:01:46 +10:00
Nathan Woodrow
9369e5c137
[MSSQL] Don't add constraints for identity columns
...
These are generated server side and will block the form if we set
this client side
2017-11-13 14:57:41 +10:00
Nyall Dawson
e0b2c27c07
Fix return type for QgsCoordinateReferenceSystem::saveAsUserCrs
2017-11-13 14:33:38 +10:00
Nathan Woodrow
82644fb37f
uh oh ;)
2017-11-13 11:58:29 +10:00
Kristian Thy
320bda01f4
[bugfix] Issue #17387 : MSSQL provider fails to load UNIQUEIDENTIFIER fields ( #5521 )
...
* Fix #17387 : MSSQL provider fails to load UNIQUEIDENTIFIER fields
2017-11-13 11:09:57 +10:00
Juergen E. Fischer
150a64e9ac
fix warnings and translation strings
2017-11-12 21:57:15 +01:00
Even Rouault
68da18c0b6
Attempt at fixing warning 'case value ‘2147483648’ not in enumerated type OGRwkbGeometryType' caused by 97020ff17d21fcdad8a51a5177d9c1da2bce9e81 fix
2017-11-12 21:27:30 +01:00
Even Rouault
96ec664594
GDALDataItems / OGRDataItems: avoid listing .map and .dat files of a .tab
2017-11-12 21:18:27 +01:00
Even Rouault
8cefb45d6d
QgsOgrLayerItem(): avoid useless dataset opening
2017-11-12 21:18:27 +01:00
Jürgen Fischer
75ea3726d0
Merge pull request #5610 from landryb/fix/32-bits-build
...
Remove useless cast breaking build on 32-bits os
2017-11-12 20:16:54 +01:00