Re: [OSM-talk-be] tag street from calc file
Hi Julien, Did you already try to open an .osm file in a text editor, after downloading it with JOSM? You'll find it's a text file in xml format. 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: cycleway=opposite (converted to the proper xml-format) and tag the way as modified. If you like, I can try to write something which does this in Python. Then the .osm file needs to be opened again in JOSM. 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. Then use JOSM to upload all the changes in bulk to the server. Polyglot 2011/3/21 Julien Fastré > Hi, > > 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). > > 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. > > Thanks, > Julien FASTRE > http://www.openstreetmap.org/user/Julien%20Fastr%C3%A9 > > ___ > Talk-be mailing list > Talk-be@openstreetmap.org > http://lists.openstreetmap.org/listinfo/talk-be > > ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be
Re: [OSM-talk-be] tag street from calc file
On mardi 22 mars 2011 at 18:39, Jo wrote : > cycleway=opposite (converted to the proper xml-format) and tag the way as > modified. I don't think that tag is appropriate. It implies that there is a real cycleway on the road, but in Liege (and many other places in wallonia) you simply have an exclusion to the oneway for bicycles. For those I use oneway:bicycle=no bicycle:oneway=no (not sure which one is more appropriate, so I always add both, looking at the wiki, the oneway:bicycle seems to be preferred) -- Renaud Michel ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be
Re: [OSM-talk-be] tag street from calc file
One question: under what license has the data been released? On Tue, Mar 22, 2011 at 6:00 PM, Renaud MICHEL wrote: > On mardi 22 mars 2011 at 18:39, Jo wrote : > > cycleway=opposite (converted to the proper xml-format) and tag the way as > > modified. > > I don't think that tag is appropriate. > It implies that there is a real cycleway on the road, but in Liege (and > many > other places in wallonia) you simply have an exclusion to the oneway for > bicycles. > For those I use > oneway:bicycle=no > bicycle:oneway=no > (not sure which one is more appropriate, so I always add both, looking at > the wiki, the oneway:bicycle seems to be preferred) > > -- > Renaud Michel > > ___ > Talk-be mailing list > Talk-be@openstreetmap.org > http://lists.openstreetmap.org/listinfo/talk-be > ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be
Re: [OSM-talk-be] tag street from calc file
On Tue, Mar 22, 2011 at 7:00 PM, Renaud MICHEL wrote: > On mardi 22 mars 2011 at 18:39, Jo wrote : >> cycleway=opposite (converted to the proper xml-format) and tag the way as >> modified. > > I don't think that tag is appropriate. > It implies that there is a real cycleway on the road, but in Liege (and many > other places in wallonia) you simply have an exclusion to the oneway for > bicycles. No, cycleway=opposite means exactly that - a one way road that cyclists are allowed to ride in the opposite direction. See http://wiki.openstreetmap.org/wiki/Key:cycleway > For those I use > oneway:bicycle=no > bicycle:oneway=no > (not sure which one is more appropriate, so I always add both, looking at > the wiki, the oneway:bicycle seems to be preferred) -- André Engels, andreeng...@gmail.com ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be
Re: [OSM-talk-be] tag street from calc file
On mardi 22 mars 2011 at 19:20, you wrote : > No, cycleway=opposite means exactly that - a one way road that > cyclists are allowed to ride in the opposite direction. See > http://wiki.openstreetmap.org/wiki/Key:cycleway And once again there is more than one way to tag it... That's the kind of thing that demotivate me about OSM. -- Renaud Michel ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be
Re: [OSM-talk-be] tag street from calc file
To be honest I'm not thrilled with the cycleway=opposite key either. It's something that goes back many years though, when the British cycle map was started. From the time before : were present in keys. I prefer oneway:bicycle=no myself. If the license is suitable, would you want me to create a Python script that merges the spreadsheet with the osm-data? Jo 2011/3/22 Renaud MICHEL > On mardi 22 mars 2011 at 19:20, you wrote : > > No, cycleway=opposite means exactly that - a one way road that > > cyclists are allowed to ride in the opposite direction. See > > http://wiki.openstreetmap.org/wiki/Key:cycleway > > And once again there is more than one way to tag it... > > That's the kind of thing that demotivate me about OSM. > > -- > Renaud Michel > > ___ > Talk-be mailing list > Talk-be@openstreetmap.org > http://lists.openstreetmap.org/listinfo/talk-be > ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be
Re: [OSM-talk-be] tag street from calc file
Andre Engels wrote: > On Tue, Mar 22, 2011 at 7:00 PM, Renaud MICHEL wrote: > > On mardi 22 mars 2011 at 18:39, Jo wrote : > >> cycleway=opposite (converted to the proper xml-format) and tag the way > >> as modified. > > > > I don't think that tag is appropriate. > > It implies that there is a real cycleway on the road, but in Liege (and > > many other places in wallonia) you simply have an exclusion to the > > oneway for bicycles. > > No, cycleway=opposite means exactly that - a one way road that > cyclists are allowed to ride in the opposite direction. See > http://wiki.openstreetmap.org/wiki/Key:cycleway The main problem with it is that it doesn't tell anything about mopeds. As you know many oneway streets also allow mopeds class A in the opposite direction. My preference has always gone to bicycle:oneway=no moped_A:oneway=no and I'm sure that the reasoning why I choose this and not oneway:bicycle=no can be found in a couple of places in different discussions in mailing lists and wiki, but I'm not gonna dig those up now. My unfinished traffic signs tool also makes use of these: http://mijndev.openstreetmap.nl/~eimai/verkeersborden/ Ben ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be
Re: [OSM-talk-be] tag street from calc file
Hi everybody! @Jo and @Tim: I am not sure about the license and I was asking myself if I could use it or not... Actually, it's a friend of mine, who is also mapper, who told me he obtains this file from the city of Liege a couple of years ago. He could use it for maps from pro-velo, I think. I am going to clarify that with him, I think he is advised about this question of license but he did not told me explicitly the data were open. (This user also had a contact last month with the service of "urbanisme" who use map-tools, which was quite enthusiast as he explained OSM... Maybe something, one day? We are going to talk again with this service in a couple of days...) @Jo: Yes, your proposition sounds good for me. I have already made import from OSM into a postgis database. I was thinking about something with a php (i know php better than python) script and a database with a recent import. I don't have a lot of time for doing that, if you feel ready to help me I will be happy... If, you too, you don't have much time I will cope, but it won't be next week... @all: I don't like the tag cycleway=opposite too, for the same reason: it is confusing. But it is a lot more used than bicycle:oneway=no or oneway:bicycle=no. cycleway=opposite is used 17212 times, oneway:bicycle 673 and bicycle:oneway 1228. The question is: should we not change something because it is used many times? Or should we adopt tag habits we are consistent (FR: cohérent)? May i, in my future screen, add both tags (cycleway=opposite + bicycle:oneway=no) ? Julien 2011/3/22 Ben Laenen > Andre Engels wrote: > > On Tue, Mar 22, 2011 at 7:00 PM, Renaud MICHEL > > wrote: > > > On mardi 22 mars 2011 at 18:39, Jo wrote : > > >> cycleway=opposite (converted to the proper xml-format) and tag the way > > >> as modified. > > > > > > I don't think that tag is appropriate. > > > It implies that there is a real cycleway on the road, but in Liege (and > > > many other places in wallonia) you simply have an exclusion to the > > > oneway for bicycles. > > > > No, cycleway=opposite means exactly that - a one way road that > > cyclists are allowed to ride in the opposite direction. See > > http://wiki.openstreetmap.org/wiki/Key:cycleway > > The main problem with it is that it doesn't tell anything about mopeds. As > you > know many oneway streets also allow mopeds class A in the opposite > direction. > > My preference has always gone to > > bicycle:oneway=no > moped_A:oneway=no > > and I'm sure that the reasoning why I choose this and not oneway:bicycle=no > can be found in a couple of places in different discussions in mailing > lists > and wiki, but I'm not gonna dig those up now. My unfinished traffic signs > tool > also makes use of these: > http://mijndev.openstreetmap.nl/~eimai/verkeersborden/ > > Ben > > ___ > Talk-be mailing list > Talk-be@openstreetmap.org > http://lists.openstreetmap.org/listinfo/talk-be > ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be
Re: [OSM-talk-be] tag street from calc file
On 03/22/2011 06:47 PM, Renaud MICHEL wrote: And once again there is more than one way to tag it... That's the kind of thing that demotivate me about OSM. That's exactly my feeling, and it is one of my reasons to only map bare essentials. More than work enough left to be done in tiny Belgium! C'est tres precisement mon ennui avec OpenStreetMap: il y a trop d'options et trop de facons pour faire une et la meme chose. Pour moi c'est une raison en plus pour seulement ajouter les essentiels: rues, routes et chemins, leurs noms et, selon le cas, le numero, et quelques reperes utiles comme p.e. gares, commerces, eglises. On en est fort lojn d'avoir tout cela pour tout le pays! (excusez du manque d'accents, je n'ai pas encore trouve comment les produire sous Suse 11.3 sur mon beau nouveau qwerty...) Keer op keer voel ik precies deze zelfde ergernis: er zijn teveel wegen die naar Rome leiden. Een reden te meer om eerst en vooral een minimum te mappen: straten/wegen, wegnummers, straatnamen, en eventueel wat referentiepunten zoals kerken, stations, winkels. Als er dat allemaal op staat voor heel Belgie zullen we al goed gewerkt hebben! KA ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be
[OSM-talk-be] contact to city of Liège
Hi julien, do you know whether your friend is in contact with TEC too ? - I didn't get a reply on my attempt asking for their bus system plans ... Well to be honest this might be the case because my french isn't good enough ;-) If it's possible I'd be pleasant if you'd ask @TEC in Liège for their data, because they're responsible for our whole region (Verviers/Liège) Thanks in advance benste <> signature.asc Description: This is a digitally signed message part ___ Talk-be mailing list Talk-be@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-be