I am working with new polylines and trying to figure out a way to populate the Vertices "Z" column using a DEM. I have tried the 3D "Add Surface Information Tool" but no luck.
Try the Interpolate Shape tool.
Hi John Handley , you placed this question in the ArcGIS Online space. Are you trying to do this in ArcGIS Online or using Desktop?
Sent via the Samsung Galaxy S™ III, an AT&T 4G LTE smartphone
Well, you might want to move it since, it will languish here amongst the web gis, arcgis online questions. To expedite the transfer, I will refer you to the document...
GeoNet Community Structure
and perhaps one from these choices, depending what you have available, what you want to do with it and how you might want to get and/or use it.
In that case you will want Interpolate Shape—Help | ArcGIS for Desktop as Kyle Balke, GISP suggested earlier. This will create 3D features. To add the Z value as an attribute, you can use Calculating area, length, and other geometric properties—Help | ArcGIS for Desktop .
Right click on the field and select "Calculate Geometry..."
And in the dialog windows that appears select "Z Coordinate of Point":
Thanks for the replies. I will pose the question on the 3D board.
The Interpolate Shape tool was a good suggestion, but the routine fails. Something about the Table was not found. JohnH
What is the path to the data? No funny characters in the path? " " (spaces) "-" any other funny stuff. Keep paths simple.
Also did you run the tool via ArcMap and a selected layer. Try running it from ArcCatalog instead and pick the actual data.
Can you post the exact error message and describe the input data (type of raster and format of polyline featureclass) you are using?
Here is the error message:
999999: Error executing function. The table was not found. [ned1310m31021_InterpolateSh6] Failed to (InterpolateShape).
No funny characters in Feature Layer and I tried running the Tool with data from ArcCatalog with same result. I do though have a tortuous path to the data, out on a server.
Ensure both the DEM and feature layer in the same coordinate system.
This does not provide me with a lot of information of the types of input data. Could you include the information of the layer provided in the Source tab of the properties for both the DEM and the polyline featureclass?
This is the Line Feature:
Data Type: File Geodatabase Feature Class Database: \\energy\data\common\Regency\Dallas\Workgrps\Engineering\Personal Working Files\Handley, J\GIS Data\New File Geodatabase.gdbFeature Class: New_FeatureFeature Type: SimpleGeometry Type: LineCoordinates have Z values: Yes Coordinates have measures: Yes
Projected Coordinate System: NAD27_New_Mexico_East_ftProjection: Transverse_Mercatorfalse_easting: 541337.50000000false_northing: 0.00000000central_meridian: -104.33333333scale_factor: 0.99990909latitude_of_origin: 31.00000000Linear Unit: Foot_US
Geographic Coordinate System: GCS_WGS_1984Datum: D_WGS84Prime Meridian: GreenwichAngular Unit: Degree
Can't Copy/Paste Source Tab data for the DEM.
That may be the reason. In what format is the DEM available?
The DEM is available in Geographic coordinates NAD83. I have no problem pulling in Z for the attributes, it's just when I try to add Z to the actual Vertices of a polyline.
Here is a list of raster formats supported by ArcGIS: Supported raster dataset file formats—Help | ArcGIS for Desktop Could you please tell me in what format your DEM is? Or do you have a TIN or a surface?
I finally got the "Interpolate Shape" process to work!
As Kyle pointed out, the data being used needs to be in the same coordinate system. In this case, it was Geographic coordinates NAD 83. In Edit mode, looking at the Sketch Properties, all my line vertices now have Z values. I will also add that using the "Z Factor" is a handy way to convert from Meters to Feet.
Retrieving data ...