mbtiles-spec
tippecanoe
mbtiles-spec | tippecanoe | |
---|---|---|
4 | 7 | |
587 | 792 | |
0.9% | 7.6% | |
0.0 | 8.0 | |
over 4 years ago | 19 days ago | |
C++ | ||
GNU General Public License v3.0 or later | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mbtiles-spec
-
Beginner Questions about MapBox GL JS
This is definitely possible. A very common use case is publishing custom vector tiles to Mapbox, but since you want to host the tileset itself on your own server, you can use something like tilelive to do so. It's easy to create your own custom .mbtiles with Mapbox Studio, but it's an open specification, so feel free to create your own from arbitrary geographic data.
-
COMTiles (Cloud Optimized Map Tiles) hosted on Amazon S3 and Visualized with MapLibre GL JS
Prepare "MBTiles" to store map tiles built-in SQLite for conversion of COMTiles.
-
SQLite 3.39.2
> I once experimented with using SQLite as a file store for small images
Mapbox productionized this with their MBTiles [0] format, to store millions of small vector or raster map tiles in an SQLite database. Much easier to work with than millions of images on disk.
[0]: https://github.com/mapbox/mbtiles-spec
-
Serving open street map vector tiles with elixir and phoenix
Some background on mbtiles files from mapbox/mbtiles-spec
tippecanoe
-
Geospatial Nix – create, use and deploy today
This is awesome. Such a great use case for nix.
I do a lot of geospatial processing in the cloud and I've been using Tippecanoe a lot to create vector tiles. It pairs well with PM Tiles for storing on the cloud. It seriously increases the web app performance for massive data sets. I queue these up with ECS tasks to process our json/csv/parquet input and create optimize vector tile outputs.
https://github.com/felt/tippecanoe
https://github.com/protomaps/PMTiles
Tippecanoe would be a great addition to your nix packages. I've been thinking more and more about how Nix could fit into this pipeline.
Great work!
- Protomaps – A free and open source map of the world
- How The Post is replacing Mapbox with open source solutions
-
Self-Hosted Vector Tiles
I'm the author of a few of the tools mentioned in this post!
A convenient new development is instead of using tippecanoe -> go-pmtiles to create PMTiles archives, you can now output .pmtiles directly:
tippecanoe -o bks2.pmtiles mainroad.geojson ...
This is available in Tippecanoe (https://github.com/felt/tippecanoe) v2.17 and later.
Thanks to Felt (https://felt.com) for supporting this open source work.
-
COMTiles (Cloud Optimized Map Tiles) hosted on Amazon S3 and Visualized with MapLibre GL JS
tippecanoe
-
How would you generalize a very high density vector map for various zoom levels ?
Things I have tried so far: - Just using native vector tile conversion as it involves feature simplification. Doesn't work since smallest feature just disappear, resulting in blank regions instead of "averaged" regions. - Using tippecanoe's built in features to drop/merge in densest zones. Results are disappointing because of unexpected (and too big) differences between each zoom level. - Rasterizing the map, sieving, then vectorizing with smoothing. Doesn't work because pixel information are mixed. I would need a way to rasterize while preserving the land-cover category (with some kind of majority filter ?), but haven't find a way to do this with any QGis built-in or plugin feature.
-
OpenStreepMap 2012 vs. 2022
Take a look at Tippecanoe, which is under active development again[0]. The original developer, Erica Fischer (who is wonderful to work with), has a fork[1] where new work is happening.
[0] https://felt.com/blog/erica-fischer-tippecanoe-at-felt
[1] https://github.com/felt/tippecanoe
https://felt.com/blog/erica-fischer-tippecanoe-at-felt
What are some alternatives?
geoparquet - Specification for storing geospatial vector data (point, line, polygon) in Parquet
planetiler - Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast
Leaflet.VectorGrid - Display gridded vector data (sliced GeoJSON or protobuf vector tiles) in Leaflet 1.0.0
tippecanoe - Build vector tilesets from large collections of GeoJSON features.
mbutil - Importer and Exporter of MBTiles
tilemaker - Make OpenStreetMap vector tiles without the stack
flatgeobuf - A performant binary encoding for geographic data based on flatbuffers
go-pmtiles - Single-file executable tool for working with PMTiles archives
PMTiles - Cloud-optimized + compressed single-file tile archives for vector and raster maps
maputnik - An open source visual editor for the 'MapLibre Style Specification'
tilelive - fast interface to tiles with pluggable backends - NOT ACTIVELY MAINTAINED
osmium-tool - Command line tool for working with OpenStreetMap data based on the Osmium library.