public class GeoJSONReader extends GeoDataReader
Constructor and Description |
---|
GeoJSONReader() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Feature> |
loadData(processing.core.PApplet p,
java.lang.String fileName)
Parses a GeoJSON String and creates features for them.
|
static java.util.List<Feature> |
loadDataFromJSON(processing.core.PApplet p,
java.lang.String jsonString)
Parses a GeoJSON String and creates features for them.
|
public static java.util.List<Feature> loadData(processing.core.PApplet p, java.lang.String fileName)
p
- The PApplet.fileName
- The name of the GeoJSON file.public static java.util.List<Feature> loadDataFromJSON(processing.core.PApplet p, java.lang.String jsonString)
p
- The PApplet.jsonString
- The GeoJSON string containing geometries etc.