[OSM-talk] osmarender and butted lines
Paul Dixon
paul at elphin.com
Tue Sep 19 00:19:06 BST 2006
My first attempts with osmarender produced something just a little "off"
- here is an illustration
http://files.dixo.net/osmarender_butted.png
Here several ways are joined in a circle, but where the ways are joined
at angles, it leaves a little triangular gap due to the butted ends of
the lines. If I edit my osm-map-features.xml to use a rounded cap
instead, it looks a lot better
http://files.dixo.net/osmarender_rounded.png
Here's the styles I changed:
.highway-unclassified-casing {
stroke-width: 1.5;
stroke-linecap: round;
stroke-linejoin: round;
fill: none;
stroke: #000000;
}
.highway-unclassified-core {
stroke-width: 1;
stroke-linecap: round;
stroke-linejoin: round;
stroke: #ffffff;
fill: none;
}
Is there a reason why osm-map-features.xml is not distributed this way
that I should be aware of?
More information about the talk
mailing list