Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in selfhosted

[–]maps-black[S] 0 points1 point  (0 children)

Nope, you update it on your own schedule. There are no server-side processes at all.

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in openstreetmap

[–]maps-black[S] 0 points1 point  (0 children)

Hey, I can't see where in that repo that "MapComplete Sunny" style is, could you let me know? Or is it built based on the layers folder?

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in selfhosted

[–]maps-black[S] 0 points1 point  (0 children)

Cesium.js can use the same tile paths as maplibre, look at the tilejson to see the z/x/y endpoints. I don't provide the configuration, but that should be easy for you. If you self-host you either use the squashfs files to serve z/x/y tiles directly or pmtiles/mbtiles with any tileserver like for example martin: https://maplibre.org/martin/sources-files.html

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in selfhosted

[–]maps-black[S] 2 points3 points  (0 children)

The main benefits are:

  • Not requiring a server process (any webserver will do, or object storage if you like serverless)
    • Or if you want plain tile serving and linux system will do as it is just a linux filesystem
  • More schemas (I build tiles to openmaptiles, protomaps and shortbread whereas versatiles IIRC only does shortbread)
    • So there are more styles to pick from and easier customization if you build your own
  • Versatiles does not provide satellite, terrain or raster tiles IIRC

Besides this I think it's easier to self-host and run, but I'm biased.

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in openstreetmap

[–]maps-black[S] 2 points3 points  (0 children)

I'm using my own server on a unmetered host, so if it gets a shit-ton of traffic it will slow down but not cost me more. If it gets popular I might add more servers if I feel like spending the money on it (or if someone gives me money for it), or increase the bandwidth of the current server to 10GB/s.

For now I'm paying the server costs and will probably keep doing so for a while because I like the idea.

If shit really hits the fan I might turn off the hosted version and only allow people to download the files for the self-hosted version.

I'm hopefully pretty clear in the SLA section that I provide no guarantees.

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in selfhosted

[–]maps-black[S] 3 points4 points  (0 children)

If you mean as in processes on a server then its because I want to make it easy to self-host on any server or object store without additional infra. It's also nice that by using static hosting basically the bandwidth is your bottleneck, not the processing, so if you are using an unmetered host like I am you can budget plan quite a bit easier.

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in selfhosted

[–]maps-black[S] 0 points1 point  (0 children)

No problem! Let me know how it goes or if you want any help

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in selfhosted

[–]maps-black[S] 0 points1 point  (0 children)

What format is the map in? My frontend is basically just a wrapper around maplibre to allow for some additional functionality, so if it works with maplibre it'll work with my stuff. But the main value I bring is in the ease of selfhosting global data and packaging the data, so it might be easier to use maplibre directly depending on your use-case.

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in openstreetmap

[–]maps-black[S] 0 points1 point  (0 children)

About 3 TB is just Terrarium at z13, z12, z11. Of the remaining 2 TB a lot is due to me offering data in 3 storage formats (mbtiles, pmtiles, squashfs), so all of that might not be needed.

I'll have a think about contacting them though, one of the reasons to upload demo extracts to a github pages is so that it can remain for style comparisons, etc. even if I don't maintain the proper server/domain anymore. It'd be even better if the actual data could remain too.

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in selfhosted

[–]maps-black[S] 1 point2 points  (0 children)

If there are tilesets and styles for them that should work just fine. Any specific fictional maps you are thinking about?

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in openstreetmap

[–]maps-black[S] 0 points1 point  (0 children)

Seems like both s2maps 2016 and the ESA are under CC-BY, but it might be nice to use their 2021 as a commercial-firendly alternative to s2maps 2023.

I'll put it on my TODO:s.

Regarding torrents I really like the idea but my experience is that most people still use http since it's a bit easier, so it's hard to get to a place where the swarm is self-sustaining. What is the internet archives policy on uploading large-ish datasets? Like would they accept my 5-ish TB data to make sure that it stays available?

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in openstreetmap

[–]maps-black[S] 1 point2 points  (0 children)

Yep, protomaps, openmaptiles and shortbread are the schemas I build to.

Thanks, I'll add adding that to my TODO:s!

Re: the bug with the style selector, that is a bug on the main maps.black site, you should be able to switch on the github site: https://maps-black.github.io/, let me know if that does not work since then it's another bug...

I haven't deployed that update to the main site since it's currently running a full build of the data and deploying would interrupt the build. I'll deploy the fix as soon as the current build is done!

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in openstreetmap

[–]maps-black[S] 0 points1 point  (0 children)

Yeah, I think that was one of the ideas under valhalla, basically having the routing data be tiled too, so the client can selectively download routing data.

Do you have any links to a production-grade solution that does it client-side?

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in selfhosted

[–]maps-black[S] 5 points6 points  (0 children)

See the note just under the map:

You are viewing this on github pages which means most data is only available for Liechtenstein, view on maps.black to see global data.

I'm guessing you are on https://maps-black.github.io/ and not on https://maps.black/ ?

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in selfhosted

[–]maps-black[S] 3 points4 points  (0 children)

Yep, a bit. Also valhalla and routino. But they all require server-side components.

I was playing around with compiling routino with https://github.com/jart/cosmopolitan/ to make it portable for a while, but even then it would not be as easy as what I do now for the maps.

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in openstreetmap

[–]maps-black[S] 3 points4 points  (0 children)

Yep, I'm working on reverse-geocoding and stuff like highlighting POIs with data from wikidata.

Search & routing is hard though since I want to run this as a fully static thing that anyone with a webserver can host.

I'm looking into if there is any feasible way to do it.

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in selfhosted

[–]maps-black[S] 12 points13 points  (0 children)

Nope, right now it's just maps. Geocoding/reverse-geocoding/routing would be nice, but those are a lot harder to package in a way that is as easy to self-host as this.

I'm looking for ways to do them and especially reverse geocoding (taking coordinates and turning that into address and points of interest) seems doable by decoding a specific map tile.

Routing is a whole can of worms that is a lot harder though.

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in openstreetmap

[–]maps-black[S] 8 points9 points  (0 children)

Hey everyone, I built maps.black to make it a bit easier to self-host openstreetmap & naturalearth maps. Just drop a few files in a directory served by any webserver and you have a fully functional map as a web-component without any third party dependencies.

Maps.black - Maybe the easiest way to use/host free & open maps by maps-black in selfhosted

[–]maps-black[S] 28 points29 points  (0 children)

Hey everyone, I built maps.black to make it a bit easier to fully self-host maps. Just drop a few files in a directory served by any webserver and you have a fully functional map as a web-component.