serverlessmaps
PlanetilerTorrent
serverlessmaps | PlanetilerTorrent | |
---|---|---|
2 | 1 | |
18 | 2 | |
- | - | |
6.3 | 7.2 | |
8 months ago | 4 months ago | |
TypeScript | Shell | |
MIT 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.
serverlessmaps
-
2024: The year of the OpenStreetMap vector maps
Have a look at https://www.serverlessmaps.com/ which uses PMTiles to generate the tiles from OSM data. It's also possible to host the PMTiles directly on S3 and use HTTP range requests to retrieve the desired bounding boxes. Under the hood, it uses CloudFront as CDN, Lambda@Edge functions and S3 (see architecture at https://github.com/serverlessmaps/serverlessmaps/#architectu...)
It's a very cost-effective solution as CloudFront has a 1TB/Month free tier, compared to hosted solutions.
-
Protomaps – A free and open source map of the world
We've had quite some success with deploying "serverless" maps, leveraging PMTiles. Have a look at https://github.com/serverlessmaps/serverlessmaps if you're interested to deploy this on AWS CloudFront/Lambda@Edge/S3...
PlanetilerTorrent
-
Protomaps – A free and open source map of the world
I've been testing a setup that automatically generates OpenStreetMap/OpenMapTiles formatted pmtiles and mbtiles, then makes them available by torrent. The torrents get placed in a rss feed at https://planetgen.wifidb.net/
Basically what I did was set up 'qbittorent' client to watch the openstreetmap rss feed. when it downloads a new pbf file, it runs this script I made at https://github.com/acalcutt/PlanetilerTorrent , which was based of the osm torrent creation process.
The script creates pmtiles and mbtiles, then makes torrent and starts seeding them in qbittorent.
In qbittorent I have options like how long I want to seed for (30 days), what do do when done seeding (Delete the files) and also speed controls so I can limit bandwidth during my working hours.
I have this running on a old laptop with 2TB nvme/64GB memory. It seeems to work pretty well so far. It would be nice if my internet speeds were a little better for initial seeding, but at least the torrents share the load with other people who are downloading/
What are some alternatives?
basemaps - Basemap PMTiles generation and cartographic styles for OpenStreetMap data and more
tinygpkg-data - Small geographic datasets based on open data + tools
go-pmtiles - Single-file executable tool for working with PMTiles archives
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.
planetiler - Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast
tippecanoe - Build vector tilesets from large collections of GeoJSON features.
gpq - Utility for working with GeoParquet
tilemaker - Make OpenStreetMap vector tiles without the stack
gdal - GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.