Jody,
The results from ImageLab are:
PROJCS["WGS 84 / World Mercator",
GEOGCS["WGS 84",
DATUM["World Geodetic System 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["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4326"]],
PROJECTION["Mercator_1SP", AUTHORITY["EPSG","9804"]],
PARAMETER["latitude_of_origin", 0.0],
PARAMETER["central_meridian", 0.0],
PARAMETER["scale_factor", 1.0],
PARAMETER["false_easting", 0.0],
PARAMETER["false_northing", 0.0],
UNIT["m", 1.0],
AXIS["Easting", EAST],
AXIS["Northing", NORTH],
AUTHORITY["EPSG","3395"]]
Those results are the same whether or not I call GeoTiffReader directly, and it
appears that in either case the right thing is happening, just no painting.
Regards,
Neal
From: Jody Garnett [mailto:[email protected]]
Sent: Tuesday, October 27, 2015 11:13 AM
To: Neal Dillman <[email protected]>
Cc: Devon Tucker <[email protected]>;
[email protected]; [email protected]
Subject: Re: [Geotools-gt2-users] ImageLab and TIFF
So can we stop in a debugger and see what projection information is being
extracted from the GeoTiff? Would like to confirm it was able to correctly
identify EPSG:3395 before digging deep into math transforms.
Note we may also have some luck with matching a
CRS<http://docs.geotools.org/latest/userguide/library/referencing/crs.html#matching-a-coordinatereferencesystem>
- and using the official definition of EPSG:3395 (rather than what comes out
of the prj or geotiff metadata).
--
Jody Garnett
On 26 October 2015 at 18:28, Neal Dillman
<[email protected]<mailto:[email protected]>> wrote:
Hi Devon,
Thanks for looking further into this. I agree that adding the hint works for
the bluemarble tif. Unfortunately that trick is not working for my examples
are EPSG:3395 (Mercator/WGS84). I still get the same silent (as in blank) fail
from those files.
Regards,
Neal
From: Devon Tucker
[mailto:[email protected]<mailto:[email protected]>]
Sent: Monday, October 26, 2015 5:26 PM
To: Neal Dillman <[email protected]<mailto:[email protected]>>
Cc:
[email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected]>
Subject: Re: [Geotools-gt2-users] ImageLab and TIFF
Hi all,
I did some playing around with this. I'm able to get BlueMarble to render by
either:
Giving the LONGITUDE_FIRST hint when creating the GeoTiff reader:
new GeoTiffReader(rasterFile, new Hints(Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER,
Boolean.TRUE));
or using an EPSG:4326 .prj sidecar file along with it.
Not quite sure what the issue is otherwise.
------------------------------------------------------------------------------
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users