[Tilesathome] Disable beziercurvehinting for power=line inOsmarender

Dodi dodi at moonbase.sk
Sat May 24 19:16:10 BST 2008


----- Original Message ----- 
From: "Jannis Achstetter" <kripton at kripserver.net>
To: <tilesathome at openstreetmap.org>
Sent: Saturday, May 24, 2008 3:20 PM
Subject: [Tilesathome] Disable beziercurvehinting for power=line 
inOsmarender


> Hello,
> I just noticed here (
> http://informationfreeway.org/?lat=49.9912959686163&lon=9.088502345908955&zoom=17&layers=B000F000F
> ) that powerlines are beziercurvehinted. While this is ok for streets,
> powerline usually run in straight lines (wind and hurricanes ignored).
> Can someone please exclude them from the bezier-processing (would even
> save us some ms of calculating ;)

Bezier curve hinting is implemented outside of osmarender by lines2curves.pl 
postprocesing script, so there is no selective exclusion from bezier curve 
hinting only all or none.

I have experimental version of osmarender.xsl and modified version of 
lines2curves.pl  wich support selective rule based bezier curve hinting 
exclusion
but my modified version of osmarender is not (fully) compatible with  t at h's 
one, and requires another postprocessor "waycleanup.pl" for svg file 
reduction before rendering.

Maybe I can implement these changes into t at h scripts if there is an interest 
(or someone with more knowlegde of current t at h infrastructure can do that, 
sources are at http://svn.moonbase.sk/FreemapSlovakiaDiSK ). Also I have 
some tile antialiasing modification (example 
http://wiki.openstreetmap.org/index.php/Image:Tile_antialiasing.png).

Dodi

>
> Jannis
>
> _______________________________________________
> Tilesathome mailing list
> Tilesathome at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
> 





More information about the Tilesathome mailing list