public class FeatureCollection extends TfcatObject
Constructor and Description |
---|
FeatureCollection(org.json.JSONObject json,
Crs crs,
Bbox bbox,
Map<String,Field> fieldMap,
Feature[] features)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Feature[] |
getFeatures()
Returns the features in this collection.
|
Map<String,Field> |
getFields()
Returns a map of field names to fields for this collection.
|
public FeatureCollection(org.json.JSONObject json, Crs crs, Bbox bbox, Map<String,Field> fieldMap, Feature[] features)
json
- JSON object on which this is basedcrs
- coordinate reference system, may be nullbbox
- bounding box defined by bbox member, may be nullfieldMap
- map of fields associated with this collection;
may be empty but not nullfeatures
- features in this collection;
may be empty but not nullCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.