Thanks 80n,
That has fixed the problem.
Another thing I found is that when generating the caption layer, we only need
to download the nodes from osmxapi, not all of the ways, which makes it run
orders of magnitude faster.
Regards,
Brent.
*********** REPLY SEPARATOR ***********
On 10/03/2008 at 10:41 AM 80n wrote:
A patch is needed somewhere in tilesgen.pl.
The following line is wrong:
elsif (not($SubImage->compare($EmptyLandImage) & GD_CMP_IMAGE)) # libGD
comparison returns true if images are different. (i.e. non-empty Land tile) so
return the opposite (false) if the tile doesn''t look like an empty land tile
It should be:
elsif (not($Config{"Layer.$layer.Transparent"}) &
not($SubImage->compare($EmptyLandImage) & GD_CMP_IMAGE)) # libGD comparison
returns true if images are different. (i.e. non-empty Land tile) so return the
opposite (false) if the tile doesn''t look like an empty land tile
80n
____________________________________________________________
Brent Easton
Analyst/Programmer
University of Western Sydney
Email: [EMAIL PROTECTED]
_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome