gis.geos.GEOSGeometry.valid_reason

GEOSGeometry.valid_reason Returns a string describing the reason why a geometry is invalid.

gis.geos.GEOSGeometry.wkb

GEOSGeometry.wkb Returns the WKB (Well-Known Binary) representation of this Geometry as a Python buffer. SRID value is not included, use the GEOSGeometry.ewkb property instead.

gis.geos.GEOSGeometry.union()

GEOSGeometry.union(other) Returns a GEOSGeometry representing all the points in this geometry and the other.

gis.geos.GEOSGeometry.valid

GEOSGeometry.valid Returns a boolean indicating whether the geometry is valid.

gis.geos.GEOSGeometry.transform()

GEOSGeometry.transform(ct, clone=False) Transforms the geometry according to the given coordinate transformation parameter (ct), which may be an integer SRID, spatial reference WKT string, a PROJ.4 string, a SpatialReference object, or a CoordTransform object. By default, the geometry is transformed in-place and nothing is returned. However if the clone keyword is set, then the geometry is not modified and a transformed clone of the geometry is returned instead. Note Requires GDAL. Raises G

gis.geos.GEOSGeometry.srs

GEOSGeometry.srs Returns a SpatialReference object corresponding to the SRID of the geometry or None. Note Requires GDAL.

gis.geos.GEOSGeometry.srid

GEOSGeometry.srid Property that may be used to retrieve or set the SRID associated with the geometry. For example: >>> pnt = Point(5, 23) >>> print(pnt.srid) None >>> pnt.srid = 4326 >>> pnt.srid 4326

gis.geos.GEOSGeometry.touches()

GEOSGeometry.touches(other) Returns True if the DE-9IM intersection matrix for the two geometries is FT*******, F**T***** or F***T****.

gis.geos.GEOSGeometry.sym_difference()

GEOSGeometry.sym_difference(other) Returns a GEOSGeometry combining the points in this geometry not in other, and the points in other not in this geometry.

gis.geos.GEOSGeometry.simplify()

GEOSGeometry.simplify(tolerance=0.0, preserve_topology=False) Returns a new GEOSGeometry, simplified to the specified tolerance using the Douglas-Peucker algorithm. A higher tolerance value implies fewer points in the output. If no tolerance is provided, it defaults to 0. By default, this function does not preserve topology. For example, Polygon objects can be split, be collapsed into lines, or disappear. Polygon holes can be created or disappear, and lines may cross. By specifying preserve_