Opened 11 years ago

Last modified 7 years ago

#11086 closed enhancement

Allow import notes form created in Osmand *.osc files — at Version 7

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 Don-vip)

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>

Change History (9)

comment:1 by skyper, 11 years ago

Keywords: notes import added

comment:2 by Don-vip, 11 years ago

Keywords: osmchange osc osmand added

comment:3 by Don-vip, 11 years ago

Component: CoreCore notes
Owner: changed from team to ToeBee

Moving notes tickets to their own component

comment:4 by Don-vip, 11 years ago

Keywords: notes removed

comment:5 by scai, 9 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 simon04, 9 years ago

by simon04, 9 years ago

comment:6 by Klumbumbus, 9 years ago

Component: Core notesCore
Owner: changed from ToeBee to team

(osc files are not Notes)

comment:7 by Don-vip, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.