Spatial4n.Core.Io.NtsShapeReadWriter.WriteShape C# (CSharp) Method

WriteShape() public method

public WriteShape ( Shape shape ) : String
shape Shape
return String
        public override String WriteShape(Shape shape)
        {
            var jtsGeom = shape as NtsGeometry;
            if (jtsGeom != null)
            {
                return jtsGeom.GetGeom().AsText();
            }
            return base.WriteShape(shape);
        }