6 votes
Accepted

Tiling GeoJSON data?

I've written my own geojson map tiler driver in ruby. it's a quick and dirty ruby script to create geojson tiles from a postgis database using gdal/ogr. I could not find out how to cut the geojson ...
user avatar
  • 2,126
5 votes
Accepted

Increase Tiles Caching Speed (TileStache)

I would say that for zoom greater than 15, if you split your area of interest into smaller areas(Bounding box), you will be able to cache them in much less time by running multiple processes on a ...
user avatar
5 votes
Accepted

TileStache Vector Tiles Overlay problem

I got the tiles to overlay correctly. The problem was in the re-projection done by both ArcMap and QGIS. When I was checking the reprojected shapefiles in ArcMap and QGIS, they were overlaying ...
user avatar
5 votes
Accepted

Stacking Vector Layers in TileStache

So I am able to get all the layers in a single layer, a "composite" by using the MultiProvider provider in the class and just passing it the layers I want in the composite as the arguments. It results ...
user avatar
4 votes

Tiling GeoJSON data?

A little late to the game but if you want vector tiles in mbtiles format then I suggest the following: (1) tippecanoe: Go to https://github.com/mapbox/tippecanoe and install it, if you are on a mac ...
user avatar
3 votes
Accepted

Remove TileStache cache for a single feature

I would try to use the tilestache-seed.py script: https://github.com/TileStache/TileStache/blob/master/scripts/tilestache-seed.py You can get the bounds of your parcel (which units depend on the ...
user avatar
  • 221
3 votes

TileStache Dynamic query based on zoom level

To use different queries for different zoom levels you will have to provide queries for each zoom level that you want to use, I think it should be able to query from a different table as well, since ...
user avatar
3 votes
Accepted

Difference between TileStache and Geoserver?

Geoserver is an OGC compliant Web server which can serve out data in OGC's web services, namely WMS, WFS & WCS. You want to get GeoJSON Tiles, and use it in your Leaflet Map. GeoJSON tiles are ...
user avatar
2 votes

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

Probably you are looking for this page: This page lists implementations of software that work with vector tiles using the Mapbox protobuf format.
user avatar
2 votes

Increase Tiles Caching Speed (TileStache)

By default shp2pgsql does NOT create indexes. You need to pass -I to make it generate a spatial index. http://postgis.net/docs/manual-1.3/ch04.html#id435762 Check if your table has an index by ...
user avatar
  • 8,554
2 votes

How to encrypt vector tiles JSON response

This might be helpful for your problem as it was really helpful for me once when I was doing JSON encryption.
user avatar
  • 376
2 votes
Accepted

MapBox GL JS, TileStache and Leaflet

Render vector-tiles in a Leaflet Map : yes, you can use this Leaflet plugin, and point to your own tileserver in the configuration file. Not sure to understand what is a wrapped MapBox Version, but ...
user avatar
  • 139
2 votes

TileStache Vector Tiles Overlay problem

Tx for the feedback, this is important for others who find this question in the future. Are you using WGS84 in your tilestache configuration? There is also a 'projected' attribute you might have to ...
user avatar
2 votes

Tile server for temporal data

I asked a similar question and I am not aware of any tile server to support a time dimension. The best solution I came up with, was to have different layers with the time dimension, see our demo ...
user avatar
  • 2,049
2 votes
Accepted

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

Upon further testing and research I have found out that I can over-zoom the zoom 17 tiles all the way up to zoom 21 without any problems. Since the VectorTiles contain only the underlying geometry, ...
user avatar
2 votes
Accepted

tilestache url format

Column and row along with the zoom level are needed to identify a specific tile. This section in the osm wiki shows how they are calculated.
user avatar
  • 2,271
2 votes
Accepted

TileMill Issue with Null values

There is no direct solution to this problem as per my knowledge. But there is a workaround that can be used to solve the problem with map. Do these steps in ArcMap 1) Clip your raster by the ...
user avatar
2 votes

Does GeoServer support OpenStreetMap OSM format?

As I know, you cannot use OSM in Geoserver, you need to convert your data to other formats supported by Geoserver. The list of formats is available here. There is a similar thread here that explains ...
user avatar
  • 1,785
1 vote
Accepted

TileStache Internal Server Error

The default OSM tiles are created using live URL of OSM which is mentioned in the default configuration file of Tilestache. There is a possibility that you have limited network access, Due to which ...
user avatar
1 vote

Can TileStache use external tilestache.cfg file?

So after learning a lot about TileStache in last several days I found this tidbit sitting in the Config.py file: Although a configuration file can be parsed from a remote URL, some paths (...
user avatar
  • 11
1 vote

How to use osm.pbf with tilestache?

openmaptiles.org offers mbtiles downloads for the whole planet as well as for individual countries and cities. It is the successor of osm2vectortiles.org. It contains also a documentation for ...
user avatar
  • 5,704
1 vote

Tilestache Multiple Grids results in PostGIS error

Looks like there's a pending merge request from 4 years ago that fixes this issue. I just updated my mapnik.py file to reflect these changes and it worked. Tilestache Pull Request
user avatar
  • 183
1 vote

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

If we talk about L.tileLayer, which is raster, you can set it to be displayed only at desired zoom levels by setting minZoom's and maxZoom's, e.g. L.tileLayer('http://{s}.tiles.wmflabs.org/bw-mapnik/{...
user avatar
  • 479
1 vote

Does TileStache support serving vector MBTiles?

Yes it does. Here is an example tilestache.cfg file: { "index": "./index.html", "logging": "debug", "cache": { "name": "Disk", "path": "/tmp/tilestache", "umask": "0000" }, "...
user avatar
  • 111
1 vote

Increase Tiles Caching Speed (TileStache)

Another thing to try if you're using a standard query is creating a materialized view from the query, and building your tiles from that: http://www.postgresql.org/docs/9.3/static/sql-...
user avatar
  • 13.1k
1 vote

Access MBTiles png and json using tilestache?

Thanks for the answer, Bennos. I haven't tried that solution - I ended up using this: https://github.com/perrygeo/python-mbtiles It's a smaller footprint than Tilestache and I liked how it could ...
user avatar
  • 183
1 vote

Remove TileStache cache for a single feature

The answer is indeed located inside tilestache-seed.py. Since I need to trigger the cache invalidation whenever a feature is updated, I needed to extract the juicy bits. So now on post-save I pass the ...
user avatar
  • 183
1 vote
Accepted

How do I serve MBTiles with TileStache?

As it turns out, TileStache ends up taking the file name from the configuration file and prepending it with a "/". So, for Windows, this means that you have to place your .mbtiles file at the root of ...
user avatar
1 vote

TileStache can't find spatial ref for vector layer

The problem was not in my configuration or even with TileStache, but in my geometry_columns view in my DB. The geometry requested by my query had a SRID of 0 in that view (?!) and manually fixing that ...
user avatar
  • 183
1 vote

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

Make sure your geometry columns contain the correct SRID. Run: psql osmgis -c 'select * from geometry_columns;' If your layer a) is not there, or b) has a SRID of 0, you'll need to look up how to ...
user avatar
  • 183

Only top scored, non community-wiki answers of a minimum length are eligible