Sandro Mani
2b8b8ae0cc
[Spatialite] Remove t_table_catalog WHERE clause when searcing for layer styles in db
...
This sanity check is unnecessary and breaks styling if the sqlite file is moved or renamed.
The t_table_catalog column is kept for backwards compatibility.
2016-08-03 09:36:18 +02:00
Nyall Dawson
ee09131df8
Revert "Bump default number of label candidates"
...
AKA f***ing label tests!!!
This reverts commit cd22d4fbc3962ee6772fde588b34c9a2efdc1f3a.
2016-07-27 15:36:36 +10:00
Nyall Dawson
9db46ef16e
Revert "Default to cartographic label placement for point layers"
...
This reverts commit e0609d675af69ea6d90477456ff4561bd95fa9e6.
2016-07-27 15:36:27 +10:00
Nyall Dawson
e0609d675a
Default to cartographic label placement for point layers
...
It's much nicer than "around point"
2016-07-27 13:58:56 +10:00
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
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
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
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
Juergen E. Fischer
2b8b979216
fix build
2016-07-24 23:04:36 +02:00
Martin Dobias
0974f0b81b
Wrap QgsMapCanvasMap in PRIVATE condition to avoid sip/doc testing
2016-07-24 22:44:23 +02:00
Martin Dobias
ab4a83b49b
Goodbye to QgsMapRenderer ( #3333 )
...
For the time being the class is kept in the server code while it is still being used there.
2016-07-24 22:40:52 +02:00
Juergen E. Fischer
2bbfe8a6f9
update splash
2016-07-24 21:45:31 +02:00
Juergen E. Fischer
1368038ca9
oracle provider: fix binding of output values
2016-07-23 18:34:15 +02:00