Hi Julien,<br><br>Did you already try to open an .osm file in a text editor, after downloading it with JOSM?<br><br>You'll find it's a text file in xml format.<br><br>What I think you need is a program in a scripting language, which takes a line from the spreadsheet (exported in csv-format) and looks up the street name in the xml file. If it's found AND it is a oneway street, it can add a line:<br>
<br>cycleway=opposite (converted to the proper xml-format) and tag the way as modified.<br><br>If you like, I can try to write something which does this in Python.<br><br>Then the .osm file needs to be opened again in JOSM.<br>
<br>Now do a find (Ctrl-f) for 'modified' ways. It's important to check, since there will surely be street segments that shouldn''t have been changed (streets that only allow bicycle in contraflow in one part, but not another). On these you manually remove the cycleway=opposite tag.<br>
<br>Then use JOSM to upload all the changes in bulk to the server.<br><br>Polyglot<br><br><div class="gmail_quote">2011/3/21 Julien Fastré <span dir="ltr"><<a href="mailto:julienfastre@gmail.com">julienfastre@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br><br>User Nondidju and me received a list of SUL in our city, Liège (SUL are, in french, sens uniques limités, oneway street where cycle are allowed in contraflow).<br>
<br>This list is in a calc file. I would like to know if it exists a script which could help us to tag all those street, instead of doing it one by one in JOSM. <br>

<br>Thanks,<br>Julien FASTRE<br><a href="http://www.openstreetmap.org/user/Julien%20Fastr%C3%A9" target="_blank">http://www.openstreetmap.org/user/Julien%20Fastr%C3%A9</a><br>
<br>_______________________________________________<br>
Talk-be mailing list<br>
<a href="mailto:Talk-be@openstreetmap.org">Talk-be@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-be" target="_blank">http://lists.openstreetmap.org/listinfo/talk-be</a><br>
<br></blockquote></div><br>