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 _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
