[OSM-dev] Osmarender : curved road endings
spaetz
osm at sspaeth.de
Sun Aug 19 10:01:05 BST 2007
On Sat, Aug 18, 2007 at 08:42:48PM +0200, Jon Bright wrote:
> The attached patch changes stroke-linecap for highway casings and core from
> butt to round for zoom levels 15 and above. This results in dead ends
> having curved "caps". Maybe it's just me, but I find that this looks lots
> better - without this, the roads just... stop. Was there a reason that
> this wasn't originally done, or was it just a taste thing?
Please found out if that was a conscious choice by Etienne (80n). If not, I will apply the patch. If yes, I won't override his choices.
spaetz
> --
> Jon
> Index: osm-map-features-z15.xml
> ===================================================================
> --- osm-map-features-z15.xml (revision 4213)
> +++ osm-map-features-z15.xml (working copy)
> @@ -786,13 +786,13 @@
>
> /* Highways - generic style */
> .highway-casing {
> - stroke-linecap: butt;
> + stroke-linecap: round;
> stroke-linejoin: round;
> fill: none;
> }
>
> .highway-core {
> - stroke-linecap: butt;
> + stroke-linecap: round;
> stroke-linejoin: round;
> fill: none;
> }
> Index: osm-map-features-z16.xml
> ===================================================================
> --- osm-map-features-z16.xml (revision 4213)
> +++ osm-map-features-z16.xml (working copy)
> @@ -890,13 +890,13 @@
>
> /* Highways - generic style */
> .highway-casing {
> - stroke-linecap: butt;
> + stroke-linecap: round;
> stroke-linejoin: round;
> fill: none;
> }
>
> .highway-core {
> - stroke-linecap: butt;
> + stroke-linecap: round;
> stroke-linejoin: round;
> fill: none;
> }
> Index: osm-map-features-z17.xml
> ===================================================================
> --- osm-map-features-z17.xml (revision 4213)
> +++ osm-map-features-z17.xml (working copy)
> @@ -983,13 +983,13 @@
>
> /* Highways - generic style */
> .highway-casing {
> - stroke-linecap: butt;
> + stroke-linecap: round;
> stroke-linejoin: round;
> fill: none;
> }
>
> .highway-core {
> - stroke-linecap: butt;
> + stroke-linecap: round;
> stroke-linejoin: round;
> fill: none;
> }
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070819/47fcbc59/attachment.pgp>
More information about the dev
mailing list