Nyall Dawson
cd22d4fbc3
Bump default number of label candidates
...
Results in much nicer label placement and little to no speed
regression in most cases
2016-07-27 13:52:20 +10:00
Nyall Dawson
5f33991e7b
[FEATURE] Label polygons using curved labels along perimeter
...
This adds a new mode for labeling polygons, where the perimeter
of the polygon is labeled using curved labeling.
2016-07-27 13:36:49 +10:00
Frits van Veen
c0b1684058
Fix labeling using perimeter with repeating label distance set
...
If the visible part of a polygon is clipped and becomes a multipolygon, only
one label is plotted on the wrong side of the polygon.
Settings:
Placement: Using Perimeter
Allowed positions: Below line / Line orientation dependent position checked
Repeat: 100 mm
Fix #15341
2016-07-27 11:02:06 +10:00
Nyall Dawson
530a85216e
Fix map not refreshed after using pan to selected ( fix #15324 )
2016-07-27 09:50:49 +10:00
Nyall Dawson
26160c95c6
Merge pull request #3332 from nyalldawson/transform2
...
Remove the extra QgsCoordinateTransform constructors
2016-07-27 08:14:29 +10:00
Nyall Dawson
6c0d97a06b
Merge pull request #3337 from nyalldawson/remove_psuedo_shader
...
Remove the broken, unused QgsPseudoColorShader class
2016-07-27 07:11:55 +10:00
Nyall Dawson
4a3924ca3f
Remove the extra QgsCoordinateTransform constructors
...
...and leave only:
QgsCoordinateTransform( const QgsCoordinateReferenceSystem& source,
const QgsCoordinateReferenceSystem& destination );
The other constructors were not used anyway in QGIS code,
had awkward/confusing API, and no unit tests.
2016-07-27 07:10:46 +10:00
Nyall Dawson
3d6688cce5
Add labeling tests for letter/word spacing
2016-07-27 06:37:16 +10:00
Nyall Dawson
5228de353c
Update curved label test reference images
2016-07-27 06:37:16 +10:00
Nyall Dawson
449fcad8ce
[labels] Fix word and letter spacing truncated to integers
2016-07-27 06:37:16 +10:00
Frits van Veen
22fdb6ab9f
[labeling] Curved labels are now angled per character
...
...instead of shifted along base line (fix #15210 )
2016-07-27 06:37:16 +10:00
rldhont
153b1c1d0e
Merge pull request #3322 from rldhont/db_manager_update_sql_layer
...
[DB Manager] Add the ability to update SQL Layer
2016-07-26 15:36:11 +02:00
Alexander Bruy
b3a38f4018
[processing] fix issues with exported layers in GDAL provider
2016-07-26 15:00:26 +03:00
Alexander Bruy
6ccf7264a6
[processing] fix condition in warp alg
2016-07-26 15:00:26 +03:00
Juergen E. Fischer
3138cab6fa
fix build (followup f6b09ea)
2016-07-26 08:54:29 +02:00
Nyall Dawson
76c4cae0a3
Fix text annotation edit background should match frame background
...
Otherwise white text is not visible. Fix #10553 .
2016-07-26 15:52:46 +10:00
Nyall Dawson
0fa6499bef
Merge pull request #3329 from nyalldawson/annotations
...
Add an interface class for annotations, remove some hacks
2016-07-26 12:39:18 +10:00
Nyall Dawson
68b621ace6
Merge pull request #3314 from nyalldawson/units
...
Consolidate unit handling in QgsUnitTypes
2016-07-26 11:14:35 +10:00
Nyall Dawson
1e9274adbb
Docs
2016-07-26 11:11:05 +10:00
Nyall Dawson
5ed31d887d
Fix annotation position when maps are rotated, remove hacks
...
Adds a new interface class QgsAnnotation, and allows for removal
of a bunch of hacks in QgsComposerMap without breaking 2.x API
2016-07-26 10:18:19 +10:00
Nyall Dawson
ba26bc887a
Remove the broken, unused QgsPseudoColorShader class
2016-07-26 10:11:57 +10:00
Nyall Dawson
813ed5e96f
Add missing docs
2016-07-26 10:08:18 +10:00
Nyall Dawson
f186c11a72
Mark some QgsUnitType arguments as /Out/
2016-07-26 08:31:29 +10:00
Nyall Dawson
f6b09eaee1
Add Distance*, Area*, Angle* prefixes to QgsUnitTypes enum values
2016-07-26 08:29:24 +10:00
Alexander Bruy
156c09880b
[plugin manager] mark installed plugins as trusted ( fix #15338 )
2016-07-25 20:24:12 +03:00
Tom Kralidis
6c6f279044
upgrade OWSLib to 0.11.2
2016-07-25 11:01:19 -04:00
Alexander Bruy
01dd338677
[processing] fix dialog title
2016-07-25 16:24:44 +03:00
Alexander Bruy
48cca3bc12
[processing] always use user-defined default folder for scripts/models
2016-07-25 16:22:21 +03:00
Alexander Bruy
b167c09e44
[processing] use default models folder when adding model from file ( fix #15335 )
2016-07-25 14:17:46 +03:00
Alexander Bruy
4e94963af5
[processing] different shortcut for commander ( fix #15334 )
2016-07-25 14:13:48 +03:00
Nyall Dawson
510f42845a
Remove some unneeded qgssymbolv2.h includes
2016-07-25 15:39:52 +10:00
Nyall Dawson
503d0941ee
Add missing docs
2016-07-25 15:22:36 +10:00
Nyall Dawson
0324de3bf5
Remove QgsSymbolLayerV2Utils::encodeOutputUnit() and decodeOutputUnit()
...
QgsUnitTypes::encodeUnit() and QgsUnitTypes::decodeRenderUnit() should
be used instead.
2016-07-25 15:22:36 +10:00
Nyall Dawson
ce6bd6c973
Move QgsSymbolV2::OutputUnit enum to QgsUnitTypes
...
And rename to QgsUnitTypes::RenderUnits. This enum is used in
much more contexts than just symbols, so QgsUnitTypes is a
better fit for it.
All methods which previously accepted QgsSymbolV2::OutputUnit
parameters or QgsSymbolV2::OutputUnitList parameters now take
QgsUnitTypes::RenderUnit or QgsUnitTypes::RenderUnitList
parameters respectively.
2016-07-25 15:22:12 +10:00
Nyall Dawson
f6f5010131
Move QGis::UnitType to QgsUnitTypes::DistanceUnit
...
This change consolidates more unit handling and conversion into
QgsUnitTypes.
Additionally, UnknownUnit was renamed to UnknownDistanceUnit.
All methods which accepted QGis::UnitType parameters have been
updated to take QgsUnitTypes::DistanceUnit instead.
ALso remove the unit handling methods toLiteral, fromLiteral, tr,
fromTr, and fromUnitToUnitFactor from QGis. Their corresponding
counterparts in QgsUnitTypes should be used instead.
2016-07-25 14:47:16 +10:00
Nyall Dawson
59aed7b231
Remove deprecated units from QGis
...
- DecimalDegrees
- DegreesMinutesSeconds
- DegreesDecimalMinutes
all these were replaced long ago by QGis::Degrees
2016-07-25 13:00:46 +10:00
Nyall Dawson
58856fe82f
Remove some deprecated QgsVectorDataProvider::Capabilities
...
Also make capabilities() return a QFlags
QgsVectorDataProvider::Capabilities, rather than an integer
value (for type safety)
2016-07-25 12:14:00 +10:00
Nyall Dawson
bc2c2b201c
Merge pull request #3331 from nyalldawson/crs
...
QgsCoordinateReferenceSystem - API fixes + internal caching
2016-07-25 11:11:17 +10:00
Nyall Dawson
6dac8e18bd
Clean up handling of inverted axis for CRS, fix detachment issue
2016-07-25 10:15:46 +10:00
Nyall Dawson
bb36c6048d
Remove QgsCRSCache
...
No longer required now that QgsCoordinateReferenceSystem
internally uses caches for CRS initialization.
2016-07-25 10:15:46 +10:00
Martin Dobias
71ca330f98
One more try to make PyQgsDocCoverage happy
2016-07-25 02:14:44 +02:00
Nyall Dawson
ac36cb5dd2
Make QgsCoordinateReferenceSystem use an internal cache
...
for initializing CRS objects.
This avoids the need for the separate QgsCRSCache class,
and means that the caching benefits are available without the
need for calling methods from QgsCrsCache.
2016-07-25 10:14:19 +10:00
Nyall Dawson
bb220a0b43
Add some static methods for creating QgsCoordinateReferenceSystem
...
This avoids the need for
QgsCoordinateReferenceSystem crs;
crs.createFromSrsId(...)
and instead can be replaced with
QgsCoordinateReferenceSystem crs = QgsCoordinateReferenceSystem::fromSrsId(...)
2016-07-25 10:14:19 +10:00
Nyall Dawson
ee62bdeeb4
Rename some QgsCoordinateReferenceSystem methods
...
- geographicFlag() -> isGeographic()
- axisInverted() -> hasAxisInverted()
2016-07-25 10:14:19 +10:00
Martin Dobias
cb4410f2bc
Added "added" note
2016-07-25 01:26:34 +02:00
Martin Dobias
04ffd9ec4f
Final fixes for tests
2016-07-25 00:45:20 +02:00
Martin Dobias
b216138d27
Fix the build
2016-07-24 23:58:08 +02:00
Martin Dobias
963ff92108
Finally add forgotten SIP file
2016-07-24 23:39:57 +02:00
Martin Dobias
940883b6b7
Code for cancellation of raster reading with GDAL 2 - disabled for now
...
There are still some questions around it and I need to find some data
for thorough testing (many GDAL drivers do not support cancellation)
2016-07-24 23:16:33 +02:00
Martin Dobias
7b8c1c5ae1
Make sure that backtrace dump from multiple threads does not cause deadlocks
2016-07-24 23:16:33 +02:00