[OSM-dev] OSM without segments - prototype

Gabriel Ebner ge at gabrielebner.at
Thu Aug 16 18:53:38 BST 2007


> > 3) Areas with holes implemented as noncontigous ways.  The script breaks
> > these ways up.  So right after the conversion these areas would be messed
> > up.  Maybe the script should add an entity to hold them together?  (But I
> > think that could get messy.)
> 
> And what happens to ways that form T-junctions (or more complex tree-like 
> structures)?
> 
> I guess that those would de "held together" the same way as non-contiguous 
> ways.

To be clear, I ways talking about the way a few people model islands in
rivers.  They put both riverbanks and the island in the same way and turn the
island segments counterclockwise and the riverbank segments clockwise so that
it will be rendered right in osmarender.  This method does not work in mapnik
and you'll get 'unordered way' warnings in maplint and validator.

Currently the "right" way to do complex streets (where a street with a single
name has branches for example) seems to be to split them into linear,
contiguous ways.  Making ways a list of nodes would just make that the only
possible way.

  Gabriel.





More information about the dev mailing list