News for hackers. Stuff that matters.
Re:Protomaps – A free and open source map of the world by Reason077 on Monday October 23, 2023 @06:33PM (#37992528)
So, could PMTiles be used as a cheap/dirty/fast way to host other forms of geospatial data that isn't strictly "map tiles"? Such as a large-ish, infrequently updated POI database?
Re:Protomaps – A free and open source map of the world by wiredfool on Tuesday October 24, 2023 @03:43AM (#37995888)
If the geometry is points/lines/polygon/multi* + properties on the features, yes. (In other words, if it's representable as geojson), with the caveat that it's more for viewing and less for analysis.

It's essentially what the internal layers are in the base layer -- there are land use, buildings, transit, physical, and border features that are combined with a stylesheet to make the base layer map tiles.

There are some subtleties for packing the overview data for the wider zooms, and what happens when you have tiles that are too big because of number of features or metadata size -- where you can drop on density or coalesce on density.