# 3-dimensional distance from multiple points to closest polyline

distance point to polyline spatial analyst ArcMAP DEM non-euclidean

2 replies to this topic

### #1 mwstbrk Posted 21 June 2013 - 01:42 PM

mwstbrk

Newbie

• New Member
• 3 posts
• United States

I am trying to calculate distance over terrain using the following components in ArcMap v10.1:

-point shape values (with x, y, z data)
-polylines (only x, y data)

The polyline was manually created. I will need to extract elevation data from the DEM to every pixel along the poly-line. Without the Z data on the polyline, the distance I calculate will only be 2-dimensional and, therefore, an under-representation of actual distance from point to line as the data is in mountainous terrain.

Does anyone have any suggestions that don't involve map algebra or model building? I was told that there should be a simple tool to use, but I have been unable to find it as of yet.

Thank you in advance!

### #2 David Medeiros Posted 21 June 2013 - 05:18 PM

David Medeiros

Hall of Fame

• Validated Member
• 1,194 posts
• Gender:Male
• Location:Redwood City CA
• Interests:Cartography, wood working, wooden boats, fishing, camping, overland travel, exploring.
• United States

http://resources.arc...900000016000000

your welcome  ; )

GIS Reference and Instruction Specialist, Stanford Geospatial Center.

www.mapbliss.com

@mapbliss

### #3 mwstbrk Posted 24 June 2013 - 02:25 PM

mwstbrk

Newbie

• New Member
• 3 posts
• United States

Thanks for the response! This seems to be a good start.

I used "add surface information" tool to interpolate z-values to the polylines that I created manually from my DEM.  This worked fine.

Next, I ran the "near 3D" tool to calculate 3D distance using a point shapefile as my input feature class and my polylines as the near feature class.

When I opened the attribute table for my inpute feature, new attributes were added, but the fields were populated with all "0" values.

Thoughts?

### Also tagged with one or more of these keywords: distance, point to polyline, spatial analyst, ArcMAP, DEM, non-euclidean

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->