1
Vote

A .NET Framework error occurred during execution of user-defined routine or aggregate "Centroid":

description

System.InvalidOperationException: Vertex components can't be NaN.
System.InvalidOperationException:
at NetTopologySuite.Coordinates.BufferedCoordinate2DFactory.getVertexInternal(Double x, Double y, Double w)
at NetTopologySuite.Coordinates.BufferedCoordinate2DFactory.getVertexInternal(Double x, Double y)
at NetTopologySuite.Coordinates.BufferedCoordinate2DFactory.Create(Double x, Double y)
at GisSharpBlog.NetTopologySuite.Algorithm.CentroidArea1.get_Centroid()
at GisSharpBlog.NetTopologySuite.Geometries.Geometry
1.get_Centroid()
at GisSharpBlog.NetTopologySuite.Geometries.Geometry`1.GeoAPI.Geometries.IGeometry.get_Centroid()
at UserDefinedFunctions.Centroid(SqlBytes ewkb)

comments