Open lsfischer opened 2 years ago
@charlycou Your solution sound good 👍
Actually instead of echoing and creating the directory we can create it directly if it does not exist with mkdir -p $OUTDIR
will adjust to that
Fyi this is still an issue when you use the pre-existing openelevation/open-elevation docker image (as the api docs instruct) and run it to generate the data tile sets. switching from unrar to unar in an older commit changes the file output behavior and adds an extra folder per .tar file so the gdalinfo commands fail since they have the incorrect path. Workaround of course is to not use the docker image and run the commands manually or import the docker image and replace the scripts and build a new docker image.
Thanks a lot @charlycou!
@Jorl17 any interest in merging this? I'd be happy to help out on other open issues
This PR updates the path in
create-dataset.sh
to reflect that the result ofwget + unrar
stores the files in aSRTM_XX_250m_TIF/SRTM_XX_250m.tif
path