I am trying to extract longitude and latitude of points from a polyline shapefile at certain intervals(10-50m). Using ArcGIS I was able to do using Densify followed by Feature Vertices to Points in Data Management Tools. But while doing so in VB.Net I am not able to locate this Class FeatureVerticesToPoints in VB.NET thus making my process useless.
- Is it possible to use these ArcGIS tools in VB.NET using ArcObjects and in case yes, How?
- Also, is there any other better method to do this?
- Can someone help me with a code of something similar as I am a beginner to programming using ArcObjects.
1 Answer 1
You can use the IGeoProcessor to call any of the geoprocessing tools, have a look at his page.
Having said that you have asked for an alternative method. I would have used Ipolyline.QueryPointAndDistance() and extracted points out along a single polyline.
-
Also see
IGeometry.Project
so you can juggle between decimal degrees and xy coordinates in a projection valid for measuring lengths.Kirk Kuykendall– Kirk Kuykendall2016年01月20日 16:23:11 +00:00Commented Jan 20, 2016 at 16:23