public class FeatureCollection
extends java.lang.Object
implements java.io.Serializable
ObjectMapper
Constructor and Description |
---|
FeatureCollection() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAttrNames()
Gets the names of the attributes contained in the features
|
java.lang.String[] |
getAttrTypes()
Gets the types of the attributes contained in the features
|
double[] |
getBbox()
Gets the bounding box
|
java.lang.String |
getCollectionName()
Gets the feature collection name
|
java.lang.String |
getCopyright()
Gets the copyright value
|
java.util.List<Feature> |
getFeatures()
Gets the collection's features
|
int |
getSrs()
Gets the spatial reference system of the geometries in the collection
|
java.lang.String |
getType()
Gets the feature collection type.
|
boolean |
isGeodetic()
Returns true if the geoemetries in the collection are geodetic
|
static void |
main(java.lang.String[] args) |
void |
setAttrNames(java.lang.String[] attrNames)
Sets the names of the attributes contained in the features
|
void |
setAttrTypes(java.lang.String[] attrTypes)
Sets the types of the attributes contained in the features
|
void |
setBbox(double[] bbox)
Sets the bounding box
|
void |
setCollectionName(java.lang.String collectionName)
Sets the feature collection name
|
void |
setCopyright(java.lang.String copyright)
Sets the copyright value
|
void |
setFeatures(java.util.List<Feature> features)
Sets the collection's features
|
void |
setGeodetic(boolean geodetic)
Sets whether the geometries in the geodetic are geodetic
|
void |
setSrs(int srs)
Sets the spatial reference system of the geometries in the collection
|
void |
setType(java.lang.String type)
Sets the feature collection type
|
public java.lang.String[] getAttrNames()
public java.lang.String[] getAttrTypes()
public double[] getBbox()
public java.lang.String getCollectionName()
public java.lang.String getCopyright()
public java.util.List<Feature> getFeatures()
public int getSrs()
public java.lang.String getType()
public boolean isGeodetic()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void setAttrNames(java.lang.String[] attrNames)
attrNames
-public void setAttrTypes(java.lang.String[] attrTypes)
attrTypes
-public void setBbox(double[] bbox)
bbox
-public void setCollectionName(java.lang.String collectionName)
collectionName
-public void setCopyright(java.lang.String copyright)
copyright
-public void setFeatures(java.util.List<Feature> features)
features
-public void setGeodetic(boolean geodetic)
geodetic
-public void setSrs(int srs)
srs
-public void setType(java.lang.String type)
type
-Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.