test_class.declarator: geoJsonGeomWithFeatureProperty = null
test_class.modifier: public static
test_class.original_string: public static String geoJsonGeomWithFeatureProperty = null;
test_class.type: String
test_class.var_name: geoJsonGeomWithFeatureProperty
test_class.declarator: geoJsonGeomWithoutFeatureProperty = null
test_class.modifier: public static
test_class.original_string: public static String geoJsonGeomWithoutFeatureProperty = null;
test_class.type: String
test_class.var_name: geoJsonGeomWithoutFeatureProperty
test_class.declarator: geoJsonWithInvalidGeometries = null
test_class.modifier: public static
test_class.original_string: public static String geoJsonWithInvalidGeometries = null;
test_class.type: String
test_class.var_name: geoJsonWithInvalidGeometries
test_class.declarator: geoJsonWithNullProperty = null
test_class.modifier: public static
test_class.original_string: public static String geoJsonWithNullProperty = null;
test_class.type: String
test_class.var_name: geoJsonWithNullProperty
test_class.declarator: geoJsonContainsId = null
test_class.modifier: public static
test_class.original_string: public static String geoJsonContainsId = null;
test_class.type: String
test_class.var_name: geoJsonContainsId
test_class.file: core/src/test/java/org/datasyslab/geospark/formatMapper/GeoJsonReaderTest.java
test_class.identifier: GeoJsonReaderTest
test_class.superclass: extends GeoSparkTestBase
test_case.body: @Test
      public void testReadToValidGeometryRDD()
              throws IOException
      {
          //ensure that flag does not affect valid geometries
          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);
          //2 valid and 1 invalid geometries
          geojsonRDD = GeoJsonReader.readToGeometryRDD(sc, geoJsonWithInvalidGeometries, false,false);
          assertEquals(geojsonRDD.rawSpatialRDD.count(), 2);
  
          geojsonRDD = GeoJsonReader.readToGeometryRDD(sc, geoJsonWithInvalidGeometries);
          assertEquals(geojsonRDD.rawSpatialRDD.count(), 3);
      }
test_case.class_method_signature: GeoJsonReaderTest.testReadToValidGeometryRDD()
test_case.full_signature: @Test public void testReadToValidGeometryRDD()
test_case.identifier: testReadToValidGeometryRDD
test_case.invocations: readToGeometryRDD assertEquals count readToGeometryRDD assertEquals count readToGeometryRDD assertEquals count readToGeometryRDD assertEquals count
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReadToValidGeometryRDD()
focal_class.file: core/src/main/java/org/datasyslab/geospark/formatMapper/GeoJsonReader.java
focal_class.identifier: GeoJsonReader
focal_class.class_method_signature: GeoJsonReader.readToGeometryRDD(JavaSparkContext sc, String inputPath)
focal_class.full_signature: public static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath)
focal_class.identifier: readToGeometryRDD
focal_class.modifiers: public static
focal_class.parameters: (JavaSparkContext sc, String inputPath)
focal_class.return: SpatialRDD<Geometry>
focal_class.signature: SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath)
focal_class.class_method_signature: GeoJsonReader.readToGeometryRDD(JavaSparkContext sc, String inputPath, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries)
focal_class.full_signature: public static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries)
focal_class.identifier: readToGeometryRDD
focal_class.modifiers: public static
focal_class.parameters: (JavaSparkContext sc, String inputPath, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries)
focal_class.return: SpatialRDD<Geometry>
focal_class.signature: SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries)
focal_class.class_method_signature: GeoJsonReader.readToGeometryRDD(JavaRDD rawTextRDD)
focal_class.full_signature: public static SpatialRDD<Geometry> readToGeometryRDD(JavaRDD rawTextRDD)
focal_class.identifier: readToGeometryRDD
focal_class.modifiers: public static
focal_class.parameters: (JavaRDD rawTextRDD)
focal_class.return: SpatialRDD<Geometry>
focal_class.signature: SpatialRDD<Geometry> readToGeometryRDD(JavaRDD rawTextRDD)
focal_class.class_method_signature: GeoJsonReader.readToGeometryRDD(JavaRDD rawTextRDD, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries)
focal_class.full_signature: public static SpatialRDD<Geometry> readToGeometryRDD(JavaRDD rawTextRDD, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries)
focal_class.identifier: readToGeometryRDD
focal_class.modifiers: public static
focal_class.parameters: (JavaRDD rawTextRDD, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries)
focal_class.return: SpatialRDD<Geometry>
focal_class.signature: SpatialRDD<Geometry> readToGeometryRDD(JavaRDD rawTextRDD, boolean allowInvalidGeometries, boolean skipSyntacticallyInvalidGeometries)
focal_class.superclass: extends RddReader
focal_method.body: public static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath) {
          return readToGeometryRDD(sc, inputPath, true, false);
      }
focal_method.class_method_signature: GeoJsonReader.readToGeometryRDD(JavaSparkContext sc, String inputPath)
focal_method.full_signature: public static SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath)
focal_method.identifier: readToGeometryRDD
focal_method.invocations: readToGeometryRDD
focal_method.modifiers: public static
focal_method.parameters: (JavaSparkContext sc, String inputPath)
focal_method.return: SpatialRDD<Geometry>
focal_method.signature: SpatialRDD<Geometry> readToGeometryRDD(JavaSparkContext sc, String inputPath)