Questions tagged [tilecache]
14 questions
6
votes
1 answer
Offline maps on PhoneGap using OpenLayers and TileCache
Is there a good tutorial on how to pre-cache a known part of a map using TileCache, store them on the PhoneGap mobile app database and load them up using OpenLayers?
I went through many tutorials and still I haven't figured a way out to do all…

aspyrides
- 101
- 2
- 4
3
votes
1 answer
Tilecache failing to generate tiles using Mapnik
I downloaded the Australian OSM extract and moved it into a database called gis using osm2pgsql.
I have changed generate_tiles.py to only generate tiles for Australia:
bbox = (-180.0,-90.0, 180.0,90.0)
render_tiles(bbox, mapfile, tile_dir, 0, 5,…

CarbonMan
- 4,350
- 12
- 54
- 75
3
votes
1 answer
Serving tiled maps with many different styles
I'm looking for a framework/library/solution to serve mapnik generated maps with multiple (up to several thousands) of different styles (and potentially different backing stores). Something similar to what they're doing over at Cloudmade or Mapbox…

averas
- 545
- 1
- 6
- 15
1
vote
1 answer
1
vote
2 answers
Openlayers + Mapnik + Tilecache configuration problem
I am trying to setup Mapnik + tilecache but can't see any tiles in the browser when I set bbox parameters in both Tilecache.cfg and Openlayers but when I don't specify the bbox everything works fine and I can see actual map tiles.
I was wondering if…

Nakh
- 105
- 2
- 7
1
vote
0 answers
Need to set up local map tile cache - how to obtain full tile set?
I'm using the OpenLayers Javascript library to provide a map view for my web app. This may be deployed in an environment where no external Internet access is possible. So ideally I need a full set of map tiles, pre-populated on a local web server.…

Andrew Fielden
- 3,751
- 3
- 31
- 47
0
votes
1 answer
TileCache and MapServer layer type - how to specify MapServer URL?
I'm trying to wrap TileCache into a Docker container. But it looks like there is no way to specify the URL for the mapserver.
According to TileCache docs I can only specify 'url' parameter for WMS and other layers, but not for "MapServer" ( raster…

Arseni
- 33
- 6
0
votes
1 answer
TileCache with Mapnik for OpenStreetMap
I have an OpenStreetMap server that uses TileCache to serve tiles. The tiles are generated with Mapnik. I have configured the Mapnik XML stylesheet and I can generate an image with the OSM Mapnik tool 'generate_image.py'. That image is correct and…

Nik
- 7,113
- 13
- 51
- 80
0
votes
1 answer
Separate dbCache for different areas with mapbox
I'm creating an app that caches map areas for offline use. I have a single tilesource with many possible areas of interest, and I want to be able to remove cache for a specific area but not other areas.
What would be the best way to cache the…

User24578
- 25
- 1
- 5
0
votes
1 answer
Mapbox maps - offline tiles cache for ios
I'm using mapbox SDK, trying to cache mapbox street-map tiles (not MBTiles). I've tried using the code in this thread with no success - am getting null for *tileSource:
NSString *fullPath = [[NSBundle mainBundle] pathForResource:@"mapbox"…

user3545412
- 1
- 1
0
votes
2 answers
Mapbox Background Tile Cache Stops Without Fail
I am trying to offline my map using Mapbox and Xcode, however it seems to get stuck during the download process without any warning. I use this code to check what tile it's currently on:
- (void)tileCache:(RMTileCache *)tileCache…

Elliott D'Alvarez
- 1,217
- 16
- 30
0
votes
2 answers
Cleaning up RMDatabaseCache in RMTileCache
I'm using offline caching to download a preconfigured map from MapBox using:
tileCache = [[RMTileCache alloc] initWithExpiryPeriod:NSIntegerMax];
RMMapboxSource * tileSource = [[RMMapboxSource alloc] initWithMapID:mapID];
[tileCache…

Yasper
- 501
- 5
- 23
0
votes
1 answer
Pass dynamic parameters from openlayers to mapsever via tilecache
I'm building a mapping application, where shapes and colours go along this path:
PostGIS > Mapserver > TileChache > OpenLayers
Everything works fine when all parameters are hard coded. But I need users to be able changing paramaters, for example,…

Arseni
- 33
- 6
0
votes
1 answer
Adding topography to an Open Street Map based application
I have an application that successfully uses a pre loaded tile cache of Open Street Map .png files for a small city area about 20km x20km to support the presentation of tourist information on the web, iPad and iPhone. It is written in HTML5 and uses…

user2539341
- 71
- 6