Alessandro Pasotti
90ac90b4a9
Weak relations and auto-restore when loading a style
2019-12-19 10:33:24 +01:00
Nyall Dawson
214bbe9e36
Fix clazy fully-qualified-moc-types warnings
2019-11-20 10:08:13 +10:00
Nyall Dawson
fe32fdfe40
Add API to QgsFeatureSource to determine whether a spatial index
...
exists on the source (or not, or unknown presence)
2019-11-17 04:54:41 +10:00
Matthias Kuhn
213df8df23
Merge pull request #32315 from roya0045/optional_fids
...
[API/feature?] make fids caching optional
2019-11-01 16:00:17 +01:00
Alex
54c175b55f
optional fids counting
2019-10-31 08:36:34 -04:00
Alessandro Pasotti
07bb6b77e1
Server OAPIF datetime filter support
...
with full test coverage for single values and ranges,
supports time, datetime and string fields.
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
6112da45f6
Server OAPIF datetime support
2019-10-30 11:53:13 +01:00
Even Rouault
c7f29d501f
QgsVectorLayer: document oapif provider
...
Funded by Planet
2019-10-26 06:47:59 +10:00
Denis Rouzaud
2406837650
replace deprecated in by deprecated since ( #32260 )
2019-10-15 15:56:54 +02:00
Denis Rouzaud
758d7cff4a
run sipify to update deprecation annotations
2019-10-15 13:17:38 +02:00
Nyall Dawson
3112332227
Rename variable for clarity
2019-10-09 15:01:51 +10:00
Nyall Dawson
cb06519d16
[api] Add API to indicate that individual layers may be loaded without any
...
CRS validation, regardless of the user's settings
This avoids hacks put in place in other parts of QGIS code or in plugins
to temporarily deactivate the CRS validation prompt, providing a supported,
stable method to indicate that when loading a particular layer no CRS
validation is required.
2019-10-09 15:01:51 +10:00
lbartoletti
bb523ebfb3
one wmore deprecated method
2019-10-03 13:33:46 +10:00
lbartoletti
aa99f89caf
deprecate methods in qgsvectorlayereditutils. Better deprecated dox.
2019-10-03 13:33:46 +10:00
lbartoletti
b75518fa15
update dox
2019-10-03 13:33:46 +10:00
lbartoletti
c1421455b8
fix dox and tests
2019-10-03 13:33:46 +10:00
lbartoletti
2e529e1bd9
deprecate addTopologicalPoints methods with QgsPointXY
...
deprecate other methods
2019-10-03 13:33:46 +10:00
Julien Cabieces
484ee53899
Add a utils method fieldIsEditable
2019-09-20 09:49:12 +10:00
rldhont
cc58cba93d
API: Define QgsVectorLayerServerProperties to manage QGIS Server properties like WMS DImensions
2019-09-07 16:07:10 +02:00
rldhont
3edd081cc1
Update UI to manage QGIS Server WMS Dimensions
2019-09-07 16:05:10 +02:00
Nyall Dawson
3af35b5844
[FEATURE] "Reselect Features" action in Edit -> Select menu
...
Allows restoration of a layer's selection following a selection
clear operation. Handy for anyone who has ever painstakingly
built a custom selection only to accidently click and clear
this selection...
2019-09-06 13:08:18 +10:00
Alex
8fb43bd20e
[API] Cache feature ids for each symbol in the QgsVectorLayer ( #31061 )
2019-09-01 06:31:40 +10:00
David Signer
8c9f643e0b
- removed the modes from QgsStoredExpressionManager and do the categorization over category tags
...
- use QStrings instead of QUuids in QgsStoredExpression
- docs, style and beautifications
2019-08-29 08:26:28 +02:00
David Signer
ffa41cb814
descriptive name for mStoredFilterExpressions to make a difference to future QgsStoredExpression objects
2019-08-29 08:24:15 +02:00
David Signer
5c38b4bdc8
stored expression base class with read write methods
2019-08-29 08:24:15 +02:00
lbartoletti
e5cd1aa913
Topological editing: fix vertex tool (Z support) ( #31163 )
2019-08-14 09:00:58 +10:00
Matthias Kuhn
5f0447b397
Fix sip file ( #30714 )
2019-07-15 15:01:42 +02:00
Alex
248af94ba9
Symbol aware legend expression ( #9648 )
2019-07-15 07:12:24 +02:00
Nyall Dawson
590d1aae9d
[FEATURE][API] Visitor API for style entities
...
Adds a new visitor pattern API for creation of visitors which visit
all the style entities (symbols, color ramps, text formats, and
label styles) associated with different objects. Can be used on a
renderer, map layer, or project wide level.
E.g. on a project wide level, allows collection of ALL the style
symbols/color ramps/text settings inside a project, including those
in layouts or annotations!
2019-07-06 12:36:54 +10:00
Peter Petrik
62d615c2cd
[QEP 149] Introduce static data providers [API BREAK]
...
- adds QgsProviderGuiRegistry and QgsProviderGuiMetadata
- adds QgsProjectStorageGuiRegistry
- requires providerMetadataFactory for dynamic data providers
- requires providerMetadataGuiFactory for dynamic data providers (GUI only)
- removes QgsProviderRegistry::WidgetMode
2019-06-18 15:15:36 +02:00
Alex
a02a4ede6e
Allow calculating aggregates using a subset of fids only
2019-06-16 07:00:26 +10:00
Nyall Dawson
9da6a03b50
Add API for specifying fallback CRS and layer WKB type to use
...
for QgsVectorLayer, when constructing a layer with a URI which
may be invalid
These may be used for layers where the geometry type/CRS is
known in advance, and where the layer path may not be
initially resolvable. (E.g. layers with a URI pointing to a
non-existant file). It is only ever used if the layer cannot
be resolved, otherwise the actual layer geometry type will be
detected and used for the layer.
2019-04-19 06:07:13 +10:00
Alessandro Pasotti
b3a448a2b2
Do not store context in layer (but in provider) ...
...
... also use transform context in raster projector
and deprecate setCrs without context
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
7f52e2938a
doxy
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
7b6f9c0dbc
Restore default ctor for options and layer
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
e930bee9e2
Add mandatory options to QgsVectorLayer ctor
...
... and deprecate the rest.
In QGIS 4 we'll have to get rid of the deprecated default ctor and
create a new one which takes no arguments.
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
6813a55fce
Deprecate vector layer ctor with default constructed options
...
replaced by QgsVectorLayer( const QgsVectorLayer::LayerOptions &options,
...
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
470759833e
coordinateTransformContext -> transformContext for consistency
...
I like "coordinateTransformContext" more btw.
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
df2bdf9c1a
Handle the coordinate tranform context in the layer ctor
...
Also use the context when read/write XML by passing it
in the R/W context
2019-04-17 10:06:41 +10:00
Nyall Dawson
1dc447e1f2
Dox++
2019-03-21 12:44:16 +10:00
Harrissou Sant-anna
4b9f4da929
Use Qt style "returns .." tense instead of "return .."
2019-03-12 14:42:36 +10:00
Nyall Dawson
107b48a430
Add NULLPTR macro for use in doxygen comments
...
For the c++ api dox this expands to "\c nullptr" (the
\c directive indicates a code literal value), and for sipify/Python
it expands to ``None`` (`` is sphinx annotation for literal values)
Makes for nicer dox for both c++ and Python!
2019-02-27 09:41:11 +10:00
Nyall Dawson
a7ca08784c
Nullptr consistency in dox
2019-02-27 09:41:11 +10:00
Nyall Dawson
eed9852fb9
Add TRUE and FALSE macros for use in doxygen comments
...
For the c++ api dox these expand to "\c true" and "\c false" (the
\c directive indicates a code literal value), and for sipify/Python
they expand to ``True`` and ``False`` (`` is sphinx annotation
for literal values)
Makes for nicer dox for both c++ and Python!
2019-02-27 09:41:11 +10:00
Nyall Dawson
519a30f10c
Standardise dox for signals
2019-02-26 03:24:31 +10:00
Nyall Dawson
7eab74f803
Fix use of trailing */ in dox, which messes with sipify Python documentation output
2019-02-25 19:02:12 +10:00
Matthias Kuhn
8ea09b61c8
Run sipify
2019-02-20 12:01:56 +01:00
Nyall Dawson
384d310233
Minor improvements to PyQGIS returns for SIP_OUT params
2019-02-05 04:55:34 +11:00
Mathieu Pellerin
8ac762e5e1
[ui] Fix tiny vertex marker on hidpi
2019-02-04 16:43:04 +07:00
Denis Rouzaud
166e952c33
run sipify
2018-12-19 08:04:27 -04:00