OpenFreeMap - a public vector tile server for OpenStreetMap (openfreemap.org)
from boramalper@lemmy.world to technology@lemmy.world on 28 Sep 2024 20:08
https://lemmy.world/post/20289672

#technology

threaded - newest

flamingo_pinyata@sopuli.xyz on 28 Sep 2024 20:33 next collapse

There is no tile server running; only nginx serving a Btrfs image with 300 million hard-linked files.

Wow. Btrfs ftw

dual_sport_dork@lemmy.world on 28 Sep 2024 21:01 next collapse

I haven’t dug into the docs much. This really does return vectors? Because all of the OSM servers and services I have seen return tiles that are bitmaps, which for the type of data being displayed always seemed like a rather moronic way to do it.

boramalper@lemmy.world on 28 Sep 2024 22:35 next collapse

Yep, vectors. See github.com/onthegomap/planetiler

dual_sport_dork@lemmy.world on 28 Sep 2024 23:23 collapse

Neat.

unexposedhazard@discuss.tchncs.de on 28 Sep 2024 23:12 collapse

They generally intend to move to vectors afaik. There was a blogpost and call for donations by them a while ago.

Vitaly@feddit.uk on 28 Sep 2024 21:23 next collapse

I’m curious how much faster it is rather than downloading images

boramalper@lemmy.world on 28 Sep 2024 22:33 collapse

You mean how much faster downloading vector tiles are in comparison to raster tiles?

I think pre-rendering makes the biggest difference, rather than the type of tiles.

unexposedhazard@discuss.tchncs.de on 28 Sep 2024 23:15 collapse

Loading vector tiles should require significantly less data/bandwidth while also offering completely linear scaling without any steps. I hope this works well enough to eventually replace the current implementation.

errer@lemmy.world on 29 Sep 2024 02:52 collapse

It says in the repo that each file is 450 bytes. And served by nginx which might be compressing it further. So yeah, super duper tiny.

beejjorgensen@lemmy.sdf.org on 29 Sep 2024 05:19 next collapse

Supporting on GitHub. Just a few bucks a month. It won’t take many of us to get to $175/mo.

muzzle@lemm.ee on 29 Sep 2024 06:32 next collapse

Are there any android apps that use this yet?

Do you think osmand has any plan to add support?

boramalper@lemmy.world on 29 Sep 2024 07:39 collapse

This is a brand new project so I’m sure no apps are using this yet or even have plans to.

muzzle@lemm.ee on 29 Sep 2024 07:55 collapse

Well, here is hoping!

computergeek125@lemmy.world on 29 Sep 2024 12:37 collapse

Before anyone gets too deep I’d like to point out that this is just about hosting vector tiles, the actual tile gen is a separate project. Not to say that hosting large sets of files is trivial, just that there’s more to the picture than one repo.

github.com/onthegomap/planetiler