[Feature]: Block diagram walls: draw the walls layer's fill patterns (hatch, dots) and contact lines
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- computer-graphics
Research direction
Start from the walls rendering path added in #2173: search the repository for fillLayers, hatch, dots and the handling of the walls command to see where wall polygons are built and filled. Read how the map layer applies per-class fills so the same pattern parameters can be reused in wall space, with the hatch angle measured from the wall's top edge and spacing in points. Done means the walls show the layer's hatch/dot patterns per unit and draw a thin contact line where units meet; check the result against the geological example in the issue.
Written by the indexing model from the issue text.
Description
#2173 colours a block diagram's walls by a polygon layer, using solid fills only; its body left patterns as a follow-up. Geological block diagrams use the lithology pattern on the section: crosses for granite, waves for gneiss, dots for sediments. The walls are where the reader sees the rock, so they are where the pattern matters most.
Choices in this proposal
- The walls use the fills the layer already has on the map (
layer.fillLayers:hatchanddots, with their own colour, spacing and angle). The command needs nothing new:"walls": {"layer": "geology"}picks up the layer's fills, per class. - The pattern is laid in wall space: the hatch angle is measured from the wall's top edge and the spacing is in points on the picture, so it does not stretch with exaggeration or foreshortening.
- A thin dark line is drawn where two units meet on a wall, as the ground draws the polygons' outlines.
- Contacts stay vertical, as they are now. A schematic dip with depth would be a separate issue.
Use case
Regional teaching blocks, for example 70 km across the Zona da Mata of Minas Gerais, with the geology on the walls. A Python prototype draws the patterns today; in RustGIS the walls come out as flat colours, so units with close colours (several granites, several gneisses) cannot be told apart.
- Dominant language
- Rust
- Stars
- 1.9k
- Forks
- 268
- Avg merge
- 11h 1m
- Merged PRs (30d)
- 942
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]: layer.move to the place a layer already has fails and stops a script; with several layers it leaves an empty undo stepPossibly taken @jgregoriorincon claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opengeos/RustGIS#2621 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/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
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
Maintainers usually reply within 1 day
All issues in opengeos/RustGIS
Similar issues
-
文件夹重大BUG:不支持重命名Open
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
postgresql-rules / queue-rules: implicit KEY SHARE before a parent key update, and job self-overlapOpen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
jonathanong/no-mistakes#3879 ·
Maintainers usually reply within 1 day
-
area:index v0.35.0
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pbakaus/impeccable#1653 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
nautechsystems/nautilus_trader#5741 ·
Maintainers usually reply within 1 day