GEOSGeometry.ogr Returns an OGRGeometry object corresponding to the GEOS geometry. Note Requires GDAL.
GEOSGeometry.json Returns the GeoJSON representation of the geometry. Note that the result is not a complete GeoJSON structure but only the geometry key content of a GeoJSON structure. See also GeoJSON Serializer.
GEOSGeometry.num_geom Returns the number of geometries in this geometry. In other words, will return 1 on anything but geometry collections.
GEOSGeometry.length Returns the length of this geometry (e.g., 0 for a Point, the length of a LineString, or the circumference of a Polygon).
GEOSGeometry.kml Returns a KML (Keyhole Markup Language) representation of the geometry. This should only be used for geometries with an SRID of 4326 (WGS84), but this restriction is not enforced.
GEOSGeometry.interpolate(distance)
GEOSGeometry.intersects(other) Returns True if GEOSGeometry.disjoint() is False.
GEOSGeometry.intersection(other) Returns a GEOSGeometry representing the points shared by this geometry and other.
GEOSGeometry.interpolate_normalized(distance) Given a distance (float), returns the point (or closest point) within the geometry (LineString or MultiLineString) at that distance. The normalized version takes the distance as a float between 0 (origin) and 1 (endpoint). Reverse of GEOSGeometry.project().
GEOSGeometry.hasz Returns a boolean indicating whether the geometry is three-dimensional.
Page 87 of 226