Edit from a DEM
Page 1 of 1
Edit from a DEM
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
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
Re: Edit from a DEM
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
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
Re: Edit from a DEM
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
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
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Thu Jul 28, 2011 11:51 pm by Ronney
» Chicago Festival of maps continues
Sat Dec 26, 2009 9:53 am by victoria justice
» Province of BC unlocks digital data and strikes a deal with Google
Sat Dec 26, 2009 9:47 am by victoria justice
» share GPS tracks via Google Earth
Sat Dec 26, 2009 9:45 am by victoria justice
» GIS for Web Developers: Adding ‘Where’ to Your Web Applications
Sat Mar 14, 2009 1:34 am by prabhakar
» How to Design a GIS Project
Thu Dec 25, 2008 4:37 am by sean flynn
» ArcGIS Desktop 9.3: New KML Export Support
Thu Dec 25, 2008 4:34 am by sean flynn
» ArcGIS 9.3: ESRI Resource Centers
Thu Dec 25, 2008 4:25 am by sean flynn
» Help for interview..urgent
Wed Aug 27, 2008 3:28 am by ironore