I am getting a number of errors within the GisSharpBlog.NetTopologySuite when I attempt to run my mapping software on a Portuguese Win 7 machine. All three errors seem to stem from the fact that decimal degrees do not get converted internally correctly. The numbers I am seeing in the error log look like they have been converted to the Portuguese format instead of staying in traditional US style. Below are some of the errors I am getting:
First One:
side location conflict [ (-784500902331482, 38130215189836,6, NaN (Não é um número)) ] Type = GisSharpBlog.NetTopologySuite.Geometries.TopologyException Source = NetTopologySuite at GisSharpBlog.NetTopologySuite.GeometriesGraph.EdgeEndStar.PropagateSideLabels(Int32 geomIndex) at GisSharpBlog.NetTopologySuite.GeometriesGraph.EdgeEndStar.ComputeLabelling(GeometryGraph[] geom) at GisSharpBlog.NetTopologySuite.GeometriesGraph.DirectedEdgeStar.ComputeLabelling(GeometryGraph[] geom) at GisSharpBlog.NetTopologySuite.Operation.Overlay.OverlayOp.ComputeLabelling() at GisSharpBlog.NetTopologySuite.Operation.Overlay.OverlayOp.ComputeOverlay(SpatialFunction opCode) at GisSharpBlog.NetTopologySuite.Operation.Overlay.Snap.SnapOverlayOp.GetResultGeometry(SpatialFunction opCode) at GisSharpBlog.NetTopologySuite.Operation.Overlay.Snap.SnapIfNeededOverlayOp.GetResultGeometry(SpatialFunction opCode) at GisSharpBlog.NetTopologySuite.Geometries.Geometry.Difference(IGeometry other) at ThinkGeo.MapSuite.Core.AreaBaseShape.GetDifferenceCore(AreaBaseShape targetShape) at ThinkGeo.MapSuite.Core.AreaBaseShape.GetDifference(AreaBaseShape targetShape) at KMLParsing.GeometryFromKMLHelper.buildPolygonFromPolyType(PolygonType geom)
Second One:
no outgoing dirEdge found [ (-78450254923874,3, 381293457915528, NaN (Não é um número)) ] Type = GisSharpBlog.NetTopologySuite.Geometries.TopologyException Source = NetTopologySuite at GisSharpBlog.NetTopologySuite.GeometriesGraph.DirectedEdgeStar.LinkResultDirectedEdges() at GisSharpBlog.NetTopologySuite.GeometriesGraph.PlanarGraph.LinkResultDirectedEdges(IList nodes) at GisSharpBlog.NetTopologySuite.Operation.Overlay.PolygonBuilder.Add(IList dirEdges, IList nodes) at GisSharpBlog.NetTopologySuite.Operation.Overlay.PolygonBuilder.Add(PlanarGraph graph) at GisSharpBlog.NetTopologySuite.Operation.Overlay.OverlayOp.ComputeOverlay(SpatialFunction opCode) at GisSharpBlog.NetTopologySuite.Operation.Overlay.Snap.SnapOverlayOp.GetResultGeometry(SpatialFunction opCode) at GisSharpBlog.NetTopologySuite.Operation.Overlay.Snap.SnapIfNeededOverlayOp.GetResultGeometry(SpatialFunction opCode) at GisSharpBlog.NetTopologySuite.Geometries.Geometry.Difference(IGeometry other) at ThinkGeo.MapSuite.Core.AreaBaseShape.GetDifferenceCore(AreaBaseShape targetShape) at ThinkGeo.MapSuite.Core.AreaBaseShape.GetDifference(AreaBaseShape targetShape)
Third One:
found null Directed Edge Type = GisSharpBlog.NetTopologySuite.Utilities.AssertionFailedException Source = NetTopologySuite at GisSharpBlog.NetTopologySuite.Utilities.Assert.IsTrue(Boolean assertion, String message) at GisSharpBlog.NetTopologySuite.GeometriesGraph.EdgeRing.ComputePoints(DirectedEdge start) at GisSharpBlog.NetTopologySuite.GeometriesGraph.EdgeRing..ctor(DirectedEdge start, IGeometryFactory geometryFactory) at GisSharpBlog.NetTopologySuite.Operation.Overlay.PolygonBuilder.BuildMaximalEdgeRings(IList dirEdges) at GisSharpBlog.NetTopologySuite.Operation.Overlay.PolygonBuilder.Add(IList dirEdges, IList nodes) at GisSharpBlog.NetTopologySuite.Operation.Overlay.PolygonBuilder.Add(PlanarGraph graph) at GisSharpBlog.NetTopologySuite.Operation.Overlay.OverlayOp.ComputeOverlay(SpatialFunction opCode) at GisSharpBlog.NetTopologySuite.Operation.Overlay.Snap.SnapOverlayOp.GetResultGeometry(SpatialFunction opCode) at GisSharpBlog.NetTopologySuite.Operation.Overlay.Snap.SnapIfNeededOverlayOp.GetResultGeometry(SpatialFunction opCode) at GisSharpBlog.NetTopologySuite.Geometries.Geometry.Difference(IGeometry other) at ThinkGeo.MapSuite.Core.AreaBaseShape.GetDifferenceCore(AreaBaseShape targetShape) at ThinkGeo.MapSuite.Core.AreaBaseShape.GetDifference(AreaBaseShape targetShape) at KMLParsing.GeometryFromKMLHelper.buildPolygonFromPolyType(PolygonType geom)