[Tilesathome] less inkscape runs

spaetz osm at sspaeth.de
Fri Aug 22 12:51:42 BST 2008


On Fri, Aug 22, 2008 at 01:30:43PM +0200, Alfons Andorfer wrote:
Thanks.

> + require "tahproject.pm";

Mmmh, this one is not yet in the orp repository, it's only in the tah repository. Should be possible to copy. Frederik would need to decide.
 
> line 309:
> - our $dataHeight = ($maxlat - $minlat) * 10000 * $scale * $projection;
> + our $dataHeight = ( RadToDeg(ProjectF($maxlat)) - 
> RadToDeg(ProjectF($minlat)) ) * 10000 * $scale;
> 
> line 1065:
> -        $width - ($maxlon-$latlon->[1])*10000*$scale,
> +        $height + ($minlat-$latlon->[0])*10000*$scale*$projection
> 		$height + ( ProjectF($minlat) - ProjectF($latlon->[0]) ) *180/pi 
> *10000*$scale # PRO
> 
> 
> And "tilesgen.pl" needs to be patched also then.
> 
> Another issue is that in my performance investigation I discovered that 
> batik does not behave well in regards of redering speed (SVG->PNG), i.e. 
> that creating big PNGs with inkscape took about 2 mins for a specific 
> file, the same file being processed with batik took over 30 mins!

Outch, that's quite bad. Thanks for the info. It might be that we need different rendering approaches for inkscape vs batik then.

spaetz




More information about the Tilesathome mailing list