Skip to content

Instantly share code, notes, and snippets.

@scottyhq
Created March 15, 2023 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottyhq/af8ee3c440cbe0a3a5ffaa538643b104 to your computer and use it in GitHub Desktop.
Save scottyhq/af8ee3c440cbe0a3a5ffaa538643b104 to your computer and use it in GitHub Desktop.
srtm-rasterio-debug
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jaimebayes
Copy link

Hi there,

I reproduce your code, and it seems the difference were corrected already. I didn't find any differences or maybe I made a mistake.
Do you have the same results?
gdal_vs_rio

Cheers,

@scottyhq
Copy link
Author

scottyhq commented Mar 20, 2023

@jaimebayes my guess is no shift grid is being applied in your case (look at the logs). In this case, the 'shift' is just 0 so there is no difference with the original raster. This can happen if PROJ_NETWORK='OFF' and you don't have any local grids, or if you are using older versions than the ones documented above...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment