private static void WriteMultiPoint(ShapeData points, StringBuilder sb, bool includeZ, bool includeM)
 {
     for (int i = 0; i < points.NumPoints; i++)
     {
         if (i > 0)
         {
             sb.Append(",");
         }
         WriteCoordinate(points.GetPointN(i + 1), sb, includeZ, includeM);
     }
 }
 private static void WritePoint(ShapeData point, StringBuilder sb, bool includeZ, bool includeM)
 {
     WriteCoordinate(point.GetPointN(1), sb, includeZ, includeM);
 }
 private static IEnumerable <PointZM> GetVertices(ShapeData g)
 {
     return(Enumerable.Range(1, g.NumPoints).Select(s => g.GetPointN(s)));
 }