PMTiles
mbtiles-spec
PMTiles | mbtiles-spec | |
---|---|---|
17 | 4 | |
1,694 | 587 | |
4.0% | 0.9% | |
8.6 | 0.0 | |
25 days ago | over 4 years ago | |
TypeScript | ||
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
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.
PMTiles
-
Anatomy of a MapServer: how to leverage and visualize your geographical data
I am a novice at GIS and mapping but when I got started I thought a map/tile server was the only way to build mapping webapps.
But, in my admittedly simple application PMTiles can cover a lot of my visualization use cases with a thing Django app doing GEOJson for interactive stuff.
https://github.com/protomaps/PMTiles
-
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!
- Serve Maps From S3: Compressed single-file tiles for vector and raster maps
- Made an interactive bike map of my city using OSM data
-
Serverless maps at 1/700 the cost of Google Maps API
The thing being discussed is designed for cloud, so I think self managed is a better description?
https://protomaps.com/docs/cdn
Self hosting pmtiles is straightforward also, make a file available to a server that supports range requests:
https://protomaps.com/docs/pmtiles#2.-serve-your-file-locall...
-
How The Post is replacing Mapbox with open source solutions
It might've just been this: https://github.com/protomaps/PMTiles/tree/main/serverless/aws
There isn't a tool to do that right now. It could be a fit in either https://github.com/protomaps/go-pmtiles or https://github.com/protomaps/PMTiles/tree/main/python - the Go program is faster and more production ready at this point. I imagine if folders are working for you the quantity of tiles doesn't number into the millions, so the Python program might be sufficient.
Feel free to open an issue.
-
COMTiles (Cloud Optimized Map Tiles) hosted on Amazon S3 and Visualized with MapLibre GL JS
PMTiles
-
Host your own OpenStreetMap Map Tiles
For the next revision of the JS decoder I'm including `fflate` as a dependency so clients can decompress gzipped tile data using JavaScript.
https://github.com/protomaps/PMTiles/blob/master/js/package....
- PMTiles: Cloud-optimized, single-file map tile archives – Python+JS
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
What are some alternatives?
tilemaker - Make OpenStreetMap vector tiles without the stack
geoparquet - Specification for storing geospatial vector data (point, line, polygon) in Parquet
tippecanoe - Build vector tilesets from large collections of GeoJSON features.
Leaflet.VectorGrid - Display gridded vector data (sliced GeoJSON or protobuf vector tiles) in Leaflet 1.0.0
mod_mbtiles - Serve tiles with Apache directly from an .mbtiles file
mbutil - Importer and Exporter of MBTiles
TileServer GL - Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.
flatgeobuf - A performant binary encoding for geographic data based on flatbuffers
planetiler - Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast
tilelive - fast interface to tiles with pluggable backends - NOT ACTIVELY MAINTAINED
openmaptiles - OpenMapTiles Vector Tile Schema Implementation
lambda-tiler - AWS Lambda + rio-tiler to serve tiles from any web hosted files