[josm-dev] Creating relations with overlapped ways

Flávio Henrique yoshimit at gmail.com
Fri Jan 7 00:34:34 GMT 2011


Hi all.

After some reading I'm in doubt: it's ok to have boundaries ways overlapped
? I really need to create a relation when two boundaries shares the same
location?

thanx

Flávio Henrique

2011/1/6 Flávio Henrique <yoshimit at gmail.com>

> Hi everyone!
>
> I'm working with my city data to import do osm, but I'm need to save time
> here with one particular task.
>
> I have the neighborhood's boundaries but, sometimes, the boundary is over
> another boundary. Like the image attached.
>
> Noticed that district A shares the same boundaries with the others
> districts. But the data has ways for the four districts and the red line is
> where the boundaries gets overlapped.
>
> What I would like to do is: search the way's segments that are overlapped
> with others, break it in that segment and create a relation with data from
> those segments, deleting the overlapped segments.
>
> I'm trying to use the OverlappingWays class, but as the boundaries do not
> share any node, because it's independent boundaries, the validation can't
> find any overlapped way. The CrossingWays class test find many "crossing
> ways", but I'm not sure if this is the way to go.
>
> I need advices from experts to give some me directions how to achive this,
> please.
>
> Here is the full data, if someone want to look closely the boundaries:
> http://www.megaupload.com/?d=N6SOMXXZ
>
> Thank you in advance!
>
> Flávio Henrique
>


More information about the josm-dev mailing list