Exemple #1
0
  private void ingest(final DataStore dataStore) throws IOException {

    dataGenerator.writeToGeoWave(
        dataStore,
        dataGenerator.generatePointSet(
            0.00002, 0.02, 3, 800, new double[] {-92, -37}, new double[] {-90, -35}));
  }
Exemple #2
0
 @Test
 public void testNN() throws Exception {
   TestUtils.deleteAll(dataStorePluginOptions);
   dataGenerator.setIncludePolygons(false);
   ingest(dataStorePluginOptions.createDataStore());
   runNN(new SpatialQuery(dataGenerator.getBoundingRegion()));
   TestUtils.deleteAll(dataStorePluginOptions);
 }