djh, to random
@djh@chaos.social avatar

Everything You Wanted to Know About Vector Tiles (But Were Afraid to Ask) 🗾✨

https://www.openstreetmap.org/user/daniel-j-h/diary/404061

I collected my thoughts on vector maps and vector tiles after having spent some time reading the mvt spec for the first time 🦧💡

Happy year of vector maps! 🎉

scy, to random
@scy@chaos.social avatar

Hey bubble: What are my options for self-hosting a minimalistic (forward) geocoder?

I'm using and I enjoy not having to run a big Postgres server and associated tooling to get a nice map, but now I'd like to allow my users to find the coordinates for addresses by searching in a simple text field.

Autocomplete would be nice.

https://addok.readthedocs.io/ seems to be an option, it only needs Redis (or even SQLite), but requires some data preparation.

djh, to Rowing
@djh@chaos.social avatar

Ended up building a progress tracker for my 2024 goal #Rowing the Atlantic on a #Concept2 🚣‍♂️✨

https://github.com/daniel-j-h/rowing2024

It's updating the map on a daily basis with my rowing progress based on the official Concept2 Logbook data via the ErgData app🎉

Map data #OpenStreetMap, map sdk #Protomaps & #Maplibre, GitHub Action for the daily cron job. All very scrappy, glued together 🫣

djh, to maps
@djh@chaos.social avatar
simon, to random
@simon@simonwillison.net avatar

https://protomaps.com/ and PMTiles are brilliant - you can serve up a vector tile file of the entire world (100+GB) and have it display in browsers using HTTP Range header tricks to download just the subset needed for the current area

I figured out how to create a subset tile file for Half Moon Bay (just 2MB) and serve it using maplibre-gl

https://til.simonwillison.net/gis/pmtiles

djh,
@djh@chaos.social avatar

@simon It's neat right? ✨

Regarding your font question in the post, I looked into it last week and here is a writeup

https://github.com/protomaps/basemaps/issues/41#issuecomment-1766890893

There are a few more things a full blown map distribution benefits from, all in the works but def. need more time and energy, e.g.

Sprites for map symbols
https://github.com/protomaps/basemaps/issues/160

Terrain
https://github.com/orgs/protomaps/discussions/5

Both as well as are the perfect projects to get involved in! 🫶

scy, to maps
@scy@chaos.social avatar

Holy shit I think I’m in love.

, a way to serve vector of the entire world using a single static file and HTTP range requests.

It’s basically a static site generator for interactive maps. Tile servers are pretty much obsolete now. No database needed, you can run your interactive, smooth-zooming vector map from any HTTP storage. S3, Caddy running on your Wi-Fi router, even GitHub pages.

https://protomaps.com/

It’s open source & free to use. Wow. 🤯

via https://chaos.social/@djh/111280447304607540

davehorsey,

@scy Just listened to the Mapscaping podcast where they discuss . Sounds like it could be a game changer. https://mapscaping.podbean.com/e/planet-scale-tiled-maps-without-a-server/

mardor,
@mardor@ruhr.social avatar

@scy

djh, to maps
@djh@chaos.social avatar

I genuinely feel like is not nearly getting the attention it deserves

https://protomaps.com

We can drop a single file on a static host and get stylable vector maps? Magic ✨

In combination with Maplibre it's a game changer for 99% of web map use cases 👏

Ciantic, to random
@Ciantic@twit.social avatar

Most of the examples start with "Download this 100GB" file and then us this tool xyz extract 20 Mb from it. So frustrating.

Gladly is going in the right direction, but its small map maker isn't making as detailed extracts so I'm now investigating tilelive, etc.

Then I can use pmtiles command line tool to convert mbtiles file to statically served pmtiles map file.

Ciantic, to random
@Ciantic@twit.social avatar

looks cool, but they also fail to show how to use it. Their maplibre example page starts with JSON object, and no instructions where should I paste that?

https://protomaps.com/docs/frontends/maplibre

libraries dealing with tiles are full of jargon and very few good working tutorials.

Ciantic,
@Ciantic@twit.social avatar

Oh I found example page of https://protomaps.github.io/PMTiles/examples/maplibre.html

But guess what, it's collection of blue polygons? To figure out how to make it show something useful I have to figure out next thing, the layers. Of course in there is no example with sensible defaults, just blue polygons.

djh, to random
@djh@chaos.social avatar

Map video overlays are a thing! 🗺️✨😮

It's tricky, tho! I haven't found an easy way to

  • geo reference footage; eye-balling video bounds right now

  • add a video that's not just overhead footage looking straight down (footage at an angle)

  • work with footage from a moving camera (counteract moving camera)

  • cast the magic ffmpeg spell for webm transparency

Otherwise pretty cool!! 🎉

Attribution: map data , map tiles @bdon's tile export, map sdk

overhead drone footage video on a tilted map

IvanSanchez, to random
@IvanSanchez@mastodon.social avatar

Dear peeps: go give @bdon a follow (specially if you think is neat).

mvexel, to random
@mvexel@en.osm.town avatar

well that didn't take long!

https://github.com/bdon/overture-tiles

opaque schemas are no match for open source devs with a passion for truly open map data and their tools @bdon

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • modclub
  • everett
  • rosin
  • Youngstown
  • slotface
  • ethstaker
  • mdbf
  • kavyap
  • osvaldo12
  • DreamBathrooms
  • anitta
  • Durango
  • ngwrru68w68
  • tester
  • khanakhh
  • love
  • tacticalgear
  • cubers
  • GTA5RPClips
  • Leos
  • normalnudes
  • provamag3
  • cisconetworking
  • JUstTest
  • All magazines