JSONObject doc = documentDescriptor.getJson();
return doc.getJSONObject(UploadConstants.KEY_DOC_GEOMETRY);
}
public void setGeometry(Geometry geom) throws Exception {
WktWriter wktWriter = new WktWriter();
StringWriter sw = new StringWriter();
wktWriter.write(geom, sw);
String wkt = sw.toString();
BoundingBox bbox = geom.getBoundingBox();
JSONObject geomObj = getJson();