Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Read
- DataStore inputDataStore = DataStoreFinder.getDataStore(inParams);
- String inputTypeName = "AstunLocationLookup";
- SimpleFeatureType inputType = inputDataStore.getSchema(inputTypeName);
- FeatureSource<SimpleFeatureType, SimpleFeature> source = inputDataStore.getFeatureSource(inputTypeName);
- Filter filter = ff.bbox(ff.property(geometryPropertyName), bbox);
- // write results
- SimpleFeatureCollection features = source.getFeatures(filter);
Add Comment
Please, Sign In to add comment