2363 Commits

Author SHA1 Message Date
Jürgen Fredriksson
4ca7cd3d63
More detail on GGA quality indicator (#38234)
- UPDATE mTxtAltitude, mTxtHacc and mTxtVacc because GNSS receivers can output higher accuracy! (RTK)

According to https://www.gpsinformation.org/dale/nmea.htm#GGA I suggest an update to the quality information for the GGA sentence.
Since RTK solutions become more and more standard the info.quality "Fix RTK" is a very important information!
2020-09-01 14:28:21 +10:00
Nyall Dawson
9f83b413a7 [vectortiles] Fix labels disappear randomly between map redraws
Fixes #37450
2020-09-01 14:23:31 +10:00
Nyall Dawson
d1bc82ca7b Misc typo fixes 2020-08-31 11:38:02 +10:00
Nyall Dawson
e39d8b10fe Fix 'ellipoid' typos 2020-08-31 11:38:02 +10:00
Andrea Giudiceandrea
ae2c9f2dc9 Remove some other leftovers trailing asterisks
Followup #38378
2020-08-28 10:18:11 +10:00
Nyall Dawson
69665cd534 Add method to reset QgsAnnotationLayer back to default state 2020-08-27 13:08:51 +10:00
Nyall Dawson
199cd7e8d2 Add clear method to QgsAnnotationLayer 2020-08-27 13:08:51 +10:00
Mathieu Pellerin
707bad7766
[symbology] Improve rendering of selected SVG markers 2020-08-26 08:49:25 +07:00
Nyall Dawson
f62c6d5d56 [feature][labeling] Expose option to allow users to control whether
anchor point for line labels is a hint or a strict requirement

Strict: Labels are placed exactly on the label anchor only, and no
other fallback placements are permitted.

Hint: The label anchor is treated as a hint for the preferred label
placement, but other placements close to the anchor point are permitted.
2020-08-21 09:48:47 +10:00
Denis Rouzaud
ae4d7699f4 fix python code formatting 2020-08-21 09:43:14 +10:00
Nyall Dawson
f496173bd7 Fix messy doxygen blocks which mess with sipify script
Fixes #38291
2020-08-20 17:01:35 +10:00
Matthias Kuhn
05d632c1af Resume editing when saving layer with topology checks
Fixes #28592
2020-08-20 10:53:28 +10:00
Nyall Dawson
5a7cb166d0 [annotations] Refactor annotation item subclasses so that they
work correctly with curved geometry types, and tweak some API naming
accordingly

There's no need to be restrictive and only require linear geometries
for these items!
2020-08-19 14:33:55 +10:00
Harrissou Sant-anna
0e03c9ff63 Fix broken "gdal.org/ogr/" URLs in doc 2020-08-19 08:55:19 +10:00
Nyall Dawson
b14bb32104 [labeling] Add api to set line anchor point for labels, which represents
the percentage along line features at which labels for that feature
should gravitate toward
2020-08-18 11:09:18 +10:00
Nyall Dawson
5d2495e65a [api] Add helper api to directly retrieve a point/linestring/polygon from
a QgsMultiPoint/QgsMultiLineString/QgsMultiPolygon

Avoids the need to have to manually do an annoying cast when we
already know the geometry type
2020-08-18 08:33:53 +10:00
Alessandro Pasotti
a5461a6420
Merge pull request #38257 from elpaso/bugfix-gh26189-virtual-layers-subset-string
Bugfix gh26189 virtual layers subset string
2020-08-17 08:09:01 +02:00
Nyall Dawson
ff9f525893 Fix see also links 2020-08-17 11:12:33 +10:00
Nyall Dawson
844e9a3aac Move label overrun settings to QgsLabelLineSettings 2020-08-17 11:12:33 +10:00
Nyall Dawson
b31d315a52 Move another line label related setting and enum to QgsLabelLineSettings 2020-08-17 11:12:33 +10:00
Nyall Dawson
5dfbfaa89e Move some more line label related settings to QgsLabelLineSettings 2020-08-17 11:12:33 +10:00
Nyall Dawson
d93d881192 Move merge line settings to QgsLabelLineSettings 2020-08-17 11:12:33 +10:00
Nyall Dawson
23848e0e89 Start cleaning up label line settings, by moving them from the
QgsPalLayerSettings mega class to a dedicated QgsLabelLineSettings
class
2020-08-17 11:12:33 +10:00
Alessandro Pasotti
f3a451f2a9 Renamed subset to subsetstring for clarity 2020-08-13 11:13:44 +02:00
rldhont
3c7d6616d1 New Project Reading flag to trust layer metadata 2020-08-11 18:14:15 +02:00
Nyall Dawson
25a78e1589 [api] Add QgsAnnotationPointTextItem annotation item class for
rendering text at a specified map point
2020-08-11 14:14:25 +10:00
vcloarec
4ee10b5f88 fix typo and SIP 2020-08-10 08:28:24 +10:00
Nyall Dawson
454cc32842 Dox 2020-08-10 08:09:11 +10:00
Nyall Dawson
bb1b0d2362 Allow Microsoft style [ ] column references to be handled by QgsSqlStatement 2020-08-10 08:09:11 +10:00
Nyall Dawson
8c9e7c1618 Extend QgsSQLStatement to allow parsing of fragments of SQL clauses,
specifically to allow parsing an expression or where clause alone
2020-08-10 08:09:11 +10:00
Matthias Kuhn
1aa6697533 Make layer validity a property
Adds the possibility to react to layer validity at runtime
2020-08-08 10:05:07 +02:00
Nyall Dawson
50d4bf0f10 Treat item crs as matching annotation layer CRS 2020-08-05 16:27:09 +10:00
Nyall Dawson
ca384b2452 Address review comments 2020-08-05 16:27:09 +10:00
Nyall Dawson
ea392ea17a Dox 2020-08-05 16:27:09 +10:00
Nyall Dawson
f2d172fcd3 Implement layer extent calculation 2020-08-05 16:27:09 +10:00
Nyall Dawson
f0d2f3d21d Allow removing items from annotation layers 2020-08-05 16:27:09 +10:00
Nyall Dawson
5e9264dfb7 Add unit tests for annotation layer 2020-08-05 16:27:09 +10:00
Nyall Dawson
c924ec3087 Add unit tests for marker/line/polygon items 2020-08-05 16:27:09 +10:00
Nyall Dawson
c31ee84b46 Don't return reference 2020-08-05 16:27:09 +10:00
Nyall Dawson
a90555bf95 Remove data provider from annotation layer -- this is no longer required 2020-08-05 16:27:09 +10:00
Nyall Dawson
8300856615 Code shuffle 2020-08-05 16:27:09 +10:00
Nyall Dawson
ef58029369 Minor cleanups 2020-08-05 16:27:09 +10:00
Nyall Dawson
e6c8113260 Tweak api, add tests for annotation item registry 2020-08-05 16:27:09 +10:00
Nyall Dawson
6f90139fe9 Dox, build fixes 2020-08-05 16:27:09 +10:00
Nyall Dawson
fe5b423e33 Hookup initial marker item in registry 2020-08-05 16:27:09 +10:00
Nyall Dawson
b0e2a8b5a9 Add registry for annotation item classes 2020-08-05 16:27:09 +10:00
Nyall Dawson
96cf240b39 Dox cleanup 2020-08-05 16:27:09 +10:00
Nyall Dawson
c523063401 Basic storage and restore of annotation layers in projects 2020-08-05 16:27:09 +10:00
Nyall Dawson
4c04254b8b Add sip cast code for QgsAnnotationLayer 2020-08-05 16:27:09 +10:00
Nyall Dawson
bc745a14e1 Create minimal data provider for annotation layers 2020-08-05 16:27:09 +10:00