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

Commented Issue: ManhattanShapes error [24146]

$
0
0
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 **

Oooops! I found the problem.

I was doing something bad in my code before saving the dissolved shapefile.

This issue may be close because it is not an issue!

sorry about that
Oscar


Viewing all articles
Browse latest Browse all 3973

Trending Articles



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