ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How to Convert a FLO-2D Elevation Grid to a TIN or Raster in ArcGIS 10

Updated on October 4, 2012
Source

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:

  1. Calculate the Centroids for the polygonal squares that form the FLO-2D Grid
  2. Convert the FLO-2D Grid into a set of points
  3. Use 3D analyst to convert the set of points (“mass points”) to a raster, TIN, or contour lines.

Aerial Photograph
Aerial Photograph | Source
Colorized FLO-2D Elevation Grid
Colorized FLO-2D Elevation Grid | Source
Grid converted to Points Generated from the Original FLO-2D Grid
Grid converted to Points Generated from the Original FLO-2D Grid | Source
TIN Surface Generated from the Original FLO-2D Grid
TIN Surface Generated from the Original FLO-2D Grid | Source
Colorized Raster Generated from the Original FLO-2D Grid
Colorized Raster Generated from the Original FLO-2D Grid | Source

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.

  1. Open ArcToolbox and Go to Data Management > Fields and double-click the “Add Field” tool.
  2. 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.
  3. Repeat step 2 but this time the field name should be “Y” or “Latitude.”
  4. 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.”
  5. In the Calculate Geometry dialog box, select “X Coordinate of Centroid” from the property drop-down menu. Click OK.
  6. Back in the Attribute Table, right click on the Y” or “Latitude” column and select “Calculate Geometry.”
  7. 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

  1. Next, in the attribute table, click on the table menu options and select “export.”
  2. Specify a new name and location for the table
  3. 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.”
  4. Next, go to ArcToolbox > Data Management Tools > Layers and Table Views > Make XY Event Layer tool.
  5. 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.

  1. Right click on the table later and navigate to Data > Export Data
  2. Make sure to export all features within the table
  3. Specify the output feature class’s name and location. Click OK.
  4. 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.”

Contour Lines Generated from the Original FLO-2D Grid Overlaid onto an Aerial Photograph
Contour Lines Generated from the Original FLO-2D Grid Overlaid onto an Aerial Photograph | Source
Contour Lines over the TIN
Contour Lines over the TIN | Source

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

  1. In ArcToolbox Navigate to 3D Analyst Tools > TIN Management > Create TIN
  2. In the first box select the output location of your new TIN
  3. In the “Input Feature Class” drop down menu select your points layer
  4. Make sure that the height_field is noted correctly with the field that contains the point’s elevation.
  5. Click OK.

Contour Lines over the Colorized Raster
Contour Lines over the Colorized Raster | Source

Converting a TIN to a Raster

  1. In ArcToolbox Navigate to 3D Analyst Tools > Conversion > From TIN > TIN to Raster
  2. In the “Input TIN” drop down menu select your previously created TIN
  3. In the “Output Raster” box select the location and name of your new raster
  4. Click OK.

Converting a Raster to Contour Lines

  1. In ArcToolbox Navigate to 3D Analyst Tools > Raster Surface > Contour
  2. In the “Input Raster” drop down menu select your previously created Raster
  3. In the “Output Polyline Features” box select the location and name of your new set of contours
  4. Specify a contour interval
  5. 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.

Comments

    0 of 8192 characters used
    Post Comment

    • rhonda-ryan profile image

      Rhonda Ryan 

      5 years ago from Somerset , KY

      I really like "Centroids of Polygons" it looks really beautiful :-)

    • CWanamaker profile imageAUTHOR

      CWanamaker 

      5 years ago from Arizona

      Hello Sandra - I'm sorry I have not experienced this error before so I don't know what the cause would be.

    • profile image

      Sandra 

      5 years ago

      I have a problem running the FLO2D. After entering all the components I get the following error message: “An end file record was detected in a read statement (unit= 9). Error occurs at or near line 184 of input _ Called from for a near line 193 of_ MAIN” Could you help me?

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)