class GeoJSONReader extends java.lang.Object
Read a geoscript.layer.Layer from a GeoJSON InputStream, File, or String.
 String json = """{"type":"FeatureCollection","features":[
 {"type":"Feature","geometry":{"type":"Point","coordinates":[111,-47]},
 "properties":{"name":"House","price":12.5},"id":"fid-3eff7fce_131b538ad4c_-8000"},
 {"type":"Feature","geometry":{"type":"Point","coordinates":[121,-45]},
 "properties":{"name":"School","price":22.7},"id":"fid-3eff7fce_131b538ad4c_-7fff"}]}"""
 GeoJSONReader reader = new GeoJSONReader()
 Layer layer = reader.read(json)
  | Constructor and description | 
|---|
                                GeoJSONReader
                                () | 
                        
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            Layer | 
                            read(Map options, InputStream input)Read a GeoScript Layer from an InputStream 
 
  | 
                        
 | 
                            Layer | 
                            read(Map options, File file)Read a GeoScript Layer from a File 
 
  | 
                        
 | 
                            Layer | 
                            read(Map options, java.lang.String str)Read a GeoScript Layer from a String 
 
  | 
                        
| Methods inherited from class | Name | 
|---|---|
class java.lang.Object | 
                            java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() | 
                        
Read a GeoScript Layer from an InputStream
options -  The optional named parameters:
 input -  An InputStreamRead a GeoScript Layer from a File
options -  The optional named parameters:
 file -  A FileRead a GeoScript Layer from a String
options -  The optional named parameters:
 str -  A String