* @return The XY tolerance of the spatial reference as double.
*/
abstract double getTolerance(int semantics);
Object writeReplace() throws ObjectStreamException {
SpatialReferenceSerializer srSerializer = new SpatialReferenceSerializer();
srSerializer.setSpatialReferenceByValue(this);
return srSerializer;
}