[OpenLayers-Users] TC updates
Bill Woodall
bwoodall at wardrobe.dhs.org
Wed Feb 7 05:40:02 EST 2007
Hi Christopher,
Here is blurp on using Client.py seed
The code changes will have to be in 1.5, since I'm not
sure of them
.......Bill,
diff -rcwb tilecache-1.4/README tilecache-1.4_bw/README
*** tilecache-1.4/README 2007-02-03 19:17:55.000000000 -0800
--- tilecache-1.4_bw/README 2007-02-07 02:35:31.000000000 -0800
***************
*** 199,202 ****
--- 199,238 ----
tilecache.py. Similarly, you would need to edit this URL if you were
to use
TileCache with the standalone HTTP Server or FastCGI.
+ ***
***
+ *** Make sure the Openlayer maxExtent is the same as bbox in
tilecache.cfg ***
+ ***
***
+
+ To use TileCache to seed your cache
+ ===============================
+
+ * Set up the tilecache.cfg if you have not already done so in one of
the
+ above configurations
+
+ * In /var/www/tilecache/TileCache, where /var/www/tilecache is the
+ directory resulting from the code extraction.
+
+ * The syntax is in the form of;
+ <path to>python ./Client.py <url> <layer> <zoom start> <zoom stop>
<bbox>
+
+ where:
+
+ url -- http://example.com/yourdir/tilecache.cgi? or
+ http://example.com/yourdir/tilecache.py
+ layer -- same layer name that is in the tilecache.cfg
+ zoom start -- Zoom level to start the process
+ zoom end -- Zoom level to end the process
+ bbox -- The bounding box (see the *** note *** above)
+
+ An example with zoom levels 5 through 12 would be like;
+ /usr/bin/python ./Client.py
"http://example.com/yourdir/tilecache.cgi?"
+ Zip_Codes 5 12
"-118.12500,31.952162238,-116.015625,34.3071438563"
+
+ The bbox can be dropped and defaults to world
lonlat(-180,-90,180,90)
+
+ /usr/bin/python ./Client.py
"http://example.com/yourdir/tilecache.cgi?"
+ Zip_Codes 9
+
+
+
More information about the Users
mailing list