Re: [OSM-talk-be] tag street from calc file

2011-03-27 Thread Jo
Salut Julien,

J'en ai encore 2 à faire manuellement:

Rue duVieux ChâteauGuillemins
RueDerriere le ChâteauJupille

Jo
___
Talk-be mailing list
Talk-be@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-be


Re: [OSM-talk-be] tag street from calc file

2011-03-27 Thread Jo
Salut Julien,

Ça y est! Ils sont tous dedans. Il y en a qui sont munis d'un tag fixme. Tu
peux les retrouver dans JOSM avec fixme:

Jo
___
Talk-be mailing list
Talk-be@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-be


Re: [OSM-talk-be] tag street from calc file

2011-03-27 Thread Julien Fastré
As I replied to you in private,

Thanks for your help, your time, your knowledge!

Julien

Jo a ecrit le 27/03/2011 10:50:
 Salut Julien,
 
 Ça y est! Ils sont tous dedans. Il y en a qui sont munis d'un tag fixme. Tu
 peux les retrouver dans JOSM avec fixme:
 
 Jo
 
 
 
 
 ___
 Talk-be mailing list
 Talk-be@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/talk-be



signature.asc
Description: OpenPGP digital signature
___
Talk-be mailing list
Talk-be@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-be


Re: [OSM-talk-be] tag street from calc file

2011-03-22 Thread Jo
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é julienfas...@gmail.com

 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

2011-03-22 Thread Renaud MICHEL
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

2011-03-22 Thread Tim François
One question: under what license has the data been released?

On Tue, Mar 22, 2011 at 6:00 PM, Renaud MICHEL r.h.michel+...@gmail.comwrote:

 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

2011-03-22 Thread Andre Engels
On Tue, Mar 22, 2011 at 7:00 PM, Renaud MICHEL r.h.michel+...@gmail.com 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

2011-03-22 Thread Jo
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 r.h.michel+...@gmail.com

 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

2011-03-22 Thread Ben Laenen
Andre Engels wrote:
 On Tue, Mar 22, 2011 at 7:00 PM, Renaud MICHEL r.h.michel+...@gmail.com 
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

2011-03-22 Thread Julien Fastré
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 benlae...@gmail.com

 Andre Engels wrote:
  On Tue, Mar 22, 2011 at 7:00 PM, Renaud MICHEL r.h.michel+...@gmail.com
 
 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