From pankaj.bansal.jiit at gmail.com Sun Jan 12 03:52:59 2014 From: pankaj.bansal.jiit at gmail.com (pankaj123) Date: Sun, 12 Jan 2014 03:52:59 -0800 (PST) Subject: [Tilecache] using tileCacha for TMS data in openlayers Message-ID: <1389527579933-5097525.post@n6.nabble.com> I have a TMS cache data which I want to load in openlayers. I have tms.xml file which have info about the TMS cache and then data. I saw the example in openlayers documentation here http://dev.openlayers.org/docs/files/OpenLayers/Layer/TMS-js.html and in that example tilecache is being used. I dont have any .py file. I just have a .xml file. I am writing the .xml for reference. How should I proceed. Do I have to use tileCache or there is some way? PS. I am able to load this data in OSGEarth. So data is not corrupt. ///////******/////////// epsg:4326 ////////////************/////////////// Any help. Please I really need this ASAP... Regards Pankaj Bansal -- View this message in context: http://osgeo-org.1560.x6.nabble.com/using-tileCacha-for-TMS-data-in-openlayers-tp5097525.html Sent from the TileCache mailing list archive at Nabble.com. From markieta.m at gmail.com Wed Jan 22 23:19:43 2014 From: markieta.m at gmail.com (Michael Markieta) Date: Thu, 23 Jan 2014 02:19:43 -0500 Subject: [Tilecache] how to specify readonly tilecache Message-ID: I haven't found any documentation on this, and very old posts on the list mention readonly=yes as a parameter that can be used for the cache itself. I haven't had any luck with that. Is there a way to tell TileCache to ignore missing tiles and operate in a readonly mode. *Michael Markieta* GIS Consultant 5 Royal Street Toronto Ontario Canada M6N3Z3 *c *416 833 5581 *d* 416 604 9647 www.spatialanalysis.ca Find me on LinkedIn -------------- next part -------------- An HTML attachment was scrubbed... URL: From agnar.renolen at emap.no Thu Jan 23 04:10:28 2014 From: agnar.renolen at emap.no (Agnar Renolen) Date: Thu, 23 Jan 2014 13:10:28 +0100 Subject: [Tilecache] Seeding without the running server Message-ID: <52E106B4.9050003@emap.no> How is the tilecache_seed.py script working? Does it need to have the tilcache server up an running, or can you run tilecache_seed standalone, just to create the tiles. I need to seed a tilcache before moving the tiles to a Web server that does not have any map server. No need to have it running on our own server. Agnar -- Agnar Renolen eMap as (www.emap.no) Vegamot 4B, 7048 Trondheim tlf: 489 50 480 (dir) From ritesh.linux at gmail.com Fri Jan 24 04:41:18 2014 From: ritesh.linux at gmail.com (Ritesh Ambastha) Date: Fri, 24 Jan 2014 18:11:18 +0530 Subject: [Tilecache] Seeding without the running server In-Reply-To: <52E106B4.9050003@emap.no> References: <52E106B4.9050003@emap.no> Message-ID: You can run it standalone too. Read: http://tilecache.org/docs/README.html [The last examples] An example with zoom levels 5 through 12 and ~2 extra tiles around each zoom level would be like: $ tilecache_seed.py Zip_Codes 5 12 "-118.12500,31.952162238,-116.015625,34.3071438563" 2 The bbox can be dropped and defaults to world lonlat(-180,-90,180,90): $ tilecache_seed.py Zip_Codes 0 9 On Thu, Jan 23, 2014 at 5:40 PM, Agnar Renolen wrote: > How is the tilecache_seed.py script working? > > Does it need to have the tilcache server up an running, or can you run > tilecache_seed standalone, just to create the tiles. > > I need to seed a tilcache before moving the tiles to a Web server that > does not have any map server. > No need to have it running on our own server. > > Agnar > > -- > Agnar Renolen > eMap as (www.emap.no) > Vegamot 4B, 7048 Trondheim > tlf: 489 50 480 (dir) > > _______________________________________________ > Tilecache mailing list > Tilecache at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/tilecache > -- Ritesh Ambastha Founder - iWillStudy.com, +91-8980472625 +91-79-40082625 -------------- next part -------------- An HTML attachment was scrubbed... URL: From agnar.renolen at emap.no Fri Jan 24 05:45:31 2014 From: agnar.renolen at emap.no (Agnar Renolen) Date: Fri, 24 Jan 2014 14:45:31 +0100 Subject: [Tilecache] Seeding program fails. IndexError Message-ID: <52E26E7B.5080606@emap.no> I'v been trying to install tilecache on a Debian server using apt. But the seed program will not run: % /usr/sbin/tilecache_seed --version Traceback (most recent call last): File "usr/sbin/tilecache_seed", line in TileCache.Client.main() File "/usr/lib/pymodules/python2.6/TileCache/Client.py", line 104 in main layer = svb.layers[sys.argv[2]] IndexError: list index out of range I have seen others on the Net complaining about the same problem, but I cannot find any answeres. Agnar -- Agnar Renolen eMap as (www.emap.no) Vegamot 4B, 7048 Trondheim tlf: 489 50 480 (dir) From ritesh.linux at gmail.com Fri Jan 24 05:57:19 2014 From: ritesh.linux at gmail.com (Ritesh Ambastha) Date: Fri, 24 Jan 2014 19:27:19 +0530 Subject: [Tilecache] Seeding program fails. IndexError In-Reply-To: <52E26E7B.5080606@emap.no> References: <52E26E7B.5080606@emap.no> Message-ID: Check your tilecache.cfg and see if you have specified "levels" parameter or not. On Fri, Jan 24, 2014 at 7:15 PM, Agnar Renolen wrote: > I'v been trying to install tilecache on a Debian server using apt. > > But the seed program will not run: > > % /usr/sbin/tilecache_seed --version > Traceback (most recent call last): > File "usr/sbin/tilecache_seed", line in > TileCache.Client.main() > File "/usr/lib/pymodules/python2.6/TileCache/Client.py", line 104 in > main > layer = svb.layers[sys.argv[2]] > IndexError: list index out of range > > I have seen others on the Net complaining about the same problem, but I > cannot find any answeres. > > Agnar > > -- > Agnar Renolen > eMap as (www.emap.no) > Vegamot 4B, 7048 Trondheim > tlf: 489 50 480 (dir) > > _______________________________________________ > Tilecache mailing list > Tilecache at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/tilecache > -- Ritesh Ambastha Founder - iWillStudy.com, +91-8980472625 +91-79-40082625 -------------- next part -------------- An HTML attachment was scrubbed... URL: From manel.clos at ajgirona.cat Fri Jan 24 05:51:52 2014 From: manel.clos at ajgirona.cat (manel.clos at ajgirona.cat) Date: Fri, 24 Jan 2014 14:51:52 +0100 Subject: [Tilecache] Seeding program fails. IndexError In-Reply-To: <52E26E7B.5080606@emap.no> References: <52E26E7B.5080606@emap.no> Message-ID: <64FEFB3BDAC1414F80EBF758194587DA38E0D42B9A@mbx.ajgirona.org> There is no "--version" option in tilecache_seed, see usage from Client.py usage = "usage: %prog [ ]" Manel Clos -----Mensaje original----- De: tilecache-bounces at lists.osgeo.org [mailto:tilecache-bounces at lists.osgeo.org] En nombre de Agnar Renolen Enviado el: viernes, 24 de enero de 2014 14:46 Para: tilecache at lists.osgeo.org Asunto: [Tilecache] Seeding program fails. IndexError I'v been trying to install tilecache on a Debian server using apt. But the seed program will not run: % /usr/sbin/tilecache_seed --version Traceback (most recent call last): File "usr/sbin/tilecache_seed", line in TileCache.Client.main() File "/usr/lib/pymodules/python2.6/TileCache/Client.py", line 104 in main layer = svb.layers[sys.argv[2]] IndexError: list index out of range I have seen others on the Net complaining about the same problem, but I cannot find any answeres. Agnar -- Agnar Renolen eMap as (www.emap.no) Vegamot 4B, 7048 Trondheim tlf: 489 50 480 (dir) _______________________________________________ Tilecache mailing list Tilecache at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/tilecache From agnar.renolen at emap.no Fri Jan 24 06:00:04 2014 From: agnar.renolen at emap.no (Agnar Renolen) Date: Fri, 24 Jan 2014 15:00:04 +0100 Subject: [Tilecache] Seeding program fails. IndexError In-Reply-To: <64FEFB3BDAC1414F80EBF758194587DA38E0D42B9A@mbx.ajgirona.org> References: <52E26E7B.5080606@emap.no> <64FEFB3BDAC1414F80EBF758194587DA38E0D42B9A@mbx.ajgirona.org> Message-ID: <52E271E4.5020704@emap.no> According to the README file, it has. Nonetheless, I get the same error whatever I specify on the command line. Agnar Agnar Renolen eMap as (www.emap.no) Vegamot 4B, 7048 Trondheim tlf: 489 50 480 (dir) On 24.01.2014 14:51, manel.clos at ajgirona.cat wrote: > There is no "--version" option in tilecache_seed, see usage from Client.py > > usage = "usage: %prog [ ]" > > > Manel Clos > > -----Mensaje original----- > De: tilecache-bounces at lists.osgeo.org [mailto:tilecache-bounces at lists.osgeo.org] En nombre de Agnar Renolen > Enviado el: viernes, 24 de enero de 2014 14:46 > Para: tilecache at lists.osgeo.org > Asunto: [Tilecache] Seeding program fails. IndexError > > I'v been trying to install tilecache on a Debian server using apt. > > But the seed program will not run: > > % /usr/sbin/tilecache_seed --version > Traceback (most recent call last): > File "usr/sbin/tilecache_seed", line in > TileCache.Client.main() > File "/usr/lib/pymodules/python2.6/TileCache/Client.py", line 104 in main > layer = svb.layers[sys.argv[2]] > IndexError: list index out of range > > I have seen others on the Net complaining about the same problem, but I > cannot find any answeres. > > Agnar > -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbri at swoodbridge.com Fri Jan 31 16:00:59 2014 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Fri, 31 Jan 2014 19:00:59 -0500 Subject: [Tilecache] Problem moving tilecache to a new server Message-ID: <52EC393B.1060409@swoodbridge.com> Hi all, I'm new to tilecache and I'm upgrading a tilecache-2.01 instance to a new server and have it running under apache2 but I keep getting errors like this for all requests: An error occurred: Current x value -78.200000 is too far from tile corner x -79.800000 My google-foo is weak today and failing to find an answer. I get this error from both the tilecache-2.01 code and the tilecache-2.11 code. I take a URL from the old server that works and do nothing but change the host to point to the new server and get this error. I'm using the same tilecache.cfg file and I rsync'd the cache to the new server. I'm at a total loss as to what is going on or how to debug this. http://74.208.78.238/tilecache-2.01/tilecache.py?LAYERS=bathy_contours&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&OLRELOADSALT=0.4349490585549216&SRS=EPSG%3A4326&BBOX=-78.20000000000002,31.199999999999996,-76.60000000000002,32.8&WIDTH=256&HEIGHT=256 This is my Apache config (NOTE: this is actually running tilecache-2.11 not 2.01 code, but I get the same error using 2.01 code): Alias /tilecache-2.01 /var/lib/python-support/python2.7/ SetHandler python-program PythonHandler TileCache.Service PythonOption TileCacheConfig /etc/tilecache.cfg and the tilecache.cfg file for this layer is: [bathy_contours] type=MapServerLayer mapfile=/maps/wms/bathymetry.map layers=contours extension=png bbox=-131.00, 12.00, -66.00, 49.00 maxResolution=0.10 srs=EPSG:4326 levels=15 extent_type=loose debug=false Why would this work on the old server and not on the new server? Did I forget to move or configure something? Help would be appreciated. Thanks, -Steve