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
0answers
28 views

Tilestache server not serving MBTiles converted using gdal2mbtiles and gdal_translate

I'm getting this error: Exception: Requested format "PNG" does not match tileset format "png" I am using RedHat Linux 7.5 (RHEL7.5). I have setup GDAL 2.4.0 with following options while configuring:...
1
vote
1answer
37 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
0answers
20 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 ...
3
votes
1answer
70 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 ...
0
votes
1answer
108 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://...
0
votes
1answer
122 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
0answers
129 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
1answer
407 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
0answers
187 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
0answers
96 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
1answer
63 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 ...
3
votes
2answers
358 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
1answer
133 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...
0
votes
1answer
269 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 ...
0
votes
1answer
110 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 ...
4
votes
1answer
202 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 ...
0
votes
1answer
43 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
3answers
806 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 ...
5
votes
3answers
354 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 ...
5
votes
2answers
2k 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" } }, "...
7
votes
1answer
343 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":"...
8
votes
2answers
501 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
0answers
504 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
1answer
174 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 ...
1
vote
2answers
513 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
1answer
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 ...
1
vote
1answer
352 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 ...
2
votes
0answers
198 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 ...
1
vote
2answers
217 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 ( ...
2
votes
0answers
154 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 ...
0
votes
0answers
91 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 (...
3
votes
1answer
938 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 ...
5
votes
1answer
3k views

How to cache and server pre-rendered vector tiles in pbf format?

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 ...
1
vote
0answers
443 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: ...
1
vote
0answers
235 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
0answers
123 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: ...
3
votes
2answers
390 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
1answer
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
1answer
206 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 ...
1
vote
1answer
303 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 ...
1
vote
0answers
282 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 ...
1
vote
1answer
169 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
1answer
1k 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 ...
0
votes
1answer
329 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 ...
1
vote
0answers
156 views

mbtiles generated by tilestache does not open in qgis

I have tilestache-seed.py working fine for a tms layer and also outputting mbtiles but the mbtiles generated does not open in qgis and according to mapbox the tiles can be separated into three tables ...
7
votes
1answer
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 ...
5
votes
3answers
3k 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, ...
5
votes
3answers
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 ...
1
vote
0answers
137 views

How does TileStache handle cache invalidation?

We are trying to set up our own openstreetmap server. From what I read here, you can use a variety of caches to speed up serving the data. Now, once a week, the people of openstreetmap provides a ...
1
vote
1answer
1k views

TileStache + OpenLayers TMS - Tiles are rendered disorderly

I newly turned to TileStache to render Mapnik tiles because of the caching option. Before, I was using Mapnik python bindings only and it was working perfectly. Now that I use TileStache, the tiles ...