Repository navigation
feat(layout): type the map extent's coordinates in the Layout Wizard - #3323
jgregoriorincon merged 4 commits into
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Code reviewI found no bugs, security issues or AGENTS.md violations. I could not build or run the tests (no shell here), so everything below is from reading the diff and the surrounding source. Bugs: none found. Checked: every caller of Security: none found. Performance: none. Quality:
AGENTS.md: no violations found. Interface strings use Earlier review threads: none on this PR, so none were left alone. Change sizeCompared: the whole PR against main (merge base 69eeaee to PR head 3faa1b3).
|
📖 Docs preview
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 |
|
On the summary points:
|
Code reviewI found no bugs, security issues or AGENTS.md breaks in this PR. The change is a Coordinates option in the Layout Wizard's map step, with the engine unchanged. I checked it against the rules that apply to these files, and the one remaining point is a small quality nit. BugsNone found. What I checked:
SecurityNone found. The input is a local UI field, and there is no file, network or command surface change. PerformanceNone found. Quality
AGENTS.mdNo breaks found.
Prior reviewsOne thread (the NaN parsing on line 88) was already raised. It is resolved, outdated, and fixed in Change sizeCompared with the base branch (merge base 69eeaee to PR head 7725fe6), the whole PR against
|
|
On the other summary points: |
Summary
The Layout Wizard's Map step framed the view, a layer or the selection. It now also takes Coordinates: West, East, South and North as longitude and latitude (WGS 84) in decimal degrees, whatever the map's projection (a decimal comma too), for a sheet or figure that must cover an exact area.
layout.publicationalready takesextent, so the engine is unchanged.Surfaces: the wizard dialog, shared by desktop and browser. Commands (CLI, Python, the Assistant) already take
extent, and Create runs the same command as before.New strings wait for the release translation pass.
Not in this PR: typing the area in the map's own coordinate system, which is #3322.
Testing
Tests in
publicationwizard/map.rsfor each case above, plus Create for a sheet, a figure and the whole world on Web Mercator, the fields inside a 420 pt wide window, and Cancel.Local, before the first push:
cargo fmt --all --check,cargo clippyonrustgis-ui-eguiwith-D warnings,cargo nextest(10,777 passed, 29 skipped; two DuckDB tests that fail on this machine are left out), doctests,cargo xtask layersandcargo xtask schema --check. After the last fix: fmt, clippy onrustgis-ui-eguiand its 162 wizard tests. Screenshots fromui_shot.UI evidence
Map step, before and after (the fields filled from the view):
An area out of order, and the review of a typed one:
The sheet Create made from those coordinates:
Related issue
Closes #3307
Summary by CodeRabbit