Skip to content

docs(symbology): image markers: SVG from services, PDF pages, the fog and clearer wording - #3044

Merged
jgregoriorincon merged 1 commit into
opengeos:mainfrom
jgregoriorincon:docs/3042-image-marker-guide
Nov 26, 2026
Merged

jgregoriorincon merged 1 commit into
opengeos:mainfrom
jgregoriorincon:docs/3042-image-marker-guide

Conversation

@jgregoriorincon

@jgregoriorincon jgregoriorincon commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

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 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.

UI evidence

No visible UI change.

Related issue

Closes #3042.

Summary by CodeRabbit

  • Documentation
    • Clarified SVG marker limits and image fallback behavior, including supported file sizes, complexity, and rendering constraints.
    • Expanded guidance on image markers, including PDF reuse, previews, display behavior, and how markers appear when maps are tilted.

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

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.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other · Severity of issue fixed: Low

Possibly related issues

  • opengeos/RustGIS#2266 — The guide documents picture-marker behavior, including SVG handling and raster image limits.

Possibly related PRs

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: Passed 2 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive 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 Inconclusive 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 Passed checks: 2 passed

Check name Status Explanation
Title check Passed 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 Passed 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.

Share

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.

@github-actions

Copy link
Copy Markdown
Contributor

Code 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.

Measure Value
Files changed 3 (0 added, 3 modified, 0 removed, 0 renamed)
Size before 273.6 KB
Size after 273.8 KB
Total size change +226 B
File Before After Change
docs/user-guide/data-formats.md 118.9 KB 119.0 KB +95 B
docs/user-guide/cartography.md 75.2 KB 75.3 KB +88 B
docs/user-guide/maps.md 79.5 KB 79.6 KB +43 B

@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs preview

Item Value
Preview https://preview.rustgis.app/pr-3044/
Web app https://preview.rustgis.app/pr-3044/app/
Commit 44b660a

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).

@jgregoriorincon
jgregoriorincon added this pull request to the merge queue Nov 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 26, 2026
@jgregoriorincon
jgregoriorincon added this pull request to the merge queue Nov 26, 2026
Merged via the queue into opengeos:main with commit bd73d65 Nov 26, 2026
19 checks passed
@jgregoriorincon
jgregoriorincon deleted the docs/3042-image-marker-guide branch November 26, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: The guide's image marker text misses SVG from services, PDF pages and the fog, and reads badly in four places

1 participant