public class EsriFeature extends Object
Modifier and Type | Field and Description |
---|---|
Map<String,Object> |
attributes
Map of attributes
|
com.esri.core.geometry.Geometry |
geometry
Geometry associated with this feature
|
Constructor and Description |
---|
EsriFeature() |
Modifier and Type | Method and Description |
---|---|
static EsriFeature |
fromJson(InputStream jsonStream) |
static EsriFeature |
fromJson(com.fasterxml.jackson.core.JsonParser parser) |
String |
toJson() |
public com.esri.core.geometry.Geometry geometry
public String toJson() throws com.fasterxml.jackson.core.JsonGenerationException, com.fasterxml.jackson.databind.JsonMappingException, IOException
com.fasterxml.jackson.core.JsonGenerationException
com.fasterxml.jackson.databind.JsonMappingException
IOException
public static EsriFeature fromJson(InputStream jsonStream) throws com.fasterxml.jackson.core.JsonParseException, IOException
jsonStream
- JSON input streamcom.fasterxml.jackson.core.JsonParseException
IOException
public static EsriFeature fromJson(com.fasterxml.jackson.core.JsonParser parser) throws com.fasterxml.jackson.core.JsonParseException, IOException
JsonParser
- parser that is pointed at the root of the JSON file created by ArcGIScom.fasterxml.jackson.core.JsonParseException
IOException
Copyright © 2024. All rights reserved.