#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 by , 10 years ago
Keywords: | notes import added |
---|
comment:2 by , 10 years ago
Keywords: | osmchange osc osmand added |
---|
comment:3 by , 10 years ago
Component: | Core → Core notes |
---|---|
Owner: | changed from | to
comment:4 by , 10 years ago
Keywords: | notes removed |
---|
comment:5 by , 8 years ago
+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=
.
by , 8 years ago
Attachment: | poi_modification.note.create.osc added |
---|
by , 8 years ago
Attachment: | poi_modification.note.modify.osc added |
---|
follow-up: 9 comment:6 by , 8 years ago
Component: | Core notes → Core |
---|---|
Owner: | changed from | to
(osc files are not Notes)
comment:7 by , 7 years ago
Description: | modified (diff) |
---|
comment:9 by , 7 years ago
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 by , 7 years ago
Milestone: | → 18.08 |
---|
Moving notes tickets to their own component