Closed jmichellehu closed 10 months ago
Which version of gdal are you using?
python -c "import osgeo.gdal; print(osgeo.gdal.VersionInfo());"
I'm using 2030300.
Going to try the conversion with dem_geoid
J. Michelle Hu PhD student | Civil and Environmental Engineering University of Washington | Seattle, WA j hujy@oregonstate.edumhu@uw.edu
[image: https://www.linkedin.com/in/j-michelle-hu/] https://www.linkedin.com/in/j-michelle-hu/
On Tue, Apr 23, 2019 at 7:19 PM ScottMcMichael notifications@github.com wrote:
Which version of gdal are you using?
python -c "import osgeo.gdal; print(osgeo.gdal.VersionInfo());"
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NeoGeographyToolkit/StereoPipeline/issues/257#issuecomment-486041214, or mute the thread https://github.com/notifications/unsubscribe-auth/AKLYILN7OZARHRTOMH2O3V3PR67RHANCNFSM4HH7SPSA .
--
J. Michelle Hu PhD student | Civil and Environmental Engineering University of Washington | Seattle, WA j hujy@oregonstate.edumhu@uw.edu
[image: https://www.linkedin.com/in/j-michelle-hu/] https://www.linkedin.com/in/j-michelle-hu/
datum_convert has been obsoleted. It is suggested to look into latest GDAL tools for functionality that converts datums.
Version 2.6.1 and in development build Input command:
datum_convert --input-datum NAD83 --output-datum WGS_1984 --show-grid-calc <input_dem.img> <output_dem.img>
Errors encountered:
KeyError: expects WGS84, receives WGS1984.
My conditional fix in try block (line 151, in getHtdpCode):
Resulted in attempts to generate grid shift file:
And running with --show-grid-calc revealed syntax errors (Python 2) in crs2crs2grid.py script:
Which, once parentheses added to print statements in lines 62 and 85 of crs2crs2grid.py, results in failure due to unsupported GDAL driver: