Skip to content

docs(comparison): coordinate systems as they are since layers keep their own - #3026

Merged
Mavrick-F merged 1 commit into
opengeos:mainfrom
Mavrick-F:docs/qgis-coordinate-systems
Nov 26, 2026
Merged

Mavrick-F merged 1 commit into
opengeos:mainfrom
Mavrick-F:docs/qgis-coordinate-systems

Conversation

@Mavrick-F

@Mavrick-F Mavrick-F commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

The QGIS comparison page still said RustGIS holds vector coordinates as WGS 84 longitude/latitude and reprojects rasters and the map by EPSG code. That stopped being true with the #2032 migration:

The bullet and the table row now say that, and name what's still missing: heights aren't converted, as layers have no vertical or compound systems yet (#2032 phase D).

Found while working on #1227, next to the database-editing fix in #3000.

Testing

Docs only, so cargo xtask ci was skipped. zensical build passes, with only the earlier maintaining.md link warning, and the non-Cargo pre-commit hooks pass.

Summary by CodeRabbit

  • Documentation
    • Updated the QGIS comparison to clarify how coordinate systems, reprojection, and datum grids are handled, and note limitations for height conversion and vertical or compound systems.

…eir own (opengeos#1227)

The comparison page still said vector coordinates are held as WGS 84
longitude/latitude and rasters and the map reprojected by EPSG code. Since
opengeos#2580 layers keep the file's own system, tools work in a projected layer's
system (opengeos#2611 and after), and datum grids are used and downloaded on request
(opengeos#2347). Heights still aren't converted (opengeos#2032 phase D).
@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 QGIS comparison page now describes RustGIS using terrio-crs with PROJ 9.9.0’s EPSG catalog. It documents per-layer coordinate systems, reprojection during map drawing, datum-grid handling, and unsupported height conversion and vertical or compound systems.

Changes: QGIS coordinate-system comparison

Layer / File(s) Summary
Update coordinate-system comparison
docs/comparison/qgis.md
The comparison text and table describe the terrio-crs EPSG catalog, layers retaining their coordinate systems, and reprojection during drawing. The text also describes datum-grid use and availability on request, and notes unsupported height conversion and vertical or compound layer systems.

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

Change: Other

Possibly related issues

Possibly related PRs

  • opengeos/RustGIS#2409: This PR introduced the terrio-crs catalog based on PROJ 9.9.0, which the updated comparison now names.
  • opengeos/RustGIS#2580: This PR implemented native layer coordinate systems and map reprojection, which the updated comparison now describes.

Suggested reviewers: giswqs, deniial00

Merge Risk: Minimal · up to f5c50

This is a documentation-only update to the QGIS comparison page. The wording matches the documented UI path and the behavior of the CRS readers, so there is no meaningful merge risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the QGIS comparison page is updated to describe coordinate systems, since layers keep their own. The raw summary confirms the docs/comparison/qgis.md change replaces t…
Description check Passed The description covers the problem, the changes, and the testing done. It explains that the QGIS comparison page described outdated behavior: WGS 84 vector coordinates and reprojection by EPSG code. I…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the QGIS comparison page is updated to describe coordinate systems, since layers keep their own. The raw summary confirms the docs/comparison/qgis.md change replaces the WGS 84 vector description with a coordinate-system summary. The title is specific, one sentence, and under 80 characters. The phrasing is slightly awkward, but it is clear enough for a teammate scanning history.

Full details: Description check

Explanation

The description covers the problem, the changes, and the testing done. It explains that the QGIS comparison page described outdated behavior: WGS 84 vector coordinates and reprojection by EPSG code. It lists the coordinate-system changes and the remaining gap (heights not converted). The Testing section states that cargo xtask ci was skipped, that zensical build passes, and that the non-Cargo pre-commit hooks pass. The template's 'UI evidence' section is missing. It is a required section, and the author did not keep the 'No visible UI change.' line, though the description implies a docs-only change. The 'Related issue' section is also left as the template placeholder. These gaps are minor, so the check passes.

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 CRS page at dawn,
And sees each layer keep its own coordinates.
The map redraws them as they pass along,
While datum grids may join the transformations.
No height conversion hops into the scene,
Nor vertical or compound systems appear.
The rabbit nibbles clover, pleased and keen.

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: 753f08b6-3ac7-4709-96cd-2fcd2855cb41
Commits

Reviewing files that changed from the base of the PR and between e48daeb and f5c5097.

Files selected for processing: 1

  • docs/comparison/qgis.md

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.

@github-actions

Copy link
Copy Markdown
Contributor

Code review

No findings. I checked the PR's factual claims against the repository and found none that are wrong, so I posted no inline comments.

Bugs

None. The diff is a documentation change to docs/comparison/qgis.md only.

Security

None.

Performance

None.

Quality

None worth raising. The wording matches the code. One possible nit I left alone: "layers have no vertical or compound systems" is accurate for layers, but crates/data/src/citymodel.rs (around lines 376–400) reads compound codes and reports their vertical part through notices. A reader may not connect the two, but the page is not wrong. Confidence in this nit: low.

AGENTS.md

None. The change is docs-only, and the PR body states that cargo xtask ci was skipped for that reason. Under the AGENTS.md rule for surfaces, the change is a comparison page, not a command or UI change, so it has no surface to reach.

What I checked

  • terrio-crs is an unconditional dependency (not behind a target gate) of crates/data and crates/map in Cargo.toml, so "on the desktop and in the browser" holds.
  • Datum grids: the "Settings › Datum Grids" label appears in crates/ui-egui/src/chrome.rs and in engine tests, and "Download Datum Grids" appears in crates/engine/src/grids.rs. The "downloaded on request" wording matches.
  • Layers keep their own CRS: README.md line 107 already says each layer is kept and drawn in its own coordinate system. The QGIS page now agrees with it.
  • Stale claim: the old "Vectors in WGS 84" wording is gone from the repository, outside the diff's own removed lines.
  • Table row and bullet: the two places in the page now say the same thing.

I did not verify the claim that "most tools work in a projected layer's own system" tool by tool. docs/user-guide/analysis.md points the same way, and the PR body cites the relevant PRs.

Prior review threads: none exist on this PR, so no earlier concerns were left alone.

Change size

Compared with the base branch: the whole PR against main (merge base e48daeb to PR head f5c5097).

Measure Value
Files changed 1 (added 0, modified 1, removed 0, renamed 0)
Size before 15.7 KB
Size after 16.0 KB
Total size change +285 B
Path Before After Change
docs/comparison/qgis.md 15.7 KB 16.0 KB +285 B

@Mavrick-F
Mavrick-F enabled auto-merge November 26, 2026 13:23
@Mavrick-F
Mavrick-F added this pull request to the merge queue Nov 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs preview

Item Value
Preview https://preview.rustgis.app/pr-3026/
Web app https://preview.rustgis.app/pr-3026/app/
Commit f5c5097

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

Merged via the queue into opengeos:main with commit e156213 Nov 26, 2026
19 checks passed
@Mavrick-F
Mavrick-F deleted the docs/qgis-coordinate-systems branch November 26, 2026 13:42
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.

1 participant