<div dir="ltr"><div>I made a script that could be used with the JOSM scripting plugin (see attachment).<br><br></div>Of course the script needs to be adapted (I don't know the actual CSV layout, and the final tag isn't agreed on either), but I think it will be fairly robust.<br><div><br></div><div>Regards,<br>Sander<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-25 21:39 GMT+02:00 Andrew Buck <span dir="ltr"><<a href="mailto:andrew.r.buck@gmail.com" target="_blank">andrew.r.buck@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</span>Ok, so just one additional detail... it sounds like there is no major<br>
objection to doing this so once the specific tag to use is decided on<br>
for sure and documented we are ready to go, but the person who I<br>
thought could write the script to merge them has fallen through.<br>
<br>
I would therefore need someone to write up the script to do this, I<br>
can try looking into it myself but have no experience coding such a<br>
thing so if there is anyone who can do this that would be a lot<br>
faster, better, and safer.<br>
<br>
Basically, the script just needs to take the CSV file, read through it<br>
and make a request to download all of the objects listed from the OSM<br>
api, then check each object to make sure the version number is still<br>
the same as it is in the CSV file, and if so make a .osc entry to bump<br>
the version number of the object and add the pcode tag.<br>
<br>
For objects where the version does not match up, you can either just<br>
spit out the csv line appended to an 'output.csv' file which contains<br>
all the objects that need to be manually looked at since they have<br>
changed since the original export took place (I don't expect there to<br>
be that many of these but we should handle them properly).<br>
<br>
If someone could help out with this it would be much appreciated. I<br>
think it would take me longer to learn how to write this up myself,<br>
than it would for someone with the proper knowhow to write it<br>
themselves. If you are interested, let me know and I can mail you a<br>
copy of the csv file, I think it is bigger than the mailing list would<br>
like for an attachment.<br>
<br>
- -AndrewBuck<br>
<span class="">-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.11 (GNU/Linux)<br>
<br>
</span>iQIcBAEBAgAGBQJUJG9iAAoJEK7RwIfxHSXbvwEQAKXf78e7hmz7NRbsymMi5Ilr<br>
193X8B1n58QNbDX8/gcVWFfwUNxhJB0ARdP6Ze+4yRktUigB7QkS7v24DzSIGbnj<br>
BEsC3u5qgS4AI7UlfxZ2B1SC7NfG94VlRrjr00D+IB2KVPvdkfN5z+u8ii2fIa6S<br>
EC/mJVsVphGaAGvH5nQK5gk5MrzZgR6eXKSvtZ8sXiRI/Iv3anejL6LQYXNSv1pf<br>
d46wFrrW1GEYGWB3gbRknPE9jNf95biy/utNmmxkdrT4DOz+J4xcPjbSDYym08La<br>
lPU9/bMukA0fBk7fu6dONJ4Yk0jn9iseQrERt3+r6IfdqK6AKJDyM5WMPJxhn33q<br>
8UBCSwfOeN5UhsFHfpw5aAzMNrX4TrRdEXACBqdiwG/310QGHWyzOyCQ+5W9z3RA<br>
XSEcGQ8E0vtniAf0y1Qt3TV304tTJJhmy8uZsRZugSES84W4jDZReJjJv+dOBfez<br>
xLnb+G3WWSDz37+R62W7UczJk1RdKa5BW4++Q9UKPdXOu5GeM4QtzS8B+H26NLgb<br>
rsJ3yWQZZ0Tk7iYi72Yy6IIZwWM0a55ni4rBgKBy7cyW512DkBqYMgQKcJ2qXSSm<br>
sckaQRMIKvBGjrOlAVUHDkn/W524ExH50Yztdg2exyUJXF0bB/xp2wfByfHQUk9Z<br>
ul3Oy5Z7cedM4xv/ywSf<br>
=kP6r<br>
<div class="HOEnZb"><div class="h5">-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
Imports mailing list<br>
<a href="mailto:Imports@openstreetmap.org">Imports@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/imports" target="_blank">https://lists.openstreetmap.org/listinfo/imports</a><br>
</div></div></blockquote></div><br></div>