Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#16762 closed defect (fixed)

OSC files from osmand only shows one note

Reported by: anonymous Owned by: team
Priority: normal Milestone: 18.09
Component: Core Version: tested
Keywords: osmand osc note Cc:

Description (last modified by Don-vip)

when sending a osc file to your computer, and opening it in JOSM, only the first note shows up for some reason.
For example, from this osc file the only note that shows up is "axis bank"

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<osmChange generator="OsmAnd" version="0.6">
  <create>
    <note lat="18.49140922785058" lon="73.82154644626345" id="-3">
      <comment text="axis bank" />
    </note>
    <note lat="18.491090341843343" lon="73.82276366023234" id="-2">
      <comment text="Vithal Mandir Road" />
    </note>
    <note lat="18.49146749380727" lon="73.81913394212947" id="-4">
      <comment text="road connect is here" />
    </note>
 </create>
  <modify />
  <delete />
</osmChange>

If you modify the file so that the "road connect is here" note is at the top, then that will be the only note shown:

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<osmChange generator="OsmAnd" version="0.6">
  <create>
    <note lat="18.49146749380727" lon="73.81913394212947" id="-4">
      <comment text="road connect is here" />
    </note>
    <note lat="18.49140922785058" lon="73.82154644626345" id="-3">
      <comment text="axis bank" />
    </note>
 </create>
  <modify />
  <delete />
</osmChange>

It would be useful if we could use osmand osc files in osmand. Thank you

Attachments (0)

Change History (4)

comment:1 by Don-vip, 6 years ago

Component: External presetCore
Description: modified (diff)
Keywords: osc note added

comment:2 by Don-vip, 6 years ago

Milestone: 18.09

comment:3 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 14266/josm:

fix #16762 - support multiple notes in .osc files created by OsmAnd

comment:4 by Don-vip, 6 years ago

Thanks for the nice bug report :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.