Welcome to the RAS Solution › Forums › HEC-RAS Help › Problems to load tiff to HEC RAS 5.07
- This topic has 2 replies, 175 voices, and was last updated 4 years, 11 months ago by Gerrit.
-
AuthorPosts
-
December 19, 2019 at 1:11 pm #7562GerritParticipant
Hello,
I created my first HEC RAS project. It is georeferenced and area photos have already been imported as well as some test profiles. There are now problems importing the georeferenced tiff. All files come from the same source.
HEC RAS issues the following error message when loading the tiff file:
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
EPSG PCS/GCS code 7837 not found in EPSG support files. Is this a valid. EPSG coordinate system?Details:
************** Exception Text **************
System.ApplicationException: EPSG PCS/GCS code 7837 not found in EPSG support files. Is this a valid
EPSG coordinate system?
at OSGeo.GDAL.Dataset.GetProjectionRef()
at GDALAssist.GDALRaster.GetProjection()
at GDALAssist.Metadata.GetProjectionInfo(String Filename)
at RasMapperLib.TerrainLayerCreate.btnAddFiles_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
—————————————-
PipeServer
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/PipeServer.exe
—————————————-
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
—————————————-
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
—————————————-
Utility
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/Utility.DLL
—————————————-
RasMapperLib
Assembly Version: 2.0.0.20291
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/RasMapperLib.DLL
—————————————-
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
—————————————-
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4042.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
—————————————-
GDALAssist
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/GDALAssist.DLL
—————————————-
HDFPInvokeDotNet
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/HDFPInvokeDotNet.DLL
—————————————-
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
—————————————-
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
—————————————-
gdal_csharp
Assembly Version: 1.0.6981.27857
Win32 Version: 1.0.6981.27857
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/gdal_csharp.DLL
—————————————-
ogr_csharp
Assembly Version: 1.0.6981.27857
Win32 Version: 1.0.6981.27857
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/ogr_csharp.DLL
—————————————-
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
—————————————-
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
—————————————-
OxyPlot.WindowsForms
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/OxyPlot.WindowsForms.DLL
—————————————-
OxyPlot
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/OxyPlot.DLL
—————————————-
System.Runtime
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll
—————————————-
TiffAssist
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/TiffAssist.DLL
—————————————-
System.Globalization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Globalization/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Globalization.dll
—————————————-
HDF.PInvoke
Assembly Version: 1.10.0.0
Win32 Version: 1.10.0.4
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/HDF.PInvoke.DLL
—————————————-
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
—————————————-
ParticleTracking
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/ParticleTracking.DLL
—————————————-
osr_csharp
Assembly Version: 1.0.6981.27857
Win32 Version: 1.0.6981.27857
CodeBase: file:///C:/Program%20Files%20(x86)/HEC/HEC-RAS/5.0.7/Mapper64/osr_csharp.DLL
—————————————-
Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
—————————————-
System.Dynamic
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
—————————————-
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
—————————————-************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging enabled.I have clicked further and the DEM information shows the following:
File: C:\HEC_RAS_MODELL\06 Terrain\dgm_wiesloch.tif
Driver: GTiff/GeoTIFF
Files: C:\HEC_RAS_MODELL\06 Terrain\dgm_wiesloch.tif
C:\HEC_RAS_MODELL\06 Terrain\dgm_wiesloch.tif.ovr
C:\HEC_RAS_MODELL\06 Terrain\dgm_wiesloch.tif.aux.xml
Size is 19313, 14553
Coordinate System is:
PROJCS[“ETRS_1989_UTM_Zone_32N”,
GEOGCS[“ETRS89”,
DATUM[“European_Terrestrial_Reference_System_1989”,
SPHEROID[“GRS 1980”,6378137,298.2572221010042,
AUTHORITY[“EPSG”,”7019″]],
AUTHORITY[“EPSG”,”6258″]],
PRIMEM[“Greenwich”,0],
UNIT[“degree”,0.0174532925199433],
AUTHORITY[“EPSG”,”4258″]],
PROJECTION[“Transverse_Mercator”],
PARAMETER[“latitude_of_origin”,0],
PARAMETER[“central_meridian”,9],
PARAMETER[“scale_factor”,0.9996],
PARAMETER[“false_easting”,500000],
PARAMETER[“false_northing”,0],
UNIT[“metre”,1,
AUTHORITY[“EPSG”,”9001″]],
AUTHORITY[“EPSG”,”25832″]]
Origin = (474377.250000000000000,5464256.250000000000000)
Pixel Size = (0.500000000000000,-0.500000000000000)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 474377.250, 5464256.250) ( 8d38’50.45″E, 49d19’49.78″N)
Lower Left ( 474377.250, 5456979.750) ( 8d38’52.13″E, 49d15’54.16″N)
Upper Right ( 484033.750, 5464256.250) ( 8d46’48.90″E, 49d19’50.97″N)
Lower Right ( 484033.750, 5456979.750) ( 8d46’49.95″E, 49d15’55.34″N)
Center ( 479205.500, 5460618.000) ( 8d42’50.36″E, 49d17’52.63″N)
Band 1 Block=128×128 Type=Float32, ColorInterp=Gray
Min=104.570 Max=229.330
Minimum=104.570, Maximum=229.330, Mean=150.263, StdDev=36.081
NoData Value=-3.4028234663852886e+38
Overviews: 9657×7277, 4829×3639, 2415×1820, 1208×910, 604×455, 302×228
Metadata:
STATISTICS_MAXIMUM=229.33000183105
STATISTICS_MEAN=150.26271383333
STATISTICS_MINIMUM=104.56999969482
STATISTICS_SKIPFACTORX=1
STATISTICS_SKIPFACTORY=1
STATISTICS_STDDEV=36.080825308815What can I do, to fix the problem?
Gerrit
December 20, 2019 at 7:02 pm #12665cameronParticipantThe program should project on the fly. Have you tried to bring it in using a different projection?
December 21, 2019 at 11:02 pm #12666GerritParticipantHi cameron
I found my mistake shortly after I wrote the message. The DEM had an other coordinate system.
Thanks
Gerrit -
AuthorPosts
- You must be logged in to reply to this topic.