Live data from Hacker News

Maplibre: community-driven Mapbox GL fork

maplibre.org

21–30 of 87 posts

Re: Maplibre: community-driven Mapbox GL fork

#21
post #3

I'm one of the folks behind the fork (and part of the initial steering committee). Happy to answer any questions!

What would it take to display a map in a style as close as possible to the one used on openstreetmap.org ?

A few things:

- A data source for vector tiles; there's a lot of options: https://stadiamaps.com (my company), https://maptiler.com/ & https://jawg.io (other core contributing companies), among others.

- A style that matches. I'm not aware of an open source style that closely mirrors OSM's style using MapLibre GL Styles (also forked from Mapbox). OSM Bright is pretty close: https://github.com/mapbox/osm-bright / https://github.com/openmaptiles/osm-bright-gl-style.

Re: Maplibre: community-driven Mapbox GL fork

#22
post #3

I'm one of the folks behind the fork (and part of the initial steering committee). Happy to answer any questions!

Does it support rendering of rasters? What about support on Desktop platforms?

MapLibre GL Native supports server-side raster rendering via tileserver-gl or a custom server implementation (my company does this).

Desktop support should be possible with some extra work with Native, but I'm not certain, for instance, if the QT bindings are fully working yet.

Re: Maplibre: community-driven Mapbox GL fork

#23
post #3

I'm one of the folks behind the fork (and part of the initial steering committee). Happy to answer any questions!

What would it take to display a map in a style as close as possible to the one used on openstreetmap.org ?

The OSM style is here: https://github.com/gravitystorm/openstreetmap-carto

There is an issue about converting it to vector: https://github.com/gravitystorm/openstreetmap-carto/issues/3...

Doesn't seem like there's any current vector versions of that style, but you could make one yourself using Maputnik or similar; you'd probably want to start with OpenMapTiles and maybe even one of the pre-existing styles for OMT like OSM bright.

Re: Maplibre: community-driven Mapbox GL fork

#24
post #3

I'm one of the folks behind the fork (and part of the initial steering committee). Happy to answer any questions!

I've struggled to understand the relationship between Mapbox, Mapbox Studio, Mapbox GL, OpenStreetMap, and other libraries like OpenLayers or Leaflet.

Could you please explain (in brief) the mapping "ecosystem" as it were, and where Maplibre fits into the picture?

Re: Maplibre: community-driven Mapbox GL fork

#25
post #3

I'm one of the folks behind the fork (and part of the initial steering committee). Happy to answer any questions!

What would it take to display a map in a style as close as possible to the one used on openstreetmap.org ?

It would take someone designing the same style in the vector format. This [0] is the closest I've seen to a vector port of the default OSM style. Demo [1]

[0]: https://github.com/baremaps/openstreetmap-vecto

[1]: https://www.baremaps.com/assets/demo.html

Re: Maplibre: community-driven Mapbox GL fork

#26
post #4
post #3

I'm one of the folks behind the fork (and part of the initial steering committee). Happy to answer any questions!

The site mentions "additional functionality" vs. Mapbox Native. Is that additional functionality listed somewhere? (Apologies if it is and I missed it)

Metal support (coming soon) and MBTiles support (released AFAIK) are two things I know of, but I defer to the Releases page for specifics beyond that: https://github.com/maplibre/maplibre-gl-native/releases.

Re: Maplibre: community-driven Mapbox GL fork

#27
post #3

I'm one of the folks behind the fork (and part of the initial steering committee). Happy to answer any questions!

I've struggled to understand the relationship between Mapbox, Mapbox Studio, Mapbox GL, OpenStreetMap, and other libraries like OpenLayers or Leaflet. Could you please explain (in brief) the mapping "ecosystem" as it were, and where Maplibre fits into the picture?

Rough overview:

Leaflet: fairly simple open source mapping library. Canvas-based. The original Mapbox (called MapboxJS) is based on this.

Openlayers: open source mapping library that’s more capable (e.g many different protections) but also more complex. Can render to Canvas or SVG.

Openstreetmap: public and free source of mapping data. Mapbox uses this as a default data source.

MapboxGL: completely new implementation of a mapping library written in WebGL (should perform better). MapboxGL changed its license recently, prompting the creation of the libremap fork.

Re: Maplibre: community-driven Mapbox GL fork

#28
post #3

I'm one of the folks behind the fork (and part of the initial steering committee). Happy to answer any questions!

I've struggled to understand the relationship between Mapbox, Mapbox Studio, Mapbox GL, OpenStreetMap, and other libraries like OpenLayers or Leaflet. Could you please explain (in brief) the mapping "ecosystem" as it were, and where Maplibre fits into the picture?

Good question! There's a lot of Maps and it's very unclear how they all fit together without prior experience.

OpenStreetMap (OSM) is a community-driven, fully open and usable data library. It has usable data for almost the entire world for everything from cities, roads, houses, parks, country borders, and work. It's a database of everything you need to make map. They also have a website that renders that map, but it's not commercially usable.

Mapbox is one of the first companies to take OSM's dataset and commercialize it. Along the way they created a lot of the wildly used mapping libraries, including renders, data formats, and styling tools.

Mapbox Studio is one of Mapbox's proprietary tools for working with maps in their ecosystem.

Mapbox GL is a suite of renderers, originally entirely open source, developed by Mapbox with the community to render map data (from many different sources).

MapLibre GL is a community-driven fork of the Mapbox GL suite, after Mapbox closed the licenses to require payment if you use the latest versions.

OpenLayers and Leaflet are both alternative, open source renderers with various levels of capabilities. Interestingly, the creator of Leaflet now works for Mapbox (if my facts are correct and current).

Re: Maplibre: community-driven Mapbox GL fork

#29

Forgive me if obvious—where are you pulling the underlying data from? Is the data itself OS licensed?

As others stated, this demo dataset is pretty simple. I believe it's only using Natural Earth data (https://www.naturalearthdata.com/). The primary focus is on the rendering library.

Re: Maplibre: community-driven Mapbox GL fork

#30

Earlier quoted context omitted.

Does it support rendering of rasters? What about support on Desktop platforms?

Yes, you can render raster layers (tile sources). https://docs.mapbox.com/mapbox-gl-js/example/map-tiles/

And here's the forked version of that example: https://maplibre.org/maplibre-gl-js-docs/example/map-tiles/
Post reply on HN