Index: src/Common/SharpMap/Converters/WellKnownText/GeometryFromWKT.cs
===================================================================
diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a
--- src/Common/SharpMap/Converters/WellKnownText/GeometryFromWKT.cs (.../GeometryFromWKT.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9)
+++ src/Common/SharpMap/Converters/WellKnownText/GeometryFromWKT.cs (.../GeometryFromWKT.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a)
@@ -40,44 +40,44 @@
namespace SharpMap.Converters.WellKnownText
{
- ///
- /// Converts a Well-known Text representation to a instance.
- ///
- ///
- /// The Well-Known Text (WKT) representation of Geometry is designed to exchange geometry data in ASCII form.
- /// Examples of WKT representations of geometry objects are:
- ///
- /// Geometry WKT Representation
- /// - A Point
- /// POINT(15 20)
Note that point coordinates are specified with no separating comma.
- /// - A LineString with four points:
- /// LINESTRING(0 0, 10 10, 20 25, 50 60)
- /// - A Polygon with one exterior ring and one interior ring:
- /// POLYGON((0 0,10 0,10 10,0 10,0 0),(5 5,7 5,7 7,5 7, 5 5))
- /// - A MultiPoint with three Point values:
- /// MULTIPOINT(0 0, 20 20, 60 60)
- /// - A MultiLineString with two LineString values:
- /// MULTILINESTRING((10 10, 20 20), (15 15, 30 15))
- /// - A MultiPolygon with two Polygon values:
- /// MULTIPOLYGON(((0 0,10 0,10 10,0 10,0 0)),((5 5,7 5,7 7,5 7, 5 5)))
- /// - A GeometryCollection consisting of two Point values and one LineString:
- /// GEOMETRYCOLLECTION(POINT(10 10), POINT(30 30), LINESTRING(15 15, 20 20))
- ///
- ///
- public class GeometryFromWKT
- {
- ///
- /// Converts a Well-known text representation to a .
- ///
- /// A tagged text string ( see the OpenGIS Simple Features Specification.
- /// Returns a specified by wellKnownText. Throws an exception if there is a parsing problem.
- public static IGeometry Parse(string wellKnownText)
- {
- return new WKTReader().Read(wellKnownText);
+ ///
+ /// Converts a Well-known Text representation to a instance.
+ ///
+ ///
+ /// The Well-Known Text (WKT) representation of Geometry is designed to exchange geometry data in ASCII form.
+ /// Examples of WKT representations of geometry objects are:
+ ///
+ /// Geometry WKT Representation
+ /// - A Point
+ /// POINT(15 20)
Note that point coordinates are specified with no separating comma.
+ /// - A LineString with four points:
+ /// LINESTRING(0 0, 10 10, 20 25, 50 60)
+ /// - A Polygon with one exterior ring and one interior ring:
+ /// POLYGON((0 0,10 0,10 10,0 10,0 0),(5 5,7 5,7 7,5 7, 5 5))
+ /// - A MultiPoint with three Point values:
+ /// MULTIPOINT(0 0, 20 20, 60 60)
+ /// - A MultiLineString with two LineString values:
+ /// MULTILINESTRING((10 10, 20 20), (15 15, 30 15))
+ /// - A MultiPolygon with two Polygon values:
+ /// MULTIPOLYGON(((0 0,10 0,10 10,0 10,0 0)),((5 5,7 5,7 7,5 7, 5 5)))
+ /// - A GeometryCollection consisting of two Point values and one LineString:
+ /// GEOMETRYCOLLECTION(POINT(10 10), POINT(30 30), LINESTRING(15 15, 20 20))
+ ///
+ ///
+ public class GeometryFromWKT
+ {
+ ///
+ /// Converts a Well-known text representation to a .
+ ///
+ /// A tagged text string ( see the OpenGIS Simple Features Specification.
+ /// Returns a specified by wellKnownText. Throws an exception if there is a parsing problem.
+ public static IGeometry Parse(string wellKnownText)
+ {
+ return new WKTReader().Read(wellKnownText);
// // throws a parsing exception is there is a problem.
// System.IO.StringReader reader = new System.IO.StringReader(wellKnownText);
// return Parse(reader);
- }
+ }
// ///
// /// Converts a Well-known Text representation to a .
@@ -439,5 +439,5 @@
// return geometries;
// }
//
- }
-}
+ }
+}
\ No newline at end of file