Skip to content

Notify data projection not compatible / available for COG #9589

@offtherailz

Description

@offtherailz

Description

When the download metadata is checked (and it should be by default), we have to check the CRS and notify the user if the CRS definiton is not defined in MapStore, so the layer can not be reporojected in the map CRS.

CRS should be avaliable from const crs = getProjectionFromGeoKeys(image); we already query on catalog to get the BBOX

Also if the layer in map is in a projection not compatible, it should be grayed out and notified as for WMTS.

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Other useful information

I don't think is relevant for our implementation,
but we noticed that in this example openlayer do not define any projection for the map or include the tiff projection

https://openlayers.org/en/latest/examples/cog.html

Probably the OL map has some automation to properly target projection

Instead here they are defined

https://openlayers.org/en/latest/examples/multiple-cogs.html

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions