#11086 closed enhancement (fixed)
Allow import notes form created in Osmand *.osc files
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 18.08 |
| Component: | Core notes | Version: | latest |
| Keywords: | import, osmchange, osc, osmand | Cc: |
Description (last modified by )
I have notes created in Osmand and when trying open in JOSM, then get info about no data in file.
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?> <osmChange generator="OsmAnd" version="0.6"> <create> <note lat="50.23887555404037" lon="13.358299552342795" id="-2"> <comment text="something" /> </note> </create> <modify /> <delete /> </osmChange>
Attachments (2)
Change History (13)
comment:1 Changed 8 years ago by
| Keywords: | notes import added |
|---|
comment:2 Changed 8 years ago by
| Keywords: | osmchange osc osmand added |
|---|
comment:3 Changed 8 years ago by
| Component: | Core → Core notes |
|---|---|
| Owner: | changed from team to ToeBee |
comment:4 Changed 8 years ago by
| Keywords: | notes removed |
|---|
comment:5 Changed 6 years ago by
+1 For supporting OsmAnd notes.
Until then you can use this litte sed script for converting notes to nodes with a note tag. The resulting file can be opened in JOSM:
sed -i 's/note/node/g; s/comment text=/tag k="note" v=/g' poi_modification.osc
For the people without sed: Open poi_modification.osc in your favorite text editor, then replace all occurrences of note with node, then every comment text= with tag k="note" v=.
Changed 6 years ago by
| Attachment: | poi_modification.note.create.osc added |
|---|
Changed 6 years ago by
| Attachment: | poi_modification.note.modify.osc added |
|---|
comment:6 follow-up: 9 Changed 6 years ago by
| Component: | Core notes → Core |
|---|---|
| Owner: | changed from ToeBee to team |
(osc files are not Notes)
comment:7 Changed 5 years ago by
| Description: | modified (diff) |
|---|
comment:9 Changed 5 years ago by
| Component: | Core → Core notes |
|---|
Replying to Klumbumbus:
(osc files are not Notes)
OK, these are Notes nevertheless (even if the default data format is .osn!?)
comment:11 Changed 5 years ago by
| Milestone: | → 18.08 |
|---|



Moving notes tickets to their own component