96979899100101102
dataset = (DatasetGraphSpatial) (ds.asDatasetGraph()); spatialIndex = dataset.getSpatialIndex(); if (spatialIndex == null) throw new CmdException("Dataset has no text index"); context= new SpatialIndexContext(spatialIndex); }