Package ch.so.agi.filegdb.index
Class SpatialIndex
java.lang.Object
ch.so.agi.filegdb.index.SpatialIndex
Native FileGDB SPX pages. Layout based on GDAL 3.11.4 filegdbindex{,_write}.cpp, Copyright Even
Rouault, MIT. Index cells conservatively cover feature envelopes.
-
Method Summary
Modifier and TypeMethodDescriptionstatic doubleBuilds a v1 index at close, using bounded sorted runs rather than retaining geometries.static doublecandidates(Path index, List<Double> grids, ch.so.agi.filegdb.geometry.Envelope filter) Returns candidate object IDs; consumers must apply their final geometric predicate.static Pathstatic void
-
Method Details
-
path
-
build
Builds a v1 index at close, using bounded sorted runs rather than retaining geometries.- Throws:
IOException
-
build
- Throws:
IOException
-
candidates
public static SortedSet<Long> candidates(Path index, List<Double> grids, ch.so.agi.filegdb.geometry.Envelope filter) throws IOException Returns candidate object IDs; consumers must apply their final geometric predicate.- Throws:
IOException
-
validate
public static void validate(Path index, List<Double> grids, Runnable cancellation) throws IOException - Throws:
IOException
-