Open-EO / openeo-web-editor

An interactive and easy to use web-based editor for the OpenEO API.
https://editor.openeo.org
Apache License 2.0
12 stars 17 forks source link

Equi7 support #301

Open m-mohr opened 1 year ago

m-mohr commented 1 year ago

EODC uses Equi7, but we can't properly encode and handle it right now. Thus EODC will add a new field equi7:proj to the assets, which value is the proj string from the list below:

AF: '+proj=aeqd +lat_0=8.5 +lon_0=21.5 +x_0=5621452.01998 +y_0=5990638.42298 +datum=WGS84 +units=m +no_defs' AN: '+proj=aeqd +lat_0=-90 +lon_0=0 +x_0=3714266.97719 +y_0=3402016.50625 +datum=WGS84 +units=m +no_defs' AS: '+proj=aeqd +lat_0=47 +lon_0=94 +x_0=4340913.84808 +y_0=4812712.92347 +datum=WGS84 +units=m +no_defs' EU: '+proj=aeqd +lat_0=53 +lon_0=24 +x_0=5837287.81977 +y_0=2121415.69617 +datum=WGS84 +units=m +no_defs' NA: '+proj=aeqd +lat_0=52 +lon_0=-97.5 +x_0=8264722.17686 +y_0=4867518.35323 +datum=WGS84 +units=m +no_defs' OC: '+proj=aeqd +lat_0=-19.5 +lon_0=131.5 +x_0=6988408.5356 +y_0=7654884.53733 +datum=WGS84 +units=m +no_defs' SA: '+proj=aeqd +lat_0=-14 +lon_0=-60.5 +x_0=7257179.23559 +y_0=5592024.44605 +datum=WGS84 +units=m +no_defs'

https://github.com/TUW-GEO/Equi7Grid

m-mohr commented 1 year ago

@SerRichard Do you have an example for me?

SerRichard commented 1 year ago

Sure!

In the Canonical link, equi:proj is found per asset as discussed :smile:

m-mohr commented 1 year ago

It doesn't work as expected yet even after loading the Equi7 proj string, so checking with OL whether there's an issue: https://github.com/openlayers/openlayers/issues/14663

Based on result link https://openeo-dev.eodc.eu/openeo/1.1.0/jobs/cb978a89-0425-4586-b096-6b7b8bb1d7a7/results?Expires=1681909029&KeyName=SIGN_KEY_1&UserId=77e57f4d-4ed1-4f75-8ef0-5a6d69982d0d&Signature=nGLX9wMB-8m06G0fG3T8oyRpKoQ=