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
0 votes
0 answers
80 views

GDAL / Tilestache tiles with transparency outside

I am creating a non-profit project with 2 people. My part is OpenLayers. The other part is GDAL and Tilestache. The project fails because of this problem: The project displays historical map sheets as ...
moriama's user avatar
  • 31
1 vote
0 answers
17 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", "...
Ale_045's user avatar
  • 11
0 votes
0 answers
45 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": { "...
Ahsan Mukhtar's user avatar
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 ...
Mr.Miel's user avatar
  • 11
2 votes
0 answers
85 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 ...
Ahsan Mukhtar's user avatar
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 ...
Rao Taha's user avatar
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 ...
elrobis's user avatar
  • 6,430
3 votes
1 answer
149 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 ...
Ahsan Mukhtar's user avatar
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://...
isbhod's user avatar
  • 11
0 votes
1 answer
314 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 ...
MH21209's user avatar
  • 41
2 votes
0 answers
304 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 ...
MH21209's user avatar
  • 41
1 vote
1 answer
700 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 ...
aProgger's user avatar
  • 111
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": { ...
Adithya's user avatar
  • 147
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��'�...
kingzing1's user avatar
  • 183
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 ...
kingzing1's user avatar
  • 183
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 ...
Chris Nicholas's user avatar
1 vote
1 answer
196 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...
Mohan's user avatar
  • 401
0 votes
1 answer
503 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 ...
Ainlaen's user avatar
0 votes
1 answer
127 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 ...
Matthew Bazzell's user avatar
4 votes
1 answer
372 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 ...
Hasan Mustafa's user avatar
0 votes
1 answer
54 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?...
kaboom's user avatar
  • 197
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 ...
Hasan Mustafa's user avatar
5 votes
3 answers
599 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 ...
Shahzad Bacha's user avatar
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" } }, "...
q9f's user avatar
  • 2,176
7 votes
1 answer
421 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":"...
Hasan Mustafa's user avatar
8 votes
2 answers
610 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 ...
Hasan Mustafa's user avatar
2 votes
0 answers
543 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-...
geoSerf's user avatar
  • 41
4 votes
1 answer
269 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 ...
lujop's user avatar
  • 365
1 vote
2 answers
766 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 ...
kingzing1's user avatar
  • 183
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 ...
George Silva's user avatar
  • 6,298
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 ...
edmundpie's user avatar
  • 257
2 votes
0 answers
233 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 ...
DMack's user avatar
  • 645
1 vote
2 answers
271 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 ( ...
user avatar
2 votes
0 answers
167 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 ...
Alex's user avatar
  • 143
0 votes
0 answers
116 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 (...
bennos's user avatar
  • 2,069
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 ...
Frederic Le Feurmou's user avatar
5 votes
1 answer
3k 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 ...
Arunkmp's user avatar
  • 91
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: ...
Tom's user avatar
  • 365
1 vote
0 answers
275 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 ...
bennos's user avatar
  • 2,069
2 votes
0 answers
131 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: ...
Bwyss's user avatar
  • 622
3 votes
2 answers
452 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. ...
probabble's user avatar
  • 183
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....
BNeunaber's user avatar
1 vote
1 answer
214 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 ...
probabble's user avatar
  • 183
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 ...
user29389's user avatar
1 vote
0 answers
356 views

Problems rendering tilestache served mbtiles in QGIS

I came across Geoffery Hing's walk through on using Tilestache to serve up mbtiles to QGIS. I followed the configuration and I was able to view tiles in the browser without any problems. However, when ...
scuerda's user avatar
  • 429
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: ...
jamierob's user avatar
  • 1,549
1 vote
1 answer
2k views

How to improve speed of rendering polygons from Postgis in Leaflet?

I want to improve speed of rendering polygons in my Leaflet map. Polygons are stored in Postgis, and are rendered with select query with bbox. I wonder can I cache somehow those polygons? I read ...
againstflow's user avatar
  • 5,028
0 votes
1 answer
365 views

Conversion of tilestache cache into mbtiles

I have read and I am looking for someone with documentation on how to achieve converting a cache generated by tilecache into mbtiles using mainly mbtiles. I see the mbtiles has an import function but ...
kartoza-geek's user avatar
  • 1,161
7 votes
1 answer
3k views

Using Tilestache and Leaflet To Display Rasters In Native Projection

I have a collection of old Idaho state highway maps in GeoTiff format. The projection that these maps have been georeferenced in is a transverse mercator projection, called IDTM83 (Idaho Transverse ...
SagebrushGIS's user avatar
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, ...
Steve Bennett's user avatar