[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copied
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 64/100
Research direction
Start in crates/engine/src/cmd/layer.rs near line 2536, where link_choice is set and the Add Data question is built, and find where the default answer is chosen. Then read layerchooser.rs around line 175 to see the per-table size rule that applies when the answer is not sent. Reproduce with a GeoPackage that has one table over 100 000 rows and one under. Done when the dialog text says each table follows its own size until the user chooses, and the small table is still copied on an untouched Add.
Written by the indexing model from the issue text.
Description
What happened?
For a GeoPackage, Add Data starts the answer at "Link to the file" when any table would be read in place (link_choice, crates/engine/src/cmd/layer.rs:2536, #2849). Left untouched, the answer is not sent and each table keeps its own size rule (layerchooser.rs:175, #2350), so a small table is copied. Nothing on the dialog says that.
Steps to reproduce
- Take a GeoPackage with one table above 100 000 rows and one below.
- Add Data, pick it.
- The question is at "Link to the file". Press Add without touching it.
- The large table is linked, the small one is copied into the project.
Expected behavior
The text says each table follows its own size until the user chooses.
How are you running RustGIS?
Desktop app (built from source)
Version
4a40b749
- Dominant language
- Rust
- Stars
- 1.9k
- Forks
- 268
- Avg merge
- 8h 43m
- Merged PRs (30d)
- 931
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from opengeos/RustGIS
-
[Bug]: The ribbon's "tool active · Esc to stop" indicator is invisible to screen readersPossibly taken @jgregoriorincon claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
opengeos/RustGIS#2960 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
[Bug]: A plugin command's dialog with a long help opens with only two rows of its fields in viewPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 61/100
opengeos/RustGIS#1446 · 1 comment ·
Maintainers usually reply within 1 day
All issues in opengeos/RustGIS
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anomalyco/rune#2432 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jerney-nexus/epikrise#364 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Yeachan-Heo/gajae-code#8058 ·
Maintainers usually reply within 1 day
-
bug daemon
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day