After we fixed all this matters, we should be able to export the model to ArcGIS and proceed for further analysis. Both tools can be found in “Data Management Tools” > “Projections and transformations”.ī) In the case of a mistaken name or path files, this can be fixed by changing the names of the problematic layers and/or placing them in a folder with an appropriate path file name. This problem can be solved following the next steps:Ī) If the problem is caused by an inadequate reference system for any of the layers/elements, used in the creation of the HEC-RAS model, we must project the problematic layer/element in the same coordinate reference system like the rest of them using “Define Projection” tool or “Project Raster” according to the type of element that we wish to project (vector or raster).
Another thing that can cause the same problem is when naming/assigning layers, river sections or any feature of the model, we use accents or other symbols, such as:.A project path with spaces, “and”, dashes, symbols, etc., like the one shown below will give us problems:Įxample: d:\mnunez\Escritorio\HECRAS\Curso HEC RAS Martín\Canal Nuñez\canal+embalse.prj.For example, a correct project path should not have folders with names longer than 9 characters, nor should it contain spaces or characters such as those cited, Your project should look as shown below:Įxample: d:\mnunez\Escritorio\HECRAS\Ejerc6\canal.prj.
It might contain a space or some character that ArcGIS or GeoRAS does not recognize, such as middle dashes, accents, “ñ”, etc. At last, the most common cause of this error is related to the path where the project is located in ArcGIS with all its elements/layers.
The reference coordinate system it is not the same for all the elements/layers we used to create the HEC-RAS model, for example, the reference system of the Digital Elevation Model is ETRS_89_29N and the rest of the layers have the projection set to ETRS_89_30N.Some of the elements/layers with which we created the HEC-RAS model, were not well georeferenced (does not have a correct coordinate reference system).The following error may be encounter: “Failed to create intermediate ESRI XML file! Object reference not set to an instance of an Object.” The most common error that can appear when you try to export your HEC-RAS results (.sdf archive) using the Export RAS data tool to an xml file. In this exercise we will find out about the most frequent error which we can encounter while working with HEC-RAS and ArcGIS (via HEC-GeoRAS).
While importing HEC-RAS data to ArcGIS (using GeoRAS), the appearance of errors is a common thing, the complex architecture of the software and the specific detailed input necessities, make the handling of this software seem difficult. The interface capabilities include operations like preparation, import and export data from HEC-RAS into ArcGIS, as well as processing of the exported HEC-RAS data. HEC-GeoRAS is a tool, that allows processing geospatial data in ArcGIS using a graphical user interface (GUI).