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 **
Well the problem is still there. Unless there an alternative to manhattanshapes to convert a raster to polygon i would keep it open. What do you think?
Oscar