SimpleFeature feature = ...; FeatureJSON io = new FeatureJSON(); io.writeFeature(feature, "feature.json")); Iterator@author Justin Deoliveira, OpenGeo @source $URL$features = io.streamFeatureCollection("features.json"); while(features.hasNext()) { feature = features.next(); ... }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|