nasa-gibs / gibs-web-examples

Examples of using GIBS with various web mapping libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Investigate ways to use 4326 vector tiles on 3857 map

Benjaki2 opened this issue · comments

FIRMS Vector layers are not provided in EPSG:3857 and it would be nice to be able to point users to an example of how to use EPSG:4326 vector layers on their EPSG:3857 maps.

Is there way to display vector tiles from https://gibs.earthdata.nasa.gov/wmts/epsg4326/best/VIIRS_NOAA20_Thermal_Anomalies_375m_All/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.mvt on Mapbox native (iOS) which uses EPSG:3857 projection? Or any way to transform from EPSG:4326 to EPSG:3857 ?

I need to display fires but Thermal_Anomalies layers are not available for EPSG:3857 https://gibs.earthdata.nasa.gov/wmts/epsg3857/best/1.0.0/WMTSCapabilities.xml

Due to the nature of MVTs being "go here, draw this", I don't think you could easily translate an EPSG:4326 tile to EPSG:3857. Of course, we could just generate the EPSG:3857 vector tiles and serve them natively. In the meantime, you can request a WMS visualization of those products in EPSG:3857... though you lose the vector aspect and simply get a raster representation.

Thanks, is there a plan to support EPSG:3857 vector tiles natively? I see some layers are already supported but not Fire(Thermal_Anomalies) layers

No current plan, but I just filed the enhancement ticket for our ingest software. As we are in the midst of testing a major release, I'm not sure what the timeline will be.