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 **
something wierd, applying the dissolve method to a shapefile which has a number of shapes each of which with a specific "Value", so it should maintain the same, the problem still pops up
I attach a zip with two shapefiles. One is the original before dissolving (NoceSHP2.shp) and the other one is the result of the dissolve algorithm (NoceSHP3.shp).
Shape with "Value" field "39" shows the problem.
Oscar