IllegalArgumentException: Points of LinearRing do not form a closed linestring

Topics: SharpMap v0.9 / v1.x, WinForms Controls
Jan 7, 2015 at 10:09 AM
Hi Team,
I am facing the Following issue when i am creating a Layer with OgrProviders having MapInfo Tab file.
IllegalArgumentException: Points of LinearRing do not form a closed linestring
Please Download Tab from here and then analyze the issue.

Reagrds,
Sgoyal
Coordinator
Jan 8, 2015 at 7:42 AM
There is nothing to analyze, there is at least one polygon in your mapinfo files that has a linear ring that is not closed.
NetTopologySuite, the geometry engine used by SharpMap is not very permissive with unclosed coordinate sequences when forming linear rings.
You need to have your data fixed. You could use e.g. QGIS to analyze and fix it.