|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fhpotsdam.unfolding.data.GeoDataReader
de.fhpotsdam.unfolding.data.GeoJSONReader
public class GeoJSONReader
Reads GeoJSON files and creates Features.
Constructor Summary | |
---|---|
GeoJSONReader()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeoJSONReader()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |