<div dir="ltr"><div><div><div><div><div>Hi Maarten,<br><br></div>This is the starting point for one of 2 scripts, which run in JOSM.<br><br></div>The first script compares those template routes with existing data.<br><br>The second script takes the information from 1 of the template routes, transfers it to an existing one and adds ways to the relation.<br><br></div>It's a way to keep those route relations up-to-date.<br><br></div>Sorry I wasn't very clear about that.<br><br></div>Jo<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-21 18:04 GMT+01:00 Maarten Deen <span dir="ltr"><<a href="mailto:mdeen@xs4all.nl" target="_blank">mdeen@xs4all.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2015-01-21 17:57, Jo wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Indeed, JOSM needs to be running and the remote control plugin should<br>
be enabled.<br>
<br>
</span><a href="http://localhost:8111" target="_blank">http://localhost:8111</a> [1]<span class=""><br>
<br>
talks to your local JOSM instance over the network.<br>
</span></blockquote>
<br>
Jo, there is a relation that does all the work for you, and even more:<br>
{{BrowseRelation|42418402|<u></u>tools=short}}<br>
<br>
And I also fail to see what your method should accomplice. When I take the first relation, I get 3 empty relations with id=0 in JOSM. I can not download any members because the id is 0 and when I upload them, there are three new relations in the database that should not be there.<br>
<br>
Maybe I am missing something, but what should it do?<br>
<br>
Regards,<br>
Maarten<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
JOSM then sees the following command.<br>
<br>
/import?new_layer=true&url=<a href="https://dl.dropboxusercontent.com/u/42418402/PT_lines/DL2917%20DLOV%20bus%20N17%20Drongen%20Station%20-%20P%2BR%20Oostakker.osm.zip" target="_blank">htt<u></u>ps://dl.dropboxusercontent.<u></u>com/u/42418402/PT_lines/<u></u>DL2917%20DLOV%20bus%20N17%<u></u>20Drongen%20Station%20-%20P%<u></u>2BR%20Oostakker.osm.zip</a><br></span>
[2]<span class=""><br>
<br>
and fetches the file I prepared and which got synchronised to my<br>
Dropbox.<br>
<br>
The advantage is that you don't have to go download the file yourself.<br>
<br>
It's possible to synchronise with my Dropbox, but every once in a<br>
while each of those 1900 files get updated (I didn't find a way yet to<br>
only modify them when it's actually needed). So it's better this way.<br>
Now everybody can simply grab the ones they are interested in.<br>
<br>
You can, of course, search on the page using ( / or F3 or Ctrl-f), but<br>
the table headers can be sorted as well.<br>
<br>
I'll try to populate the last 2 columns too, but that's a bit more<br>
involved to get it right.<br>
<br>
Jo<br>
<br>
<br></span>
Links:<br>
------<br>
[1] <a href="http://localhost:8111" target="_blank">http://localhost:8111</a><br>
[2]<br>
<a href="https://dl.dropboxusercontent.com/u/42418402/PT_lines/DL2917%20DLOV%20bus%20N17%20Drongen%20Station%20-%20P%2BR%20Oostakker.osm.zip" target="_blank">https://dl.dropboxusercontent.<u></u>com/u/42418402/PT_lines/<u></u>DL2917%20DLOV%20bus%20N17%<u></u>20Drongen%20Station%20-%20P%<u></u>2BR%20Oostakker.osm.zip</a><span class=""><br>
<br>
______________________________<u></u>_________________<br>
Talk-be mailing list<br>
<a href="mailto:Talk-be@openstreetmap.org" target="_blank">Talk-be@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-be" target="_blank">https://lists.openstreetmap.<u></u>org/listinfo/talk-be</a><br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
______________________________<u></u>_________________<br>
Talk-be mailing list<br>
<a href="mailto:Talk-be@openstreetmap.org" target="_blank">Talk-be@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-be" target="_blank">https://lists.openstreetmap.<u></u>org/listinfo/talk-be</a><br>
</div></div></blockquote></div><br></div>