Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bdon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
bdon
4y ago
Hi, thanks for the mention! The Mapbox repo has an older version of tippecanoe; there's a newer version actively being improved by Felt at http://github.com/felt/tippecanoe , and they've also funded my additi
62.
▲
by
bdon
4y ago
Author here - the catch is that the data you store and serve is usually not as rich and complete as Google's, of course. The solution as described in the post is for serving tile archives, and where you get the tile archive is up to yo
63.
▲
by
bdon
4y ago
The renderer used in the linked article (MapLibre) has an internal tile cache used when you return to a previously loaded area of the map. For the non-tiled parts of the PMTiles file, like metadata and the directories that store Z/X&#
64.
▲
by
bdon
4y ago
Yes, PMTiles is a tradeoff that isn't appropriate for transactional use cases. SQLite is pretty good for that already. There is a throughput limit on S3 files of approximately 5500 GETs/sec per key. Bare archives on S3 is an appro
65.
▲
by
bdon
4y ago
If you have access to SQLite in your desktop application then there isn't any big wins from using PMTiles over MBTiles; PMTiles does have some special design around tile-deduplication but this is possible in MBTiles too by using table
66.
▲
by
bdon
4y ago
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 p
67.
▲
by
bdon
4y ago
The limitation is of the demo, which uses a publicly accessible asset on cloud storage. The near-term goal for Protomaps to support z15, which is beyond what most OSM-based solutions provide; there's over a billion addressable tiles fo
68.
▲
by
bdon
4y ago
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 main
69.
▲
by
bdon
4y ago
Hi, Protomaps author here (not author of the linked article) - can you link the area you're seeing the rendering issues? Most demos are built using OpenStreetMap data, which should be decent for NZ, so curious what the root cause is he
70.
▲
by
bdon
4y ago
This is interesting! * Is there a way to access a GOL file from a different language? * Can a GOL be updated in-place with replication diffs?
71.
▲
by
bdon
4y ago
SVG will become sluggish past a few thousand features, which is typical for viewing an urban area on the map.
72.
▲
by
bdon
4y ago
If you want to display infinite fractional zoom levels, WebGL is mandatory. That's what most consumers will expect from a high fidelity map application, because that's the way Google and Apple Maps work.
73.
▲
by
bdon
4y ago
The barriers to adopting vector-everywhere are social and commercial, not technical. There are a couple great public raster services like osm.org's default style and http://maps.stamen.com . These are 100% free to use, so th
74.
▲
by
bdon
4y ago
Because Leaflet is an extensible library for building map UIs using the browser, using DOM elements as grid cells, and using SVG in some cases for overlay geometry and user interaction. Things that are mandatory for map display, like: - Lab
75.
▲
by
bdon
4y ago
Well, I wrote one already for leaflet ;) https://github.com/protomaps/protomaps.js TBH, the blocker is not demand for vector rendering but the technical difficulty and performance constraints of doing rasterization in
76.
▲
by
bdon
4y ago
A few reasons: 1) Some of the most popular map library frontends like Leaflet support only raster tile layers out of the box. 2) Quality vector generalization (feature-dropping) is much more difficult than raster generalization. 3) A large
77.
▲
Meta’s new speech translation system for an unwritten language (Hokkien)
(ai.facebook.com)
5 points
by
bdon
4y ago
|
0 comments
78.
▲
by
bdon
4y ago
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/p
79.
▲
by
bdon
4y ago
The COMTiles design has a very neat idea for batching requests directly on the client due to its ordered layout; this should also be possible in PMTiles spec v3 which introduces an optional Hilbert ordering on disk, as well as index compres
80.
▲
by
bdon
4y ago
The end goal of PMTiles is similar to SQLite-over-HTTP: SQLite is designed for access on local disk, and might make many requests for a single query, each incurring a HTTP roundtrip (could take hundreds of milliseconds). PMTiles is designed
81.
▲
by
bdon
4y ago
* Yes, the serverless part is a CDN accelerator for any tiled data, as long as you can get your own map data into PMTiles format. I have tested with azure functions but it's not as mature as other platforms yet. If your several map app
82.
▲
by
bdon
4y ago
Yep, it's inspired by COG as well as MBTiles, hence the name. Key differences are: * like MBTiles it's agnostic to what individual tiles are. You can store vector data as SVG, Protobuf, raster PNGs, JPGs or even raw digital elevat
83.
▲
by
bdon
5y ago
The tiles in the PMTiles on static storage are already pre-generated. However, most storage solutions work in a single region, and don't offer great latency guarantees. Lambda/Workers performs the computation to populate the edge
84.
▲
by
bdon
5y ago
The stack I describe in the post is only for map tiles - Map tiles are a good fit for CDNs because the input space is small (just Z/X/Y coordinates on a square grid) and thus very cacheable. Geocoding is a very different problem b
85.
▲
by
bdon
5y ago
I've tested Backblaze B2 as a storage option, and I found that with the level of traffic a typical map backend incurs, there were enough 503 errors to cause problems. This is an intentional trade-off of the B2 design that allows them t
86.
▲
by
bdon
5y ago
Author of post here. One of the cool possibilities here is that Planetiler output is just another dataset, provided it's been converted to the S3-friendly PMTiles archive format (utility here: http://github.com/protomap
87.
▲
by
bdon
5y ago
> What is your definition of End Product here? Eg if we have an app and website under one brand is that two end products or one? One brand with web + mobile app would be one product. To be more explicit, a software development consultanc
88.
▲
Mantle – Serverless Maps Using Lambda or Cloudflare Workers
(protomaps.com)
113 points
by
bdon
5y ago
|
19 comments
89.
▲
by
bdon
5y ago
React users can take a look at this component called Pigeon Maps to accomplish a similar user experience in more React DOM compatible way: https://pigeon-maps.js.org Though you miss out on the wide range of Leaflet plugins!
90.
▲
by
bdon
5y ago
* Leaflet is based completely on the web platform. It achieves a zoomable slippy map experience by animating DOM elements - usually image tiles. * MapLibre GL JS is a BSD licensed fork of Mapbox GL JS version 1. Instead of consuming bitmap
More ›