public class EsriFeatureClass extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
displayFieldName |
EsriFeature[] |
features
Array of features (attributes, geometry)
|
Map<String,Object> |
fieldAliases
Map of field aliases for applicable fields in this feature class
|
EsriField[] |
fields
Array of field definitions (name, type, alias, ...)
|
com.esri.core.geometry.Geometry.Type |
geometryType
Esri geometry type (Polygon, Point, ...)
|
com.esri.core.geometry.SpatialReference |
spatialReference
Spatial reference for the feature class (null, if undefined)
|
| Constructor and Description |
|---|
EsriFeatureClass() |
| Modifier and Type | Method and Description |
|---|---|
static EsriFeatureClass |
fromJson(InputStream jsonStream) |
static EsriFeatureClass |
fromJson(com.fasterxml.jackson.core.JsonParser parser) |
String |
toJson() |
public String displayFieldName
public Map<String,Object> fieldAliases
public com.esri.core.geometry.Geometry.Type geometryType
public com.esri.core.geometry.SpatialReference spatialReference
public EsriField[] fields
public EsriFeature[] features
public static EsriFeatureClass fromJson(InputStream jsonStream) throws com.fasterxml.jackson.core.JsonParseException, IOException
jsonStream - JSON input streamcom.fasterxml.jackson.core.JsonParseExceptionIOExceptionpublic static EsriFeatureClass fromJson(com.fasterxml.jackson.core.JsonParser parser) throws com.fasterxml.jackson.core.JsonParseException, IOException
parser - parser that is pointed at the root of the JSON file created by ArcGIScom.fasterxml.jackson.core.JsonParseExceptionIOExceptionpublic String toJson() throws com.fasterxml.jackson.core.JsonGenerationException, com.fasterxml.jackson.databind.JsonMappingException, IOException
com.fasterxml.jackson.core.JsonGenerationExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.