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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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.
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 ...
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 ...
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 ...
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, ...
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.
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 ...
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 ...
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 ...
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 (...
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 ...
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
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/{...
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"
},
"...
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-...
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 ...
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tilestache × 67mapnik × 16
leaflet × 10
vector-tiles × 10
tilemill × 9
postgis × 8
tiles × 8
mbtiles × 7
geojson × 6
utfgrid × 6
python × 5
openlayers-2 × 5
openstreetmap × 5
vector × 4
gdal × 3
geotiff-tiff × 3
cache × 3
qgis × 2
coordinate-system × 2
geoserver × 2
shapefile × 2
javascript × 2
web-mapping × 2
ogr × 2
mapbox × 2