return OGCGeometry.createFromOGCStructure(ogcStructure,
SpatialReference.create(4326));
}
public static OGCGeometry fromEsriShape(ByteBuffer buffer) {
OperatorImportFromESRIShape op = (OperatorImportFromESRIShape) OperatorFactoryLocal
.getInstance().getOperator(Operator.Type.ImportFromESRIShape);
Geometry g = op.execute(0, Geometry.Type.Unknown, buffer);
return OGCGeometry.createFromEsriGeometry(g,
SpatialReference.create(4326));
}