Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Shopmotion


Edit from a DEM Empty
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
free forum
 
April 2019
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930     

Calendar Calendar


Edit from a DEM

Go down

Edit from a DEM Empty Edit from a DEM

Post  Jide Cha on Mon Mar 17, 2008 2:04 am

Dear all,

Two easy (?) questions:

1)I have a DEM, and would like to edit polylines from a visual analysis of the DEM. Then , I need to do some statistical analysis of the line orientations.
How to do to create a table with (x1;y1) and (x2;y2) for each line (beginning and end coordinates, respectively) ?

2) From the same DEM, I would like to clic on specific points and create a table with (x, y, z) for each point.

Thanks a lot !

Jide

Jide Cha
Guest


Back to top Go down

Edit from a DEM Empty Re: Edit from a DEM

Post  Stephen on Mon Mar 17, 2008 2:05 am

Jide,

1) You can do this using an Advanced expression in the Field Calculator.

Dim Output as double
Dim pCurve as ICurve
Set pCurve = [shape]
Output = pCurve.FromPoint.X

Change .FromPoint to .ToPoint and .X to .Y to obtain all 4 coordinates.

2) If you have a 3D Analyst license you can digitise the points into a separate layer, then use the > Convert > Features to 3D option to assign the Z coordinate from the DEM onto the points.

This will create a PointZ featureclass, where the Z value is held in the point's Shape field. To write this value out to a field, use this expression in the field calculator:

Dim Output As Double
Dim pPoint As IPoint
Set pPoint = [Shape]
Output = pPoint.z

If you don't have a 3D Analyst license it may still be possible to do this, but it may require some coding on your part.

Good luck,
Steve

Stephen
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum