eodaGmbH / py-maplibregl

Python bindings for MapLibre GL JS
https://eodagmbh.github.io/py-maplibregl/
MIT License
27 stars 2 forks source link

Available Projections? #54

Closed diehl closed 3 weeks ago

diehl commented 1 month ago

Hi Stefan,

If memory serves, Deck.GL only supports rendering maps in EPSG:4326 (WGS84). Is this library similarly constrained? I could not seem to get a basemap to render in another projection.

Chris

crazycapivara commented 4 weeks ago

Yes, MapLibre GL only supports Web Mercator (EPSG:3857) projection.

btw if you want to mix Deck.GL and MapLibre layers, this is now possible in the latest version:

diehl commented 3 weeks ago

Hi Stefan,

Ah yes this is raising the confusion I've run into multiple times: the distinction between unprojected and projected coordinate systems (EPSG:4326 vs 3857). And that is awesome news about mixing Deck.GL and MapLibre layers!

I appreciate the feedback!