TerriaJS / terriajs

A library for building rich, web-based geospatial data platforms.
https://terria.io
Apache License 2.0
1.18k stars 364 forks source link

Support for 3031 projections - investigation #6845

Open AnaBelgun opened 1 year ago

AnaBelgun commented 1 year ago

Context:

Options:

What would option 2 entail?

na9da commented 1 year ago

For approach 2 using Leaflet, there is Proj4Leaflet. Example usage here.

To support 2 we have to allow configuring additional viewer-modes for a map and the ability to pass CRS parameter for leaflet mode. Currently the viewer-modes are hardcoded.

The catalog maintainer can use the shortReport trait to remind the user to switch to "South Pole" mode.

AnaBelgun commented 1 year ago

the task here is to provide a means to extend the map modes, like through a plugin.

SpacemanPaul commented 1 year ago

For whole world completeness, you might also consider the north pole stereographic CRS EPSG:3995.

Web Mercator plus 3031 and 3995 would allow full coverage of the entire surface of the Earth.

Presumably a plugin approach would be able to support both, plus any other specialist CRSs that might crop up.