private static XElement ToKmlPoint(this JsonPoint shape, double z, params XElement[] extraElements) { return(new XElement(kml + "Point", extraElements, new XElement(kml + "coordinates", shape.ToCoordinates(z)))); }
private static IPoint ToEsriPoint(this JsonPoint shape) { return(new Point { X = shape.x, Y = shape.y }); }
private static string ToCoordinates(this JsonPoint shape, double z) { return(shape.x + "," + shape.y + "," + z); }