Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bdon
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
bdon
2y ago
> Where do you see that? "Additionally, our licenses are currently not compatible with the major software licenses, so it would be difficult to integrate CC-licensed work with other free software. Existing software licenses were des
2.
▲
by
bdon
2y ago
If you would like to run this comparison for tileservers reading from disk, I wrote a small tool to simulate traffic based on access logs of OpenStreetMap tiles: https://github.com/bdon/TileSiege
3.
▲
by
bdon
2y ago
Thanks for giving it a try! If you're going to revisit this, we could improve the docs around setting CORS configuration on DigitalOcean: https://docs.protomaps.com/pmtiles/cloud-storage#digitalocea...
4.
▲
by
bdon
2y ago
I don't have any insight into this other than observing how their storage system works, but here's some scripts I made last year to test: https://github.com/bdon/cloudflare-r2-latency
5.
▲
by
bdon
2y ago
You can test this claim directly against a AWS S3 bucket. First 100KB of a 100GB+ file: curl -H "Range: bytes=0-100000" https://overturemaps-tiles-us-west-2-beta.s3.amazonaws.com/2... --output tmp -w "%{time_
6.
▲
by
bdon
2y ago
> I'm certain that you can build software to some specification without ever agreeing to the spec text's licence That is exactly the opposite of OMT's copyright interpretation: https://github.com/openmapti
7.
▲
by
bdon
2y ago
I see, I think that's a good approach to enable serving with stock nginx as well as for companies that are built on Nginx or a plain HTTP serving stack already. For PMTiles the module is loadable directly as a Caddy plugin ( https:
8.
▲
by
bdon
2y ago
OMT use a CC-BY license: https://creativecommons.org/faq/#can-i-apply-a-creative-comm... (edit: link) This means that software that implements OMT, even if written from scratch, cannot be re-used by other FOSS projects
9.
▲
by
bdon
2y ago
I agree, there are tradeoffs to using static storage - the intended audience for PMTiles is those that prefer using static sites instead of administering a Linux server. I would be interested to see a comparison of Btrfs + nginx serving lat
10.
▲
by
bdon
2y ago
See my response here: https://news.ycombinator.com/item?id=41638031
11.
▲
by
bdon
2y ago
The latency for small files and ranges of large files is pretty similar on most storage platforms, but there are some exceptions like Cloudflare R2. The main reason PMTiles is one file and not two or more files is that it enables atomic upd
12.
▲
by
bdon
2y ago
See my response here: https://news.ycombinator.com/item?id=41638031
13.
▲
by
bdon
2y ago
1) The Protomaps schema is mostly a re-implementation of the Tilezen project https://tilezen.readthedocs.io/en/latest/ which is a linux foundation project. OpenMapTiles, which OpenFreeMap uses, while open source,
14.
▲
by
bdon
2y ago
I'm the developer of Protomaps, to summarize: The latency you see on https://pmtiles.io/?url=https%3A%2F%2Fdata.source.coop%2Fpro... is representative of how PMTiles works on AWS S3, coming from the us-west-2 region. I
15.
▲
by
bdon
2y ago
Here's an example of the entire planet as a PMTiles: https://pmtiles.io/?url=https%3A%2F%2Fdata.source.coop%2Fpro... This is zoom 0-15, or 1,431,655,765 addressed tiles. So it is designed for this scale - for a product
16.
▲
by
bdon
2y ago
To mitigate the "denial of wallet" attack on S3 there are a few options: AWS Lambda: https://docs.protomaps.com/deploy/aws lightweight tile server: https://docs.protomaps.com/pmtiles/cli#
17.
▲
by
bdon
2y ago
The replacement for the UI is to use the "pmtiles extract" command line tool: https://docs.protomaps.com/guide/getting-started#_3-extract-...
18.
▲
by
bdon
3y ago
I maintain a small MVT rendering library for Leaflet - I'm overall satisfied with the performance on modern devices, but usually point greenfield projects at MapLibre instead, unless you need some very specific Leaflet plugin. demo: h
19.
▲
by
bdon
3y ago
There is nothing stopping the OSM Foundation from say, offering a complete SQLite (or PMTiles) tileset download on planet.openstreetmap.org, technically, legally or otherwise. Creating and archiving the tiles shown on osm.org would be at le
20.
▲
by
bdon
3y ago
Leaflet is a separate project from OpenStreetMap - it's just one popular frontend for viewing tiles served from openstreetmap.org, like OpenLayers. I don't believe the OSM Foundation has ever been involved in Leaflet development,
21.
▲
by
bdon
3y ago
It doesn't, pmtiles is designed for tilesets updated at a daily to quarterly frequency, by replacing the entire archive on cloud storage. for minute-level updates serving tiles out of PostGIS is the best current approach, which is the
22.
▲
by
bdon
3y ago
Most of the development for pmtiles has happened in the last 2 years, including a maturing server implementation ( http://github.com/protomaps/go-pmtiles ) but some key parts are still missing like the ability to decode
23.
▲
by
bdon
3y ago
> If I normally deal with data in the multi-GB range, limiting my uploads to 250MB seems woefully insufficient. I think you're on to something here, which is that bytes stored isn't a great price discriminator for this class of
24.
▲
by
bdon
3y ago
Common situations for founders who describe themselves as bootstrapped: - doing consulting work on the side - living off savings - having a spouse with income For bootstrapped companies in the software or SaaS space without employees there
25.
▲
by
bdon
3y ago
Natural Earth is generalized (low zoom) data and has hand-curated scaleranks on features to determine what features appear at low zooms. None of that is in OSM.
26.
▲
by
bdon
3y ago
Mapbox is still the best choice where a polished suite of mapping APIs is a better fit for a project. Mapbox is a venture-backed company with a SaaS business model, and has never been open source in total - it used to be open core with a FO
27.
▲
by
bdon
3y ago
The ordering applies across tiles, and not within - it should be efficient to diff two archives because there is a single, well-defined ordering over the entire archive, and writing algorithms over the tileset is all 1D operations instead o
28.
▲
by
bdon
3y ago
You can kind of do that already with the pmtiles CLI: pmtiles extract INPUT.pmtiles OUTPUT.pmtiles --bbox=BBOX --maxzoom=Z --dry-run --dry-run will output the total size of the final archive without downloading any tiles, so you can adjust
29.
▲
by
bdon
3y ago
It's OpenStreetMap (ODbL) and Natural Earth (public domain) currently * http://openstreetmap.org * http://naturalearthdata.com
30.
▲
by
bdon
3y ago
(I've updated the page at https://docs.protomaps.com/basemaps/downloads )
More ›