@Test public void testReadToValidGeometryRDD() throws IOException { SpatialRDD geojsonRDD = GeoJsonReader.readToGeometryRDD(sc, geoJsonGeomWithFeatureProperty, true, false); assertEquals(geojsonRDD.rawSpatialRDD.count(), 1001); geojsonRDD = GeoJsonReader.readToGeometryRDD(sc, geoJsonGeomWithoutFeatureProperty, true, false); assertEquals(geojsonRDD.rawSpatialRDD.count(), 10); geojsonRDD = GeoJsonReader.readToGeometryRDD(sc, geoJsonWithInvalidGeometries, false,false); assertEquals(geojsonRDD.rawSpatialRDD.count(), 2); geojsonRDD = GeoJsonReader.readToGeometryRDD(sc, geoJsonWithInvalidGeometries); assertEquals(geojsonRDD.rawSpatialRDD.count(), 3); }
public static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath) { return readToGeometryRDD(sc, inputPath, true, false); }
GeoJsonReader extends RddReader { public static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath) { return readToGeometryRDD(sc, inputPath, true, false); } }
GeoJsonReader extends RddReader { public static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath) { return readToGeometryRDD(sc, inputPath, true, false); }  }
GeoJsonReader extends RddReader { public static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath) { return readToGeometryRDD(sc, inputPath, true, false); }  static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath); static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries); static SpatialRDD<Geometry> readToGeometryRDD(JavaRDD rawTextRDD); static SpatialRDD<Geometry> readToGeometryRDD(JavaRDD rawTextRDD, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries); }
GeoJsonReader extends RddReader { public static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath) { return readToGeometryRDD(sc, inputPath, true, false); }  static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath); static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries); static SpatialRDD<Geometry> readToGeometryRDD(JavaRDD rawTextRDD); static SpatialRDD<Geometry> readToGeometryRDD(JavaRDD rawTextRDD, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries);  }