A typesafe method for casting to a particular geometry type.
A typesafe method for casting to a particular geometry type. If this fails to cast or is NoResult, will result in None.
returns this result as a MultiPoint if it's a Point or MultiPoint, otherwise returns None
returns this result as a MultiPoint if it's a Point or MultiPoint, otherwise returns None
returns this result as a MultiLine if it's a Line or MultiLine, otherwise returns None
returns this result as a MultiLine if it's a Line or MultiLine, otherwise returns None
returns this result as a MultiPoint if it's a Point or MultiPoint, otherwise returns None
returns this result as a MultiPoint if it's a Point or MultiPoint, otherwise returns None
returns this result as a MultiPolygon if it's a Polygon or MultiPolygon, otherwise returns None
returns this result as a MultiPolygon if it's a Polygon or MultiPolygon, otherwise returns None
Returns this result as an option, unless this is NoResult, in which case it returns None
Returns this result as an option, unless this is NoResult, in which case it returns None