You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Delete Field leaves an extrusion or a marker rotation reading the deleted field, without a notice #2081
I searched the existing issues and did not find a duplicate.
This is a bug report, not a usage question.
What happened?
edit.deleteField says it removes a field and every reference to it, and it does for the renderer, labels, the data design and diagrams, each with a notice. Three references stay:
the marker rotation's field (marker_rotation.field).
With the field gone, the extrusion draws at its constant height and base and the markers stop turning, with nothing said. The saved project keeps the deleted name, so a field added later under that name is picked up again without the user choosing it.
Steps to reproduce
rustgis-cli run --sample --cmd 'layer.extrusion={"layer":"Countries","type":"field","field":"pop_est","factor":0.002}' --cmd 'edit.deleteField={"layer":"Countries","field":"pop_est"}' --cmd 'project.save={"path":"/tmp/deleted.rgis"}'
The output has no notice about the extrusion, and /tmp/deleted.rgis still has "field": "pop_est" in the layer's extrusion.
Expected behavior
As with the other references, each is cleared with one notice per layer: the extrusion's height falls back to its constant, its base field is cleared (the base falls back to its constant), and the marker rotation is removed.
How are you running RustGIS?
Built from source (command line; the desktop app's Delete Field runs the same command).
Activity
jgregoriorincon commentedon Nov 14, 2026
I'll take this one.
fix(engine): Delete Field also removes symbol expressions reading the…
fix(engine): Delete Field clears an extrusion or a marker rotation re…