<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I have a separate data source which needs to be merged into the graph as part of the OSM import process. The data essentially consists of a set of ways, each consisting of a way ID and a list of nodes. The Way id corresponds to the OSM way ID exactly. The nodes consist of a lat, long and sequence number within the way (which includes the version). My current thought process is: </div><div><ul class="MailOutline"><li>to process this separate datasource first</li><li>Override <span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; ">OSMReaderHelper.parseWay, </span></li><ul><li><span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; ">and add the functionality to extract the way ID</span></li><li><span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; ">Add the external nodes to the list where applicable based on a match of the way IDs between the datasets, and in the correct order.</span></li></ul></ul><div><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-size: 11px;"><br></span></font></div></div><div><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-size: 11px;">This should allow my external data to mix in quite nicely. Can anyone suggest a better approach or a way to generalize it better?</span></font></div><div><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-size: 11px;"><br></span></font></div><div><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-size: 11px;">Regards,</span></font></div><div><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-size: 11px;">Quinton Anderson</span></font></div></body></html>