[OSM-dev] [OSM-talk] Possible rendering issue in Osmarender 5

Robert Hart bathterror at gmail.com
Sun Sep 9 23:24:36 BST 2007


On 09/09/2007, Robert Hart <bathterror at gmail.com> wrote:
> > Looking at the way shows this...
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <osm version="0.4" generator="OpenStreetMap server">
> >   <way id="5475093" visible="true"
> > timestamp="2007-09-03T19:08:57+01:00" user="jackchallen">
> >     <seg id="31195521"/>
> >     <seg id="35972943"/>
> >     <seg id="35972937"/>
> >     <seg id="31195521"/>
> >     <seg id="35972937"/>
> >     <tag k="name" v="Link Lane"/>
> >     <tag k="created_by" v="JOSM"/>
> >     <tag k="highway" v="residential"/>
> >   </way>
> >   <way id="5475093" visible="false"
> > timestamp="2007-09-09T12:00:44+01:00" user="jackchallen"/>
> > </osm>
> >
> > Basically, the way contained two of the segments twice... a bit odd...
> >
>
> I think this is possible in JOSM if you combine two ways that share
> one or more segment... I'll knock up a patch to avoid that.

The attached patch prevents ways created by merging two existing ways
from containing the same segment more than once.

Rob
-- 
Robert Hart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avoiddupsaftermerge.diff
Type: text/x-patch
Size: 901 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070909/3e17c430/attachment.bin>


More information about the dev mailing list