Skip to content

CI test: contour labeling fixes#4

Open
Geojim wants to merge 3 commits into
masterfrom
raster-contour-labeling
Open

CI test: contour labeling fixes#4
Geojim wants to merge 3 commits into
masterfrom
raster-contour-labeling

Conversation

@Geojim

@Geojim Geojim commented Mar 5, 2026

Copy link
Copy Markdown
Owner

Testing CI before upstream resubmission

@Geojim Geojim force-pushed the raster-contour-labeling branch 2 times, most recently from 4b21c86 to 432b6e1 Compare March 6, 2026 21:43
McGuiness and others added 3 commits March 7, 2026 08:28
Introduces on-the-fly contour line labels for raster DEM layers using
GDAL's contour generation API. Contour geometries are generated at
render time and registered with the PAL labeling engine for placement
along the lines.

New classes:
- QgsRasterContourLabelProvider: generates contour lines from raster
  data and registers them as label features
- QgsRasterLayerContourLabeling: configuration class with text format,
  numeric format, thinning, and scale-based visibility settings

The label provider reads band, contour interval, index interval, and
downscale factor from QgsRasterContourRenderer (Symbology tab) to
avoid settings duplication.

Sketched-With: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix SIP include ordering (alphabetical)
- Add Doxygen comments to all public methods
- Rename _contourLabelWriter to avoid reserved identifier (clang-tidy)
- Remove extra blank lines (pre-commit)
- Update tests to match removed band/interval/downscale accessors

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Geojim Geojim force-pushed the raster-contour-labeling branch from 432b6e1 to 1e1bcdf Compare March 6, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant