Hello reader
sofar i have a pretty complex programm but somehow i still cant retrieve the X Y from a layer/shapefile
for now i make extra fields in the shape to add the X and Y and later i retrieve those, but stupidly i can not find a way to retrieve the X and Y from a datatable directly from the originated shape..... any idea on this?
sofar i have a pretty complex programm but somehow i still cant retrieve the X Y from a layer/shapefile
for now i make extra fields in the shape to add the X and Y and later i retrieve those, but stupidly i can not find a way to retrieve the X and Y from a datatable directly from the originated shape..... any idea on this?
Dim fs As New FeatureSet
fs.FillAttributes()
fs = FeatureSet.Open(Form1.AdressenPADNAAMtext.Text)
fs.Projection = Form1.myVenster.Projection
Dim dt As DataTable = fs.DataTable
Dim coor As Coordinate() = New Coordinate(dt.Rows.Count) {}
For AdresRij = 0 To dt.Rows.Count - 1
AdresX = dt.Rows(AdresRij)(Form1.ComboBoxXadres.Text)
AdresY = dt.Rows(AdresRij)(Form1.ComboBoxYadres.Text)
and so on