2

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.

  1. Is it possible to use these ArcGIS tools in VB.NET using ArcObjects and in case yes, How?
  2. Also, is there any other better method to do this?
  3. Can someone help me with a code of something similar as I am a beginner to programming using ArcObjects.
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 Jan 20 '16 at 16:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.