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

New Post: Problem after updating DLLs

$
0
0
Since I updated the dlls from Github, I now get an error when adding features to a polyline shapefile using these lines of code Where:
         lineF =  FeatureSet
         ShapeInfo(i).coords = List of Coordinate
CODE:
Dim LS As New LineString(ShapeInfo(i).coords) '
Dim lineFeature As DotSpatial.Data.IFeature = lineF.AddFeature(LS)

ERROR:
"Unable to cast object of type 'DotSpatial.Topology.LineString' to type 'GeoAPI.Geometries.IGeometry'."

Did something change? It worked fine before changing out the dlls.

Viewing all articles
Browse latest Browse all 3973

Trending Articles



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