Hi Devs,
I develop on Windows and have come across another issue that may be broken ONLY
on windows.
Issuing mvn clean install the build fails in the GeoTIFF grid coverage exchange
module on the test
org.geotools.gce.geotiff.GeoTiffReaderTest#prjOverrideTesting1 on line 87
After exploring the code, the assertion fails because the two CRSs have datums
with different names
crs: PROJCS["unnamed",
GEOGCS["GCS Name = GRS 1980(IUGG, 1980)",
DATUM["Datum = unknown",
SPHEROID["Ellipsoid = GRS80", 6378137.0, 298.257222101]],
PRIMEM["Greenwich", 0.0],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH]],
PROJECTION["Transverse_Mercator"],
PARAMETER["central_meridian", 21.0],
PARAMETER["latitude_of_origin", 0.0],
PARAMETER["scale_factor", 0.9999],
PARAMETER["false_easting", 7500000.0],
PARAMETER["false_northing", 0.0],
UNIT["m", 1.0],
AXIS["Easting", EAST],
AXIS["Northing", NORTH]]
crs_: PROJCS["KosovaRef01",
GEOGCS["GCS_GRS_1980",
DATUM["D_ETRS_89",
SPHEROID["GRS_1980", 6378137.0, 298.257222101]],
PRIMEM["Greenwich", 0.0],
UNIT["degree", 0.017453292519943295],
AXIS["Longitude", EAST],
AXIS["Latitude", NORTH]],
PROJECTION["Transverse_Mercator"],
PARAMETER["central_meridian", 21.0],
PARAMETER["latitude_of_origin", 0.0],
PARAMETER["scale_factor", 0.9999],
PARAMETER["false_easting", 7500000.0],
PARAMETER["false_northing", 0.0],
UNIT["m", 1.0],
AXIS["x", EAST],
AXIS["y", NORTH]]
>From reading the comment in
>org.geotools.referencing.datum.AbstractDatum#equals (line 276) this seems
>entirely appropriate.
I have two suspicions as to location of the failed test; the first is the test
is itself is bad (this would be the easy solution), and the second is the
GeoTiffReader or PrjFileReader is suspect on Windows.
The question I ask is where should I be looking to resolve the issue I have? I
may be of target with my analysis above. Is this a known problem on Windows, or
is there a satisfactory 'fix' to apply for building on windows.
Brett
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel