I am experiencing a little problem in converting an integer raster to polygon shapefile using manhattanshapes.
here is the code
Dim a As New DotSpatial.Plugins.Taudem.Port.ManhattanShapes(fname)
Dim g As New FeatureSet(FeatureType.Polygon)
g.Filename = TextBox1.Text
g = a.GridToShapeManhattan()
the instructions above works fine, the problem I am encountering is that the create shapefile often has errors such as the one in the attached capture.
Basically gridToShapeManhattan is supposed to create shapefiles with only vertical and horizontal borders, while sometimes I find such errors.
Comments: ** Comment from web user: Oscarafone77 **
here is the code
Dim a As New DotSpatial.Plugins.Taudem.Port.ManhattanShapes(fname)
Dim g As New FeatureSet(FeatureType.Polygon)
g.Filename = TextBox1.Text
g = a.GridToShapeManhattan()
the instructions above works fine, the problem I am encountering is that the create shapefile often has errors such as the one in the attached capture.
Basically gridToShapeManhattan is supposed to create shapefiles with only vertical and horizontal borders, while sometimes I find such errors.
Comments: ** Comment from web user: Oscarafone77 **
I tried following Dan answers to this old post of mine
https://dotspatial.codeplex.com/discussions/439483
i could not make it work since I do not really know how to create or deal with a cancelprogresshandler
Oscar