- Education and Science»
- Geography, Nature & Weather
How to Convert a FLO-2D Elevation Grid to a TIN or Raster in ArcGIS 10
For most of you who are already familiar with ArcGIS 10 (and its extensions, 3d Analyst & spatial Analyst), converting between different digital elevation model formats is a no brainer. For example, it would be fairly simple to convert a raster elevation model to a set of mass points, then a TIN, followed by contour lines, and then back to a raster again. This would involve only a series of mouse clicks in the ArcGIS toolbox. But what if someone gave you a FLO-2D elevation grid and you wanted to convert that to another digital elevation model format so that you could use it on another project? First, I would probably ask for a copy of the raw data that was originally used to create the grid, but if it is un-obtainable, then an ArcGIS conversion is your next option.
Before performing a FLO-2D Grid conversion it would be wise to examine it to see if it truly represents the land you are trying to evaluate. In the example that I used to create this guide, the grid was a 50ft x 50ft grid. This would equate to having spot elevations surveyed on the ground at 50ft intervals without consideration for any grade breaks.
To my knowledge there isn’t a ready made tool or downloadable python script available to perform a FLO-2D Grid to TIN or Raster conversion. In the steps that follow, I will explain a simple method that can be used to make this conversion.
Please keep in mind that each time a set of data is converted to another format, some of the accuracy and quality is lost.
FLO-2D Grid Conversion Steps
Using ArcGIS 10 (ArcEditor license or higher with 3D Analyst Extension) the conversion will take place in the following 3 steps:
- Calculate the Centroids for the polygonal squares that form the FLO-2D Grid
- Convert the FLO-2D Grid into a set of points
- Use 3D analyst to convert the set of points (“mass points”) to a raster, TIN, or contour lines.
Calculating Centroids of Polygons
If you have an ArcInfo license you may be able to bypass this step by using the “feature to points” option found in the Data Management Toolbox. If you only have an ArcEditor license, then you can create two new fields and use the “Calculate Geometry” tool located within the attribute table. Here is how to do the latter.
- Open ArcToolbox and Go to Data Management > Fields and double-click the “Add Field” tool.
- Select the data that you want to add a field to (the FLO-2D Grid) as the input table, the field name should be label as “X” or “Longitude,” and the field type should be “Double.” Click OK.
- Repeat step 2 but this time the field name should be “Y” or “Latitude.”
- Once you have finished adding the two new fields, open the attribute table for the FLO-2D grid and right click on the “X” or “Longitude” column and select “Calculate Geometry.”
- In the Calculate Geometry dialog box, select “X Coordinate of Centroid” from the property drop-down menu. Click OK.
- Back in the Attribute Table, right click on the Y” or “Latitude” column and select “Calculate Geometry.”
- In the Calculate Geometry dialog box, select “Y Coordinate of Centroid” from the property drop-down menu. Click OK.
At this point you should have a FLO-2D grid shapefile with X & Y coordinates as well as elevation attributes for each polygon. In the next step I will explain how to convert the grid squares (polygons) into a set of points.
Converting the Grid Polygons to Points
- Next, in the attribute table, click on the table menu options and select “export.”
- Specify a new name and location for the table
- When the export process is complete a message should pop-up asking if you want to add the new table to the current map. Select “Yes.”
- Next, go to ArcToolbox > Data Management Tools > Layers and Table Views > Make XY Event Layer tool.
- Add the new table as the XY Table. For the X Field, select the Longitude or “X” field. For the Y Field, select the “Latitude” or “Y” field. Name the new event layer and select the spatial reference or coordinate system. Click OK.
Converting the Table Back to a Shapefile
This task is pretty simple and involves only a few short mouse clicks.
- Right click on the table later and navigate to Data > Export Data
- Make sure to export all features within the table
- Specify the output feature class’s name and location. Click OK.
- When the export process is complete a message should pop-up asking if you want to add the new layer to the current map. Select “Yes.”
At this point you can remove the old table from your layer list and delete it from your computer. You should now have a complete layer of elevation points located at the centroid of each square from the FLO-2D grid.
Converting the Points to a DEM
Your newly created elevation point’s layer can be used as the basis to create any number of alternate digital elevation model formats to fit your needs.
Converting Points to a TIN
- In ArcToolbox Navigate to 3D Analyst Tools > TIN Management > Create TIN
- In the first box select the output location of your new TIN
- In the “Input Feature Class” drop down menu select your points layer
- Make sure that the height_field is noted correctly with the field that contains the point’s elevation.
- Click OK.
Converting a TIN to a Raster
- In ArcToolbox Navigate to 3D Analyst Tools > Conversion > From TIN > TIN to Raster
- In the “Input TIN” drop down menu select your previously created TIN
- In the “Output Raster” box select the location and name of your new raster
- Click OK.
Converting a Raster to Contour Lines
- In ArcToolbox Navigate to 3D Analyst Tools > Raster Surface > Contour
- In the “Input Raster” drop down menu select your previously created Raster
- In the “Output Polyline Features” box select the location and name of your new set of contours
- Specify a contour interval
- Click OK.
In addition to the above conversions, there are many other methods available in the ArcToolbox that will allow you to convert between any of the DEM formats.