Hi,
You can use gdal.VectorTranslate with the same options that ogr2ogr utility
supports https://gdal.org/programs/ogr2ogr.html. That includes -clipsrc
[xmin ymin xmax ymax]|WKT|datasource|spat_extent
"Clip geometries to the specified bounding box (expressed in source SRS),
WKT geometry (POLYGON
I am using OpenFileGDB driver to read .gdb data through the java binding,core
codes:
Layer layer = dataSource.GetLayer("layer_name");
layer.SetSpatialFilterRect(minx,miny,maxx,maxy);
System.out.println(layer.GetFeatureCount());
layer.ResetReading();
Featur