[ka-Map-dev] [Bug 1284] [ka-Map] re-add precache.php to cvs

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Thu Feb 9 20:55:44 EST 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1284

tim at commenspace.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From tim at commenspace.org  2006-02-09 20:55 -------
I'm committing a rewritten precache.php, called from the command line as follows

Usage:
    php precache.php [<-options>] <tile_url>

    Where <tile_url> is the URL to your tile.php script
    (e.g. http://localhost/ka-map/htdocs/tile.php)

    Options:
        -f          Force tile.php to overwrite existing cached images
        -m <map>    Limit cache creation to a single map
        -s <scale>  Limit cache creation to a single scale

Because file_get_contents() occasionally fails, I've included some basic error
reporting.  I also noticed that a browser creates some more "beyond the edge"
tiles than this precache.php, but as far as I could tell, they were all blank
images.  Interested to know if it works for others.

Tim Schaub



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the ka-Map-dev mailing list