public class IbisFeatureToJson extends Object
FeatureToJson.| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_FEATURES |
| Constructor and Description |
|---|
IbisFeatureToJson(boolean arrays,
boolean edit,
boolean graph,
List<Long> attributesToInclude) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONArray |
getDefinitiefJSONFeatures(nl.b3p.viewer.config.app.ApplicationLayer al,
nl.b3p.viewer.config.services.SimpleFeatureType ft,
org.geotools.data.FeatureSource fs,
org.geotools.data.Query q)
Get the features as JSONArray with the given params
|
org.json.JSONArray |
getWorkflowJSONFeatures(nl.b3p.viewer.config.app.ApplicationLayer al,
nl.b3p.viewer.config.services.SimpleFeatureType ft,
org.geotools.data.FeatureSource fs,
org.geotools.data.Query q)
Get the features as JSONArray with the given params
|
public static final int MAX_FEATURES
public org.json.JSONArray getWorkflowJSONFeatures(nl.b3p.viewer.config.app.ApplicationLayer al,
nl.b3p.viewer.config.services.SimpleFeatureType ft,
org.geotools.data.FeatureSource fs,
org.geotools.data.Query q)
throws IOException,
org.json.JSONException,
Exception
al - The application layer(if there is a application layer)ft - The featuretype that must be used to get the featuresfs - The featureSourceq - The queryIOExceptionorg.json.JSONExceptionExceptionpublic org.json.JSONArray getDefinitiefJSONFeatures(nl.b3p.viewer.config.app.ApplicationLayer al,
nl.b3p.viewer.config.services.SimpleFeatureType ft,
org.geotools.data.FeatureSource fs,
org.geotools.data.Query q)
throws IOException,
org.json.JSONException,
Exception
al - The application layer(if there is a application layer)ft - The featuretype that must be used to get the featuresfs - The featureSourceq - The queryIOExceptionorg.json.JSONExceptionExceptionCopyright © 2016 B3partners. All rights reserved.