Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: Noob question: how to retrieve X Y from pointshape

$
0
0
check this...
shapeActual=CType(FeatureSet.Open(path & nameShape & ".SHP"),FeatureSet)
shapeActual.FillAttributes()
For i As Integer=0 To shapeActual.Features.Count-1
    MsgBox(CStr(shapeActual.Features.Item(i).Coordinates.Item(0).X) & ";" & CStr(shapeActual.Features.Item(i).Coordinates.Item(0).Y))
Next

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>