Questions tagged [tilestache]

A Python-based server application that can serve up map tiles based on rendered geographic data

Filter by
Sorted by
Tagged with
2 votes
0 answers
91 views

Preventing QGIS to Add XYZ Tiled Layer

I have created tiles of raster datasets using TileStache. After creating those tiles i have uploaded them in S3 Bucket, and now serving them in my web application as TiledLayer ({z}/{x}/{y}.png) I ...
5 votes
1 answer
4k views

Caching and serving pre-rendered vector tiles in pbf format [closed]

I want to serve vector tiles server in pbf format. For that I used Mapnik-vector-tiles which is bundled by avecado. Using avecado_server i can render pbf tiles on the fly using ./avecado_server -b 2 ...
3 votes
2 answers
915 views

Tiles loaded but not visible using OpenLayers TileStache Overlay

If I load only the tilestache layer, it is visible. If I load both bing and tilestache layer, the tilestache layer is not visible. When I look at the firebug console, the tiles are being loaded. _map =...
3 votes
1 answer
2k views

Maximum zoom levels for tilestache rendering mbtiles

I have been given an mbtiles file which contains tiles for zoom levels between 16 and 20. When I preview the mbtiles on tilestache, I am not able to zoom in beyond the 18th level. If I request the map ...
1 vote
0 answers
18 views

TileStache blank preview with MBtiles

I am trying to host a mbtiles on TileStache, but the preview page always shows a blank page. The config file is like this { "cache": { "name": "Test", "...
0 votes
0 answers
52 views

Improve speed of Tilestache tiles on tiling from rasters

I am creating tiles on my disk using TileStache from the raster files, my XML file has path of about 4000 Raster. Here is my tilestache Configuration file. { "layers": { "...
0 votes
1 answer
174 views

Can TileStache use external tilestache.cfg file?

I have a need for an ever evolving tilestache.cfg file. I would like to be able to load this from an external source. Is it possible to run a Tilestache server with tilestache-server.py -c http://...
1 vote
1 answer
2k views

Does GeoServer support OpenStreetMap OSM format?

Apologies if the question has been asked but I am kind of lost between al the resources and tools available. I set up a GeoServer and have been reading the documentation but I still don't understand ...
1 vote
1 answer
110 views

TileStache Internal Server Error

I was installing TileStache and and followed all the necessary steps, Upon running the tilestache-server.py file, It starts the server at http://127.0.0.1:8080/. And opening this into my browser gives ...
1 vote
0 answers
92 views

CentOS 7, Mapnik, and Tilestache: Seems like image assets are ignored by Mapnik's point/pattern symbolizers

[Update 6.6.2019] Ok...new detail. I checked a different Apache error log and discovered that it's littered with these errors, generically corresponding to.. failed to allocate png_ptr Actual ...
10 votes
2 answers
6k views

Tiling GeoJSON data?

I have a GeoJSON dataset of the following format (LineString features): { "type": "FeatureCollection", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "...
3 votes
1 answer
156 views

TileMill Issue with Null values

I have this original image But when i open it in TileMill, it converts image like this. White areas are transparent in the image This is more like, it removes all no data values i.e. 255 in my ...
1 vote
1 answer
197 views

Does TileStache support serving vector MBTiles?

Does TileStache support serving vector MBTiles? I've looked at https://github.com/TileStache/TileStache/blob/master/TileStache/MBTiles.py , but I can't tell from this...
3 votes
2 answers
2k views

Is it possible to only load Leaflet vector tiles at specific zoom levels?

I am "getting to know" Leaflet + TileStache, and wondering if there is a way to not have GeoJSON tile layers go back to the server on every single zoom level, but rather fetch every, say, 3 zoom ...
1 vote
2 answers
274 views

Make layer with TileStache from MySQL database [closed]

I am unsuccessful in attempt to make layer with TileStache whitch gets data from MySQL. I found simple MySQL table structure (http://howto-use-mysql-spatial-ext.blogspot.com/): create table Points ( ...
0 votes
1 answer
332 views

Mapnik + TileStache not displaying map properly

I have been running into an issue with getting my map displayed using Mapnik XML stylesheets with TileStache. When i am using MBTiles format, the map is displayed perfectly however when i switch over ...
2 votes
0 answers
321 views

Serving map files with Nginx

Currently i am serving map tiles with gunicorn and tilestache with nginx reverse proxying gunicorn. This works, although for some reason i am unable to do anything with the appearance of the map as it ...
1 vote
1 answer
215 views

TileStache can't find spatial ref for vector layer

I have a query based vector layer in my TileStache configuration, and it's hitting this block of code if layer.GetSpatialRef() is None and driver_name != 'SQLite': raise KnownUnknown('Couldn\'t ...
6 votes
0 answers
784 views

Creating dynamically filtered layers using Tilestache/Mapnik?

I'm using Tilestache to generate two layers with the mapnik and mapnik grid providers, and it's working great! However, I want users to be able to filter the data over many (more than ten) dimensions,...
5 votes
3 answers
622 views

How to encrypt vector tiles JSON response

I am using TileStache to serve vector tiles from Postgres and using Tangram to display these tiles by passing urlhttp://localhost:8080/composite/{z}/{x}/{y}.json in the data source. The response i get ...
1 vote
1 answer
711 views

How to use osm.pbf with tilestache?

I have a Raspberry Pi 3 moving around in my city. It shows information on a monitor via hdmi. Now it should also display a map of the current position. The Pi has no connection to the internet and ...
2 votes
0 answers
223 views

How to configure tilestache.cfg "projection"?

I am using tilestache-1.51.6 and mapnik 3.0.9. The tilestache.cfg is { "cache": { "name": "Disk", "path": "/var/www/cachedata", "umask": "0000" }, "layers": { "test": { ...
1 vote
2 answers
786 views

Access MBTiles png and json using tilestache?

I've got a Tilestache server running locally with an MBTiles source file. I can get the PNG tiles without problem, but I'm having a hard time figuring out how to also get the UTFgrid. Is it possible ...
1 vote
0 answers
117 views

Tilestache VecTile Encoding Error

I'm trying to fix what I believe to be an encoding issue with Tilestache and was curious if someone else has seen this issue. Here's an example of the string that gets passed: �9*y��c�ަ��uSA��ٍ�c��'�...
1 vote
1 answer
73 views

Tilestache Multiple Grids results in PostGIS error

I've got a PostGIS database which Mapnik and Tilestache pull from. The mapnik xml has multiple layers as I'm pulling from different tables depending on the zoom - and these different tables have ...
0 votes
1 answer
129 views

Tilestache WGS84 UTFGrid output isn't recognized by Leaflet UTFGrid

I'm attempting to use TileStache as a server for a UTFGrid created from a shapefile in WGS 84, but the Leaflet UTFgrid plugin doesn't seem to be able to use the data. There are no javascript errors or ...
0 votes
1 answer
519 views

Mapnik wouldn't render nodata as transparent

I'm attempting to use TileStache with a Mapnik source to output what would largely be transparent raster tiles from a GEOTIFF. I'm having difficulty getting Mapnik to produce images with the proper ...
4 votes
1 answer
385 views

Skip making Vector-Tiles for higher Zoom (18+)

I made the switch from raster to Vector Tiles for my maps sometime last year and so far I've been really satisfied with my decision. I have been making tiles from zoom 1 to 21 and it's been a real ...
1 vote
1 answer
1k views

MapBox GL JS, TileStache and Leaflet

Is it possible to use MapBox GL JS to render vector-tiles in a Leaflet map, without the access token? Even if the map object itself, does not come from Leaflet directly, but it's the wrapped MapBox ...
0 votes
1 answer
55 views

tilestache url format

Documentation at http://tilestache.org/doc/#over-http says this is the format of requesting your tile /{layer name}/{zoom}/{column}/{row}.{extension} Now, my question is what column and row stand for?...
13 votes
3 answers
1k views

Increase Tiles Caching Speed (TileStache)

I am serving vector tiles using TileStache, I have everything set up like I want. My data is stored in Postgres and I am using the VecTiles provider to serve GeoJSON tiles. I want to cache all my ...
7 votes
1 answer
423 views

Stacking Vector Layers in TileStache

I am serving several vector tile layers of different geometries (point, line & polygon) in TileStache using VecTiles:Provider, with this cfgfile: { "cache": { "name": "DISK", "path":"...
0 votes
1 answer
410 views

TileStache Dynamic query based on zoom level

I wanted to make tilestache to be able have a different query for different zoom level. For certain zoom level I wanted TileStache to query from different postgres table. How can I achieve this? Is ...
8 votes
2 answers
615 views

TileStache Vector Tiles Overlay problem

I am using TileStache to serve my own vector tiles using a postgis datasource. First I re-projected the shapefiles I had using ArcMap ( reprojected to Web Mercator (Auxilary Sphere)) and loaded them ...
2 votes
0 answers
547 views

Tilestache Vector Tiles with Leaflet [closed]

I've set up a tilestache server and I am displaying vector tiles from the service using leaflet and the leaflet-tilelayer-geojson script from: https://github.com/glenrobertson/leaflet-tilelayer-...
4 votes
1 answer
275 views

Tile server for temporal data

Is there any tile server that is able to render tiles for temporal data? I need to serve tiles for rain radar data and serve them in tilserverurl/{x}/{y}/{z}/{time} or similar way I've done a ...
6 votes
3 answers
4k views

Tile server with dynamic mapnik rendering, caching, and pre-emptive rendering

I've been making some pretty (but computationally expensive) tiles with TileMill and I'd like to serve them up. First, I served them straight from TileMill. Every tile gets rendered dynamically, ...
1 vote
1 answer
318 views

TileStache:TileStache.Core.KnownUnknown: Couldn't get a layer from data source!

I want to use tilestache to get geojson files. I hava run tilestache-server.py -c tilestache.cfg ,and it works well. However,I want to get tiles from data stored in postgis. Maybe it will need to run ...
2 votes
0 answers
234 views

TileStache PNG Optimization

A Tilestache config file has a "png options" object that passes its config straight through to the Python Imaging Library (PIL). Setting optimize: true does some kind of optimization as the file is ...
5 votes
3 answers
2k views

Vector Mapping for iOS?

Are there any vector map data providers with API's, that i can use to build my app on iOS natively (not on a webview). Specifically im looking for: For a library/framework that uses existing map ...
2 votes
0 answers
168 views

How to serve an image layer with tilestache

I have some .png images with associated .wld and .tfw files. I'd like to display this in OpenLayers, and I already have a Tilestache server running, so it would be good to leverage this. OpenLayers ...
3 votes
1 answer
1k views

Difference between TileStache and Geoserver?

I have troubles to understand the differences between TileStache and Geoserver. My goal is to serve tiled geoJson through a restFull API and consume it with Leafet. Which one is the best for this ...
0 votes
0 answers
119 views

Visualize regular grid as TMS

I have a regular grid of points with wind values with a distance between the points of approx. 300 m. I would like to visualize this and get a TMS (with TileStache) as a regular grid of arrows (...
1 vote
0 answers
495 views

Can't get Tilestache working on Apache (mod_wsgi)

Trying to get a tileserver running on Ubuntu 14.04 with TileStache and Apache. No problem running the TileStache development server (tilestache-server.py) or the uWSGI example from the API docs: ...
3 votes
2 answers
456 views

Remove TileStache cache for a single feature

In a large parcel map, features are edited and need to be re-styled. I want to keep as much of the cache as possible, but invalidate the cache for features that are edited when the features are saved. ...
1 vote
0 answers
277 views

UTFGrid from raster source

Is it possible to make utfgrids from a raster source (e.g. GeoTIFF)? I am trying to get utfgrids from a .tif with mapnik.xml and TileStache but it seems not to be working. As a workaround I am ...
2 votes
0 answers
133 views

What is the best way to handle metadata with TileStache?

When I'm serving up maps and UtfGrids with tileStache I would like to also include some metadata with the layers so that my leaflet application can understand the context of the layer. For example: ...
1 vote
1 answer
2k views

How do I serve MBTiles with TileStache?

I'm am looking for a way to serve tiles while offline. I'm using Windows 7. Here's what I've done so far: -Uploaded a portion of OSM data into TileMill -Converted the OSM data into a file called osm....
1 vote
1 answer
175 views

Tilestache AttributeError: Layer instance has no attribute 'palette256' error when adding Metatiles

I have Tilestache working great over apache/mod_python. All of my mapnik.xml driven layers work well until I add a 'Metatiles' directive in the layer and then i get the following error: ...
1 vote
0 answers
421 views

How to enable tilestache-seed logging?

We're migrating from a working 'tilecache' server to a new 'tilestache' server. I have been chasing my tail for 2 days now trying to figure out how to get tilestache-seed to cache some tiles. I'm ...