aws.osml.gdal.gdal_shapefile_query module
- class aws.osml.gdal.gdal_shapefile_query.GDALShapefileQuery(vector_filepath: str, layer_name: str, geom_cache_size: int = 10, tol: float = 1e-06)[source]
Bases:
GeometryQueryA geometry query that returns the first intersection geometry from a shapefile source.
- get_geometry(world_coordinate: GeodeticWorldCoordinate) Geometry | None[source]
Get a geometry (first, if many) containing a supplied point.
- Parameters:
world_coordinate – the point of interest
- Returns:
the geometry
- Note:
Shapefile geometries use clockwise for positive orientation.