Jump to content


"near 3D" tool populates fields with "0" values

- - - - - near 3D spatial analyst

  • Please log in to reply
2 replies to this topic




  • New Member
  • Pip
  • 3 posts
  • United States

Hello all,


I used the tool "add surface information" to interpolate z-values from a DEM to manually-drawn polylines.


1) Adding surface information seemed to work fine, but I'm not sure how to check?

Next, I ran the "near 3D" tool to calculate 3D distance from points to these polylines. However, when I opened the attribute table of my input feature, new attributes were added, but the fields were populated with all "0" values.


2) What might have gone wrong to populate distance values with all "0" values?  The tool said that it ran without error.


David Medeiros

David Medeiros

    Hall of Fame

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

Is your data projected, or geographic? Check to be sure your map document and all the data in the analysis are in the same projected coordinate system and are using meters (which should be the Z value unit from the DEM).


Not sure if that's it, but a good thing to check first.

GIS Reference and Instruction Specialist, Stanford Geospatial Center.





  • Validated Member
  • PipPip
  • 34 posts
  • Gender:Male
  • Location:India
  • Interests:GIS, Cartography,Music
  • India

If you are using Arcgis then at the time of layer creation you have to select "Z" value check box at projection panel. Without setting up Z value you will not be able to get the z value. 

Also tagged with one or more of these keywords: near 3D, spatial analyst

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users