Live data from Hacker News

Vector Tiles are deployed on OpenStreetMap.org

blog.openstreetmap.org

31–40 of 73 posts

Re: Vector Tiles are deployed on OpenStreetMap.org

#31

What's the impediment to not providing daily or weekly planet-wide mbtiles similar to the availability of OSM pbfs on AWS open data buckets[1]? [1] https://registry.opendata.aws/osm/

I think mbtiles are being phased out for pmtiles because no DB required and can be served from static storage like R2/S3 (with a worker but hopefully the worker part goes away and they support byte offset requests soon)

The worker isn’t required, having a z/x/y tile scheme just makes caching the tiles server side super easy.

Look at the network tab on https://pmtiles.io/#url=https%3A%2F%2Fdemo-bucket.protomaps....

Re: Vector Tiles are deployed on OpenStreetMap.org

#32
post #28

Earlier quoted context omitted.

I am sorry but what is "300 Go RAM" 300 Go? I only know GB/GiB.

OP is probably French or his native tongue is French. Byte is “Octet” in French and typically you’ll see Go = Gigaoctet which is the same as GB.

Also more technically correct as byte never "officially" meant 8 bits, but octet is unambiguous.

Re: Vector Tiles are deployed on OpenStreetMap.org

#34
post #28

Earlier quoted context omitted.

OP is probably French or his native tongue is French. Byte is “Octet” in French and typically you’ll see Go = Gigaoctet which is the same as GB.

Also more technically correct as byte never "officially" meant 8 bits, but octet is unambiguous.

like measuring lengths in meters

Re: Vector Tiles are deployed on OpenStreetMap.org

#35

What's the impediment to not providing daily or weekly planet-wide mbtiles similar to the availability of OSM pbfs on AWS open data buckets[1]? [1] https://registry.opendata.aws/osm/

I think mbtiles are being phased out for pmtiles because no DB required and can be served from static storage like R2/S3 (with a worker but hopefully the worker part goes away and they support byte offset requests soon)

An mbtiles file is just an SQLite db which can store image or vector tiles which can be very useful.

It's great for exploring tiles but it essentially doesn't support range queries/requests, which pmtiles does.

Re: Vector Tiles are deployed on OpenStreetMap.org

#36
post #33

Many important details are not visible anymore: - gates on private pathways - shop names

Personally I'm quite happy that these tiles cut down on the clutter in the original OSM tiles. It made it very hard for me to actually use them for navigation because there was just so much stuff everywhere.

For example the old tiles displayed rail tracks extremely prominently, which just aren't relevant 99% of the time even when traveling by train. In the vector tiles they're much more muted and thinner.

Re: Vector Tiles are deployed on OpenStreetMap.org

#37

Earlier quoted context omitted.

More like OSM Database -> PNGs -> PNG Decoder in browser-> Your screen vs OSM Database -> Vector Tiles -> MaplibreGL.js -> WebGL -> Your Screen

Could you please comment on any security implications of executing community-generated vector tile content, compared to classic PNG decoding?

If you care about security implications of reading untrusted data, you may be interested in trying Qubes OS, which isolates apps by running everything in VMs. My daily driver, can't recommend it enough.

Re: Vector Tiles are deployed on OpenStreetMap.org

#38
post #33

Many important details are not visible anymore: - gates on private pathways - shop names

The choices are tough, also in details: Which shops to show in busy areas at which zoom level?

But mind: openstreetmap.org is ment as a developer site, for developers to see their changes quickly. The official idea is that other people should take the data and do "nice" things elsewhere. But of course reality is that users want to use openstreetmap.org as alternative to Google maps ...

Re: Vector Tiles are deployed on OpenStreetMap.org

#39
post #29
post #13

Background: Mapping applications split up data into "tiles" so you can download only the data you are currently looking at. For example, you don't want to download the entire planet, just to look at your own neighborhood. Historically, these tiles were literally images that the client application (i.e. web map) could "tile" side by side to cover the part of the map you were looking at. Now we refer to those images as…

>Vector tiles are not new technology. Yeah, it really is not. Mapbox Vector Tiles spec came out in 2014, and they've been absolutely standard across all (non-government) web mapping for at least the last 5 years.

Indeed almost everyone except Apple's MapKit library for in-app native maps integration is using vector these days.
Post reply on HN