1026 Commits

Author SHA1 Message Date
Mathieu Pellerin
a453dd65b6 [plots] Break Qgs2DPlot into a axis-less Qgs2DPlot and a X/Y axes Qgs2DXyPlot 2025-08-22 10:41:20 +10:00
Nyall Dawson
0b630faa9c Add properties to QgsElevationProfile 2025-08-17 04:26:36 +10:00
Nyall Dawson
d6d8e307c0 Implement elevation profile manager model 2025-08-17 04:26:36 +10:00
Nyall Dawson
fdcda15365 [api] Create elevation profile manager, attached to QgsProject
This mimics QgsLayoutManager, but for storage of elevation profiles
attached to a project
2025-08-17 04:26:36 +10:00
Nyall Dawson
4ec64ba4db Silence dllimport attribute ignored warnings
Silence noisy and harmless 'inline function declared as
dllimport: attribute ignored' warnings.

These can be safely ignored, but cause thousands of lines of
warnings during windows builds (eg mingw builds)

(Unfortunately a macro based approach CANNOT be used here -- that
breaks the mingw build, as it seems to have issues with nesting
_Pragma along with __declspec)
2025-08-17 04:26:19 +10:00
Nyall Dawson
53d20879de Make math utils Q_GADGET 2025-08-07 11:56:06 +10:00
Nyall Dawson
d7edbfe723 Introduce QgsMathUtils class
Currently contains a method for converting doubles to approximate
rational fractions
2025-08-07 11:56:06 +10:00
Nyall Dawson
f7022ab92e Add missing docs 2025-08-03 08:56:23 +10:00
Nyall Dawson
c61aa54ea3 Documentation fixes 2025-08-03 08:56:23 +10:00
Nyall Dawson
c686bb1f88 Generalise proxy model to support generic attached objects 2025-08-03 08:56:23 +10:00
Nyall Dawson
231b95bc45 Generalise QgsLayoutManagerModel to template class for project stored objects
Allows us to re-use the model for other attached object types
2025-08-03 08:56:23 +10:00
Nyall Dawson
24adfe7619 Move layout manager model to separate files 2025-08-03 08:56:23 +10:00
Nyall Dawson
cacdea42fd Create abstract base class for managers for objects attached to QgsProject
This generalizes the logic from QgsLayoutManager, so that additional
manager classes handling other object types can be added without
incurring a lot of near-duplicate code.

This is a step toward allowing storage of elevation profiles
within projects.
2025-08-03 08:56:23 +10:00
Martin Dobias
d3e7411417 QgsOrientedBox3D: new constructor using rotation + longestSide() 2025-07-30 22:57:27 +02:00
Alessandro Pasotti
ae2f54a5ad
Merge pull request #62180 from pathmapper/only_maptip_project_setting
[server] Add project setting to enable HTML GetFeatureInfo maptip-only mode
2025-07-22 09:38:34 +02:00
Mathieu Pellerin
c3116bfbcc [ui][map layers] Introduce grouped style categories copy/pasting UX 2025-07-22 14:56:46 +10:00
Nyall Dawson
741b9260fe Add processing documentation flag for algorithms which respect ellipsoid 2025-07-22 13:06:50 +10:00
Nyall Dawson
b5164a1b18 Fix malformed python docs 2025-07-22 10:20:29 +10:00
signedav
bcddeb2605
Merge pull request #62343 from signedav/ordered
Relation Reference Order By Option
2025-07-18 12:18:45 +02:00
signedav
5603f44005 Use Qt::sortOrder to define if the order direction should be ascending or descending 2025-07-17 15:32:08 +02:00
Even Rouault
a9ddf6983a
Typo fixes 2025-07-12 20:21:10 +02:00
Julien Cabieces
f9e73eabc6
Merge pull request #62488 from nyalldawson/mask_switch
Add (hidden) setting to force raster clip masks for layout exports
2025-07-07 08:50:52 +02:00
Yoann Quenach de Quivillic
91e25e8051 Apply suggestions from review 2025-07-07 11:08:27 +12:00
Yoann Quenach de Quivillic
4c3aaa09ca Add methods to remove plugin-defined layout items when unloading plugin 2025-07-07 11:08:27 +12:00
Julien Cabieces
e83db3e361
Merge pull request #62139 from Simon-Lopez/simon/PR-add-profileSource
Add QgsMapLayer::profileSource
2025-07-03 14:54:30 +02:00
Nyall Dawson
4936e775b7
Add (hidden) setting to force raster clip masks for layout exports 2025-07-02 11:58:53 +10:00
Mathieu Pellerin
8c7edbeec2 Rename rotation enum keys 2025-07-02 11:38:05 +12:00
Mathieu Pellerin
4bad76d876 Where did my pre-commit hook go? 2025-07-02 11:38:05 +12:00
Mathieu Pellerin
d31b74c0ae Address review 2025-06-30 11:07:37 +12:00
Mathieu Pellerin
231929e6e3 Make the feature filter provider thread friendly, relocate old filter classes back into server 2025-06-30 11:07:37 +12:00
Mathieu Pellerin
8133424f5e Address review 2025-06-30 11:07:37 +12:00
Mathieu Pellerin
d8d7d5480e Fix rebase conflict 2025-06-30 11:07:37 +12:00
Mathieu Pellerin
d2377a0c48 Sipify 2025-06-30 11:07:37 +12:00
Mathieu Pellerin
cc17d79bd7 [layout] Add an atlas option to limit coverage layer rendering to the current feature only 2025-06-30 11:07:37 +12:00
Nyall Dawson
9241880300 Fix ambiguity in QgsMapLayer::saveStyleToDatabase API
Don't require successful generation of both QML AND SLD, and return descriptive results flags
2025-06-25 10:19:31 +12:00
Simon Lopez
be9608f776 Add QgsMapLayer::profileSource
This commit adds a virtual method to QgsMapLayer to enable the creation of custom
elevation profiles for any type of layer.
The methods returns a pointer to a helper class of type
QgsAbstractProfileSource which is a factory for profile generators
(cf. documentation for QgsAbstractProfileSource).
Existing layers that derive from QgsAbstractProfileSource just override
this method returning a *this* pointer.
As the method is *sipified* it can be used in python to declare custom
profile source for classes derived from PluginLayer (ownership of the
QgsAbstractProfileSource must then be managed on the python side).
2025-06-24 23:24:00 +02:00
Alessandro Pasotti
ae2cf3bed9 Expose QgsPolyline to SIP 2025-06-24 11:11:32 +12:00
Alessandro Pasotti
89e165dfdf [GML] Add parsing support for Z geometries
Funded by: QGIS Danish User Group
2025-06-24 11:11:32 +12:00
signedav
2ae1bec1fe Expression and order (direction) to sort entries of the relation reference widget. If not configured it takes the displayExpression.
This introduces a new expression and order value in the featurepickermodel and a sortvalue in its feature value gatherer. Sorting is still done in the model (not on feature request), to be not needed to make another request on re-ordering.
This resolves #48191
2025-06-20 12:00:22 +02:00
Nyall Dawson
fa40eedcd3 Return requires rasterization flag when required 2025-06-19 14:49:17 +12:00
Nyall Dawson
01cf5bbc63 Introduce paint effect flags 2025-06-19 14:49:17 +12:00
Germán Carrillo
24565cf6cc [fix] Make Oriented Minimum Bounding Box of a singlepart point return the bounding box of the point, instead of features with no extent and misleading geometric attributes 2025-06-19 10:33:29 +12:00
Julien Cabieces
69fabc24f8
Merge pull request #62295 from uclaros/fix-reshape-topological
Add all topological points to all editable layers when reshaping
2025-06-18 17:37:14 +02:00
uclaros
a8a98e9ee8 Refactor topological point addition into a static method 2025-06-18 14:38:15 +03:00
Jacky Volpes
3bb6b9799e fix(qgsgeometry): add grid size for merge lines 2025-06-17 13:32:10 +12:00
Mathieu Pellerin
95fb3fa475 Do not expose STAC data item implementation classes 2025-06-13 16:58:47 +07:00
Mathieu Pellerin
9d62e9e38b Address review 2025-06-13 08:31:48 +07:00
Mathieu Pellerin
3dea59c37e Add missing sip files 2025-06-12 20:04:24 +07:00
Mathieu Pellerin
dadf550c40 [api] Expose core STAC classes to python bindings 2025-06-12 18:02:00 +07:00
Mathieu Pellerin
09c5478ad2 [vector tiles] Fix sprites not loaded from the OSM shortbread styles 2025-06-11 12:30:43 +12:00