georaster-layer-for-leaflet-example icon indicating copy to clipboard operation
georaster-layer-for-leaflet-example copied to clipboard

Create GeoTIFF directory, readme.me therein and add also a GeoTIFF file

Open jfoclpf opened this issue 1 year ago • 2 comments

jfoclpf avatar Apr 09 '24 23:04 jfoclpf

Looks like a great GeoTIFF! I'm curious, what's the source of the elevation data? Would you be interested in contributing it to https://github.com/geotiff/test-data ? It is a repository of testing data used by a bunch of different projects!

DanielJDufour avatar Apr 20 '24 17:04 DanielJDufour

Hi @DanielJDufour

The source is the new DEM (Digital Elevation Model) from Copernicus.

The latest DEM GeoTIFF files from Copernicus not only are available in WGS84, but also give you already the height over sea level.

These GeoTIFF files are presented as tiles that can be fetched from the Copernicus PRISM project on the following webiste: https://sso.demf.pass.copernicus.eu (a registered account is necessary, but it's free).

Exemple here to download all the tiles for Portugal (mainland, Azores and Madeira)

enter image description here

Afterwards, in the download options we should select Projection: WGS-84, Format: TIFF and Interpolation: Bilinear.

Then I clip it according to the GeoJSON of the municipality of Lisbon.

Is that (repo https://github.com/geotiff/test-data) a place to reference official geoTiffs?

jfoclpf avatar Apr 20 '24 20:04 jfoclpf

@DanielJDufour did you forget this PR? It's important because this example on this repo is not dependent on a TIF file located on my server

jfoclpf avatar May 18 '24 18:05 jfoclpf

It's here: https://github.com/GeoTIFF/georaster-layer-for-leaflet-example/blob/master/examples/elevation.html#L36

jfoclpf avatar May 18 '24 18:05 jfoclpf

Hi, sorry about that! I'll merge this right away.

DanielJDufour avatar May 18 '24 20:05 DanielJDufour

Sorry again for missing this. The only requirements for adding a tiff to https://github.com/geotiff/test-data are:

  • file is relatively small (less than 5mb) making it quick to download all the test files
  • file is in public domain or has a license that allows it to be shared
  • original data source is clear

It doesn't have to be the raw original or official tif. Clipped is okay as long as we know where it came from.

Hope this helps!

DanielJDufour avatar May 18 '24 20:05 DanielJDufour

Done it https://github.com/GeoTIFF/test-data/pull/2

jfoclpf avatar May 19 '24 09:05 jfoclpf