public static OGCGeometry geometryFromEsriShape(BytesWritable geomref) {
    // always assume bytes are recycled and can't be cached by using
    // geomref.getBytes() as the key
    return geometryFromEsriShape(geomref, true);
  }
@param geomref1
@param geomref2
@return return true if both geometries are in the same spatial reference
ql/src/java/org/apache/hadoop/hive/ql/udf/esri/GeometryUtils.java