This document will describe the process for computing ortho heights for a layer captured in Field Maps. This is useful if Eos Tools Pro wasn't setup correctly at the time of data collection.
Requirements:
-
Feature layer with GNSS attribute data
-
ArcGIS Pro
-
NGS GEOID18 Tool[https://geodesy.noaa.gov/GEOID/GEOID18/]
-
Microsoft Excel
Export the Layer from ArcGIS Pro to Excel
-
Start the Table to Excel tool in ArcGIS Pro[https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/table-to-excel.htm] on the data layer.
-
Select the feature layer as the input table.
-
Click Run
Format Excel Sheet to CSV
-
Delete all columns except for
-
OBJECTID
-
ESRIGNSS_LATITUDE
-
ESRIGNSS_LONGITUDE
Example:
OBJECTID ESRIGNSS_LATITUDE ESRIGNSS_LONGITUDE 1 36.90706608 -81.28696512 -
-
Reorder the Columns
-
ESRIGNSS_LATITUDE
-
ESRIGNSS_LONGITUDE
-
OBJECTID
Example:
ESRIGNSS_LATITUDE ESRIGNSS_LONGITUDE OBJECTID 36.90706608 -81.28696512 1 -
-
Delete Header Column.
Example:36.90706608 -81.28696512 1 -
Remove the negative sign from the longitude values. NGS assumes all longitude values as West. Use the replace tool to replace all "-" with "".
-
Format latitude and longitude columns as:
-
Number
-
8 decimal places
-
-
Save Excel File as TXT
-
File -> Save As -> Tab delimited Text (.txt)
-
Convert TXT to Free Format Type 2
-
Open the TXT file in a text editor.
-
Convert the first tab to a space and shift the OBJECTID values to at least the 33rd column 36.90706608 81.28696512 1
to
36.90706608 81.28696512 1 -
Save the file.
NGS GEOID18 Processing Tool
-
Go to https://geodesy.noaa.gov/GEOID/GEOID18/computation.html
-
Scroll down to the Compute GEOID18 geoid heights for a file of input points section.
-
Click Choose File and select the free format file create in the last step.
-
Click the button to process the file.
-
Copy all of the output and paste it into a new file.
-
Save the new file as a .txt file. (ngs_output.txt)
-
Open Excel.
-
Click File -> Import -> Text File.
-
Select the ngs_output.txt file.
-
Leave all settings default. Click next.
-
Click Finish and place the data in a new sheet.
-
Delete columns A-F
-
Add a header row with the format
GEOID_VALUE,NA,OBJECTID -
Save the file as a CSV. (GEOID_Values.csv)
Load the file into ArcGIS Pro
-
Go back to ArcGIS Pro.
-
Run the Join Field tool.
-
Select your layer as the Input Table.
-
Select OBJECTID as the Input Join Field.
-
Click the browse file button next to the Join Table input.
-
Select the GEOID_Values.csv file.
-
Select OBJECTID as the Join Table Field.
-
Select GEOID_VALUE in the transfer fields list.
-
Click run.
Calculate Ortho Height
-
Run the Calculate Field tool.
-
Select your layer as the Input Table.
-
Select an existing field or enter a name for a new field to contain the ortho height.
-
Enter an expression to subtract the GEOID_VALUE field from the ESRIGNSS_ALTITUDE field.
!ESRIGNSS_ALTITUDE!-!GEOID_VALUE!
-
Click Run.
Update the feature geometry (Optional)
-
Run the Add XY Coordinates tool.
-
Select your layer as the Input Features.
-
Click the Map tab then click Add Data -> XY Point Data.
-
Select your layer as the Input Table.
-
Enter a name for the Output Feature Class.
-
Select POINT_X for the X Field.
-
Select POINT_Y for the Y Field.
-
Select the field containing the orthometric height for the Z Field.
-
Click the drop down for the coordinate system selection and select your layer. This will match the output coordinate system to the current coordinate system of the layer.
Comments
0 comments
Article is closed for comments.