Opened 4 days ago
Last modified 3 days ago
#24854 new enhancement
Support exchanging way nodes via comfort0
| Reported by: | aharvey | Owned by: | simon04 |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin comfort0 | Version: | |
| Keywords: | Cc: |
Description
In my mapping use case, I way A which I want to retain in OSM with full history, and way B which I want to delete from OSM, however I'd like way A to drop/delete all of it's original nodes, and instead use the nodes from way B.
In other words swap the geometry from way B to way A.
More Tools > Replace Geometry doesn't work since both ways are already in the database.
I thought I could do this with level0, just move the nodes from way B to way A and then delete the way A nodes, but,
- when I did that, nothing happened
- when I tried to use "-way" to remove a way with level0, I just got an error that an unexpected exception occured.
Attachments (0)
Change History (3)
comment:1 by , 4 days ago
comment:2 by , 3 days ago
for my specific use case I found asking an LLM to build a plugin worked better https://github.com/andrewharvey/josm-replace-nodes, but it would still be nice to have the ability to do this via level0 too.
comment:3 by , 3 days ago
I recently had the same use case with two building outlines and solved it by drawing a new way using the Follow line action so that I could use the Replace geometry action later. Of course more manual actions, but good enough for this rare case.



`net.simon04.comfort0.level0l.parsergen.TokenMgrError: Lexical error at line 1, column 2. Encountered: 'w' (119), after prefix "-"
`