You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(symbology): image markers: SVG from services, PDF pages, the fog and clearer wording - #3044
Brings the user guide's text on image markers up to date and makes it easier to read. Documentation only.
data-formats.md (ArcGIS REST): a service's picture marker takes an SVG image too, through the same check as layer.marker (crates/engine/src/cmd/service.rs). A PNG or JPEG keeps its limit of 2048 × 2048 pixels by area.
cartography.md: a PDF of several pages keeps a marker image once for all of them (pinned by a_picture_marker_is_one_image_object_across_the_pages_of_a_pdf).
maps.md: upright markers in a tilted view fade into the fog, image markers included.
cartography.md wording: "one with more to draw" now says "an SVG"; the image's size and rotation text starts its own paragraph; the layer.marker example is introduced by "By command:" instead of the previews sentence's colon; a 139-character line is re-wrapped, along with the paragraphs round the edits.
The other changed lines are re-wrapping only.
Testing
Documentation only: no build or tests run. Each new claim was checked against the code or the test named above.
No actionable comments were generated in the recent review.
Walkthrough
The user guide now documents SVG picture-marker limits and ArcGIS REST support, image reuse across multi-page PDFs, previews and fallback behavior, and image-marker rendering in line strokes and tilted maps.
Changes: Image marker documentation
Layer / File(s)
Summary
SVG formats and image limits docs/user-guide/cartography.md, docs/user-guide/data-formats.md
The guide adds SVG draw and complexity limits, decoded-image and export-copy limits, PDF reuse and previews, and SVG picture-marker support in ArcGIS REST data.
Marker rendering and fallback behavior docs/user-guide/cartography.md, docs/user-guide/maps.md
The guide describes line-stroke image-marker sizing, appearance, selection framing and fallbacks. It also states that image markers face the viewer, shrink with distance, and fade into fog in tilted maps.
opengeos/RustGIS#2266 — The guide documents picture-marker behavior, including SVG handling and raster image limits.
Possibly related PRs
opengeos/RustGIS#2278 — Adds PNG and JPEG picture markers whose behavior this PR documents.
opengeos/RustGIS#2704 — Adds SVG picture-marker support, including ArcGIS imports, which this PR documents.
Suggested reviewers:pick2510, giswqs
Merge Risk: Minimal · up to 44b66
This documentation-only change updates the image-marker guide to match the described behavior. It does not alter runtime behavior, and no actionable merge-blocking issues remain.
Pre-merge checks: 2 · 2
Failed checks: 2 inconclusive
Check name
Status
Explanation
Resolution
Linked Issues check
Issue #3042 is the only active direct link. Its coding-relevant requirements are documentation edits: (1) data-formats.md ArcGIS REST row must state that SVG picture markers pass the same check as lay…
Make the changed blobs for docs/user-guide/data-formats.md, docs/user-guide/maps.md and docs/user-guide/cartography.md available to the checkout, or supply the whole-PR diff against merge base 128e5be. With …
Out of Scope Changes check
The PR description states that the change is documentation only. It lists three content changes tied to #3042 and re-wrapping. The AI-generated raw summary for cartography.md describes additional cont…
Make the whole-PR diff for docs/user-guide/cartography.md available (merge base 128e5be to head 44b660a). Confirm whether the added SVG budget, cache cap and fallback text ar…
Passed checks: 2 passed
Check name
Status
Explanation
Title check
The title names the main change: image-marker documentation updates covering SVG from services, PDF pages, and fog behavior, plus clearer wording. It is a docs-only change, so the conventional-commit …
Description check
The description follows the template's Summary, Testing, UI evidence, and Related issue sections. Summary explains the documentation changes and their sources. Testing states that no build or tests we…
Full details: Title check
Explanation
The title names the main change: image-marker documentation updates covering SVG from services, PDF pages, and fog behavior, plus clearer wording. It is a docs-only change, so the conventional-commit prefix matches. It is somewhat long (89 characters) and lists several items, but it is specific and related to the changeset.
Full details: Description check
Explanation
The description follows the template's Summary, Testing, UI evidence, and Related issue sections. Summary explains the documentation changes and their sources. Testing states that no build or tests were run and explains how claims were checked. UI evidence states 'No visible UI change', which the template allows for documentation-only changes. Related issue cites Closes #3042. The template's HTML comments are removed, which is acceptable.
Full details: Linked Issues check
Explanation
Issue #3042 is the only active direct link. Its coding-relevant requirements are documentation edits: (1) data-formats.md ArcGIS REST row must state that SVG picture markers pass the same check as layer.marker, with the PNG/JPEG 2048 × 2048 area limit kept; (2) cartography.md must state that a multi-page PDF keeps a marker image once; (3) maps.md must state that upright markers in tilted views, image markers included, fade into fog; (4) to (7) cartography.md wording and wrapping fixes at lines 112, 131, 139, 376, 110 and 130. The PR description and the AI-generated raw summary both claim these edits. However, the repository diff against the merge base could not be read because changed blobs are missing from the checkout. A head file read of data-formats.md was truncated before the ArcGIS REST row (line 343), and no read of maps.md or cartography.md was completed. The edited text therefore cannot be confirmed from source. The claimed test name was not verified either. The PR description's claims match the issue's requirements, but no source evidence establishes the edited wording.
Resolution
Make the changed blobs for docs/user-guide/data-formats.md, docs/user-guide/maps.md and docs/user-guide/cartography.md available to the checkout, or supply the whole-PR diff against merge base 128e5be. With that evidence, confirm the text at data-formats.md:343, maps.md:81 and cartography.md lines 110 to 139 and 376. Confirm the cited code at crates/engine/src/cmd/service.rs:579 and the test a_picture_marker_is_one_image_object_across_the_pages_of_a_pdf, if the claims rely on them.
Full details: Out of Scope Changes check
Explanation
The PR description states that the change is documentation only. It lists three content changes tied to #3042 and re-wrapping. The AI-generated raw summary for cartography.md describes additional content: SVG draw, element, point and curve budgets, decoded-image cache caps, a compressed export budget, Layers pane and legend preview text, and image-marker fallback behavior. None of that appears in #3042 or in the PR description. The raw summary is unverified and may be inaccurate. The diff could not be read to confirm or refute these additions, so no concrete out-of-scope change is demonstrated and none is ruled out.
Resolution
Make the whole-PR diff for docs/user-guide/cartography.md available (merge base 128e5be to head 44b660a). Confirm whether the added SVG budget, cache cap and fallback text are present. If present, decide whether they belong to #3042 or are out of scope.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit reads the marker guide beneath the moonlit tree. SVGs hop through measured bounds, with limits plain to see. PDF pages share one picture as the pages softly turn. Line-stroke circles wait when images cannot render. In tilted maps, the markers face the fog and fade from view.
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: ASSERTIVE
Plan: Advanced
Run ID: bd7a93e0-11c2-49d0-8c17-1bc3c6c866c5
Commits
Reviewing files that changed from the base of the PR and between 5d49160 and 44b660a.
Files selected for processing: 3
docs/user-guide/cartography.md
docs/user-guide/data-formats.md
docs/user-guide/maps.md
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.
I found no bugs, security issues, performance problems or AGENTS.md breaks. This PR changes only three Markdown files under docs/user-guide/, and the new claims match the code they describe. No inline comments were posted.
Bugs
None found.
Security
None found.
Performance
None found.
Quality
None worth raising. The re-wrapped paragraphs keep their wording, apart from the intended edits.
AGENTS.md
None found. The docs-only change has no code, command, schema or asset to check against the rules.
What I checked (high confidence)
ArcGIS SVG markers (data-formats.md): the cited path is right. crates/engine/src/cmd/service.rs:579 checks new images with picture_marker_check, the same check layer.marker uses. The PNG/JPEG limit of 2048 × 2048 pixels by area matches MARKER_PIXELS in crates/render/src/picture.rs.
PDF reuse (cartography.md): the cited test a_picture_marker_is_one_image_object_across_the_pages_of_a_pdf exists at crates/render/src/lib.rs:15253.
Fog for image markers (maps.md):foggy_picture_marker in crates/render/src/lib.rs (about line 4140) supports the claim.
Anchor: the new cartography.md#symbology link resolves to the ## Symbology heading.
Twins: the family checks (format read routes, overlay tools, add/open commands, wasm branches) don't apply to a docs-only change.
Prior reviews:prior-reviews.json has no threads, so no earlier concerns were left alone.
Change size
Compared with the base branch (merge base 128e5be to PR head 44b660a), per stats.json.
GitHub Pages takes a minute or two to publish a new commit. Newer commits from the fork aren't published until a maintainer adds the preview label (once per commit).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings the user guide's text on image markers up to date and makes it easier to read. Documentation only.
data-formats.md(ArcGIS REST): a service's picture marker takes an SVG image too, through the same check aslayer.marker(crates/engine/src/cmd/service.rs). A PNG or JPEG keeps its limit of 2048 × 2048 pixels by area.cartography.md: a PDF of several pages keeps a marker image once for all of them (pinned bya_picture_marker_is_one_image_object_across_the_pages_of_a_pdf).maps.md: upright markers in a tilted view fade into the fog, image markers included.cartography.mdwording: "one with more to draw" now says "an SVG"; the image's size and rotation text starts its own paragraph; thelayer.markerexample is introduced by "By command:" instead of the previews sentence's colon; a 139-character line is re-wrapped, along with the paragraphs round the edits.The other changed lines are re-wrapping only.
Testing
Documentation only: no build or tests run. Each new claim was checked against the code or the test named above.
UI evidence
No visible UI change.
Related issue
Closes #3042.
Summary by CodeRabbit