Globe GIS
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» GIS training centers in Bangalore
Edit from a DEM EmptyThu Jul 28, 2011 11:51 pm by Ronney

» Chicago Festival of maps continues
Edit from a DEM EmptySat Dec 26, 2009 9:53 am by victoria justice

» Province of BC unlocks digital data and strikes a deal with Google
Edit from a DEM EmptySat Dec 26, 2009 9:47 am by victoria justice

» share GPS tracks via Google Earth
Edit from a DEM EmptySat Dec 26, 2009 9:45 am by victoria justice

» GIS for Web Developers: Adding ‘Where’ to Your Web Applications
Edit from a DEM EmptySat Mar 14, 2009 1:34 am by prabhakar

» How to Design a GIS Project
Edit from a DEM EmptyThu Dec 25, 2008 4:37 am by sean flynn

» ArcGIS Desktop 9.3: New KML Export Support
Edit from a DEM EmptyThu Dec 25, 2008 4:34 am by sean flynn

» ArcGIS 9.3: ESRI Resource Centers
Edit from a DEM EmptyThu Dec 25, 2008 4:25 am by sean flynn

» Help for interview..urgent
Edit from a DEM EmptyWed Aug 27, 2008 3:28 am by ironore

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
free forum
 
April 2024
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 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 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