GeoTIFF / georaster-layer-for-leaflet-example

Simple Example of GeoRasterLayer for Leaflet
https://geotiff.github.io/georaster-layer-for-leaflet-example/
Apache License 2.0
85 stars 26 forks source link

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

Closed jfoclpf closed 5 months ago

DanielJDufour commented 6 months ago

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!

jfoclpf commented 6 months ago

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 commented 5 months ago

@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 commented 5 months ago

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

DanielJDufour commented 5 months ago

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

DanielJDufour commented 5 months ago

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

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!

jfoclpf commented 5 months ago

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