[OSM-talk] Tidying up.

Lester Caine lester at lsces.co.uk
Sat Feb 24 23:19:51 GMT 2007


Dirk-Lüder Kreie wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Lester Caine schrieb:
>> Now that I'm actively working on live data I'm finding a few more things 
>> that are difficult to fix so perhaps someone has an easy solution.
>>
>> I've been using JOSM, the on-line edit and just tried Merkaartor.
> 
> 
> JOSM
> 
> I do everything in JOSM except joining ways (well sort of I use JOSM for
> it, but not as a 1-step thing), and for mapping from yahoo imagery I use
> the online applet. (however after inserting nodes and segments I
> immediately switch over to JOSM)
> 
>> 1. A way already exists, but does not have the split section approaching 
>> a roundabout, so I need to delete the last segment and create two 
>> separate segments with the right direction.
> 
> in JOSM: chose the way tool, select the way, click the last segment:
> violà: a bare segment. now you can modify that end as you wish. (create
> a second segment and the corresponding ways or delete the segment and
> rework the junction or whatever)

That was one of the bits I was missing. Makes life easier. Some bits are 
still  a bit of a drag though ( see later )

>> JOSM only allows me to 
>> delete the whole way. The on-line editor lets me delete a node at the 
>> end of the way and then rebuild, but it's clunky. So i've been deleting 
>> the nodes in one and the doing a clean download in JOSM. But Merk. is 
>> showing me that the directions are wrong, which I can change in there - 
>> except some of the roundabouts have segments going opposite directions 
>> and Merk. does all the segments at once.
> 
> JOSM can also show you the direction of the segments, it's in the
> preferences...

Found than now as well, but it would be nice if it obeyed the 
oneway=true :( Gets very cluttered otherwise.
It would be useful if the reverse segment function would reverse ways as 
well. It's a bit of a problem when you are adding stuff to existing half 
finished roads that were drawn from the other end.

>> 2. I have a lot of bridge sections to insert, and so I need to split the 
>> way in three. Any way of doing that without wiping the whole way?
> 
> In JOSM: select the way, select the nodes at the beginning and end of
> the bridge (shift click) and select "split way".

OK - downloaded the latest version and have that working now.

>> 3. If I add elements to the end of a way, and tell it to reorder in the 
>> final step, should all the segments be in sequence? I have a few ways 
>> where the numbering of the segments in Merk. is out of order. What is 
>> the easiest way to correct that?
> 
> JOSM's "reorder segments" function should always order the segments in
> the right order, if that fails you should report it as a bug IMHO.

That seems to be tied up with the direction changes. I found one of the 
segments was reversed, but perhaps THAT should have been corrected as well

>> 4. I suspect what I actually need is a text editor to allow me to tidy 
>> these sort of things, and that the API would allow me to access and 
>> update things, but I'm having trouble identifying way numbers. Is there 
>> any tool for tweaking things in text?
> 
> Not sure what you want to do here...

I'm use to being able to modify things 'in-line'. A number of the little 
tidies that I have spent the lat couple of hous on would have been easy 
if I could just have fixed the record rather than having to delete 
things and add them back in. :( Actually what would be VERY useful would 
be a 'cloan' function for tags. Having tagged the main road, I could 
cloan those tags to the roundabout approach, add the oneway, and then 
cloan that to the other approaches that match. Anything to cut down typing.

-- 
Lester Caine - G8HFL
-----------------------------
L.S.Caine Electronic Services - http://home.lsces.co.uk
Model Engineers Digital Workshop - 
http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php




More information about the talk mailing list