[Tilesathome] less inkscape runs
Alfons Andorfer
a_a at gmx.de
Fri Aug 22 12:49:59 BST 2008
Alfons Andorfer wrote:
> OK, here is the diff for "orp.pl":
>
> line 127:
> + require "tahproject.pm";
>
> 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
Damn, shifted by one line 8-( !
Correction:
-----------
line 1065:
- $height + ($minlat-$latlon->[0])*10000*$scale*$projection
+ $height + ( ProjectF($minlat) - ProjectF($latlon->[0]) )
*180/pi *10000*$scale
More information about the Tilesathome
mailing list