Point point = new Point(1,2); GeometryJSON g = new GeometryJSON(); g.writePoint(point, "point.json")); Point point2 = g.readPoint("point.json"); Geometry geometry = ...; g.write(geometry, new File("geometry.json")); geometry = g.read("geometry.json");@author Justin Deoliveira, OpenGeo @source $URL$
|
|
|
|
|
|
|
|
|
|
|
|