[OSM-talk] osmarender and butted lines
Etienne
80n80n at gmail.com
Tue Sep 19 01:44:50 BST 2006
Paul
This is a known bug (at least, I know about it). Where two butt-capped ways
abutt each other, Osmarender should automatically make the end of each way
round-capped but it doesn't. I have a fix but its not quite ready yet.
The workaround is to use round caps in osm-map-features.xml. One
side-effect is that cul-de-sacs will have round caps (like Google maps)
which some people don't care for.
Etienne
On 9/19/06, Paul Dixon <paul at elphin.com> wrote:
>
> 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?
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20060919/665e66a8/attachment.html>
More information about the talk
mailing list