[OSM-talk] colour fills in osmarender

Dean Earley dean at earlsoft.co.uk
Thu Jun 8 20:48:48 BST 2006


>> To render an area, would the segments in the way all have to be in
>> order and all going in the same direction? If so, what would be really
>> useful, in JOSM say, would be a tool that ordered and aligned all the
>> segments in a common direction.
> 
> Yes, the path that defines the boundary of the area should be
> contiguous - this means that the to node of each segment should also
> be from node of the next segment.  SVG will try to draw something even
> if this condition is not satisfied, but the results are not pretty.
> 
> It would be useful if JOSM could change the direction of segments.  It
> would also be useful if the order of segments in a way could be seen
> and adjusted (as in the applet).

How about doing away with using segments as the bounding area for an 
area (erm?) and use nodes?
They'd still need to be in order but directionality is no longer an 
issue. I think this would simplify things a bit.

-- 
Dean Earley, Dee (dean at earlsoft.co.uk)

irc:    irc://irc.blitzed.org/
web:    http://personal.earlsoft.co.uk
phone:  +44 (0)780 8369596




More information about the talk mailing list