This is the WKT for the base CRS that I get out of a GeoCover GeoTIFF file:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Lon", EAST],
AXIS["Lat", NORTH],
AUTHORITY["EPSG","4326"]]
This is the WKT that I get out of a shapefile created with ArcCatalog and
edited with ArcMap:
GEOGCS["GCS_WGS_1984",
DATUM["D_WGS_1984",
SPHEROID["WGS_1984", 6378137.0, 298.257223563]],
PRIMEM["Greenwich", 0.0],
UNIT["degree", 0.017453292519943295],
AXIS["Lon", EAST],
AXIS["Lat", NORTH]]
They are (or at least should be) the same. However, nothing I've tried
(equals(Object), equals(AbstractIdentifiedObject, boolean)) will evaluate
them that way. Furthermore, neither are equal to the
DefaultGeographicCRS.WGS84 instance. Is there a way to normalize these
objects so that I can compare them? Is there another way to compare them
that will succeed? Thank you in advance for any clues you could give me!
--
Gary Jackson
bargle@...
|