Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Shopmotion


Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
free forum
 
November 2018
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
2627282930  

Calendar Calendar


Edit from a DEM

Go down

Edit from a DEM

Post  Jide Cha on Sun Mar 16, 2008 9:43 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

Re: Edit from a DEM

Post  Stephen on Sun Mar 16, 2008 9:44 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

Re: Edit from a DEM

Post  Jide Cha on Sun Mar 16, 2008 9:45 am

Ok. I do have 3D analyst, but I'm kind of a beginner.
Would you explain the point 1) with more details ?
This is quite urgent, and I don't how to proceed.

Thanks a lot !

Jide

Jide Cha
Guest


Back to top Go down

Re: Edit from a DEM

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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