75985 Commits

Author SHA1 Message Date
Nyall Dawson
ddf5cd57cc Allow extrusion to be disabled 2022-03-03 06:15:10 +10:00
Nyall Dawson
36dd3745f8 Add documentation note about binding vs point layers 2022-03-03 06:15:10 +10:00
Nyall Dawson
341c0d3933 Fix since 2022-03-03 06:15:10 +10:00
Nyall Dawson
f8a9cea42e Fix label visibility 2022-03-03 06:15:10 +10:00
Nyall Dawson
273b673669 Don't show binding control for point layers, it has no meaning 2022-03-03 06:15:10 +10:00
Nyall Dawson
63e2d1ec16 Newly created 3d symbols for a vector layer default to inheriting
appropriate parameters from the layer's elevation settings
2022-03-03 06:15:10 +10:00
Nyall Dawson
cc24106d01 Add QgsMapLayerElevationProperties subclass for vector layers
Allows elevation properties to be set for vector layers, including:

- altitude binding
- altitude clamping
- extrusion
- scale
- offset

These properties can be set through the new "Elevation" tab in
the vector layer properties dialog
2022-03-03 06:15:10 +10:00
Nyall Dawson
5395d87d7f Move altitude clamping/binding enums to Qgis namespace, promote to enum
class
2022-03-03 06:15:10 +10:00
Nyall Dawson
2379de4a95 Add QgsMapLayerElevationProperties subclass for raster layers
Allows elevation properties to be set for raster layers, including:

- whether raster values represent heights
- scale
- offset

These properties can be set through the new "Elevation" tab in
the raster layer properties dialog
2022-03-03 06:15:10 +10:00
Nyall Dawson
1bd6c4535a Don't set background color on QgsFileWidget 2022-03-03 06:14:33 +10:00
rldhont
ecfe433329
[Bugfix][Server] MultiPolygon in GML3 is deprecated like MultiLineString
In http://schemas.opengis.net/gml/3.1.1/base/geometryAggregates.xsd the MultiPolygon is included for backwards compatibility with GML2.
It is deprecated with GML3 and has to be replaced by MultiSurface.
It is the same for MultiLineString replaced by MultiCurve in GML3.

* Funded by Ifremer
2022-03-02 17:10:38 +01:00
rldhont
2379f6d8cc
[Bugfix][Server] WFS DescribeFeatureType: sync geometry type with asGml method
The QgsMultiLineString and QgsMultiCuvre become MultiLineString as GML2 and MultiCurve as GML3.
The QgsMultiSurface becomes MultiPolygon as GML2 and MultiSurface as GML3.
The WFS DescribeFeatureType does not provide a different XML Describe Schema for GML2 or GML3.

Now the XML Describe Schema provided by WFS DescribeFeatureType request is not the same for GML2 and GML3 for MultiLineString, MultiCurve and MultiSurface.
2022-03-02 17:10:37 +01:00
Denis Rouzaud
cecc120084 fix typo 2022-03-02 14:58:56 +01:00
Denis Rouzaud
b7c5d259c6 [sipify] add SIP_MAKE_PRIVATE macro
also handle std::numeric_limits<qlonglong>::min/max
2022-03-02 14:58:56 +01:00
vcloarec
5c02b5d329 fix path to nlohmann json 2022-03-02 05:58:23 -08:00
vcloarec
ddf3d8d629 MDAL 0.9.90 2022-03-02 05:58:23 -08:00
Nyall Dawson
65ed3c5ee4 Fix deprecation warning 2022-03-02 09:40:00 +10:00
dependabot[bot]
a0c741bd85 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 09:19:20 +10:00
Ismail Sunni
3ba1242990 Fix failed spell check. 2022-03-02 09:03:04 +10:00
Ismail Sunni
366a444900 Add missing type in field calculator. Fix #47583. 2022-03-02 09:03:04 +10:00
Nyall Dawson
88b07d80ee Fix loss of current file path when clicking "..." in QgsFileWidgets
set to SaveFile mode and current file path does not yet exist
2022-03-02 08:30:30 +10:00
dependabot[bot]
4fac66ddbc Bump actions/setup-node from 2 to 3
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 08:29:44 +10:00
dependabot[bot]
bcdb670641 Bump actions/setup-python from 2.3.1 to 3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.3.1 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.3.1...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 06:29:29 +10:00
rldhont
f1056076ab
Merge pull request #47051 from rldhont/bug-server-wfs-featureid-propertyname
[Server] WFS FeatureID for Typename with ()
2022-03-01 17:08:12 +01:00
Denis Rouzaud
d3d91950bf fix python implementation of enum/flag setting 2022-03-01 12:09:47 +01:00
Denis Rouzaud
332d5808ff add default value and remove extra virtual 2022-03-01 12:09:47 +01:00
Denis Rouzaud
b192904e54 add helper method to avoid code duplication 2022-03-01 12:09:47 +01:00
Denis Rouzaud
d06b1f1ff9 replace setVariantValue method to avoid API break 2022-03-01 12:09:47 +01:00
Denis Rouzaud
2ea8229ba3 fix test + docstring 2022-03-01 12:09:47 +01:00
Denis Rouzaud
44681dc841 sipify 2022-03-01 12:09:47 +01:00
Denis Rouzaud
a648dc9fa7 Apply suggestions from code review
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2022-03-01 12:09:47 +01:00
Denis Rouzaud
87d0f518ff add qgsEnumList to list enum keys (and test) 2022-03-01 12:09:47 +01:00
Denis Rouzaud
fbd27bde8f explicitely call a checkValue method for a more meaningfull API 2022-03-01 12:09:47 +01:00
Denis Rouzaud
2e8b7d3355 fix wrong base class 2022-03-01 12:09:47 +01:00
Denis Rouzaud
377425d666 rebase and fix advanced digitizing test 2022-03-01 12:09:47 +01:00
Denis Rouzaud
f004242a03 fix typo in compatibility code 2022-03-01 12:09:47 +01:00
Denis Rouzaud
195f76c904 use qgsEnumMap rather than explicitely list enum entries + fix deprecated calls 2022-03-01 12:09:47 +01:00
Denis Rouzaud
25262dadf7 create snapping mode setting + avoid confusion mode/type 2022-03-01 12:09:47 +01:00
Denis Rouzaud
27581e3f7c remember former value of digitizing technique and use it to quickly switch 2022-03-01 12:09:47 +01:00
Denis Rouzaud
f722ef641c fix dox 2022-03-01 12:09:47 +01:00
Denis Rouzaud
36a933bb2b move QgsSnappingConfig::SnappingTypeFlag + SnappingMode enum/flags to Qgis 2022-03-01 12:09:47 +01:00
Denis Rouzaud
6ba12f8746 apply setting API changes in code base 2022-03-01 12:09:47 +01:00
Denis Rouzaud
a666a1a7f4 also inherit from template base class for QgsSettingsEntryEnumFlag 2022-03-01 12:09:47 +01:00
Denis Rouzaud
1bd55ee237 simplify the API by removing extra method 2022-03-01 12:09:47 +01:00
Denis Rouzaud
3f88bd5002 further simplifications of template and implementations 2022-03-01 12:09:47 +01:00
Denis Rouzaud
b3f36182ad complete tests for Qgis enum/flag methods 2022-03-01 12:09:47 +01:00
Denis Rouzaud
ec443b5a17 extend Qgis enum/flag methods to say if the conversion succeeded 2022-03-01 12:09:47 +01:00
Denis Rouzaud
08ada3aadf sipify + move sipify config file to ./python 2022-03-01 12:09:47 +01:00
Denis Rouzaud
27ee6df5dc add test for setting former value 2022-03-01 12:09:47 +01:00
Denis Rouzaud
830ef6ae21 add an option to store former value of a setting 2022-03-01 12:09:47 +01:00