Index: src/Common/SharpMap/Converters/WellKnownText/GeometryToWKT.cs
===================================================================
diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a
--- src/Common/SharpMap/Converters/WellKnownText/GeometryToWKT.cs (.../GeometryToWKT.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9)
+++ src/Common/SharpMap/Converters/WellKnownText/GeometryToWKT.cs (.../GeometryToWKT.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a)
@@ -40,47 +40,47 @@
namespace SharpMap.Converters.WellKnownText
{
- ///
- /// Outputs the textual representation of 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 GeometryToWKT
- {
+ ///
+ /// Outputs the textual representation of 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 GeometryToWKT
+ {
// #region Methods
- ///
- /// Converts a Geometry to its Well-known Text representation.
- ///
- /// A Geometry to write.
- /// A <Geometry Tagged Text> string (see the OpenGIS Simple
- /// Features Specification)
- public static string Write(IGeometry geometry)
- {
- return new WKTWriter().Write(geometry);
+ ///
+ /// Converts a Geometry to its Well-known Text representation.
+ ///
+ /// A Geometry to write.
+ /// A <Geometry Tagged Text> string (see the OpenGIS Simple
+ /// Features Specification)
+ public static string Write(IGeometry geometry)
+ {
+ return new WKTWriter().Write(geometry);
// StringWriter sw = new StringWriter();
// Write(geometry, sw);
// return sw.ToString();
- }
+ }
// ///
// /// Converts a Geometry to its Well-known Text representation.
@@ -391,5 +391,5 @@
// }
// }
// #endregion
- }
-}
+ }
+}
\ No newline at end of file