Hi,
I'm looking at the grid coverage readers, and found out that AbstractGridFormat
defines WGS84 as the default crs. This is used by the WorldImagePlugin if not
.prj file is avaiable to define more precisely the grid coverage format.
Now, this decision seems a little problematic to me. If we load a coverage
with wld file but no prj file, and the coverage happens to be in a projected
system (say, UTM), there is no correspondance between the grid coordinates
(which may be in the range of the millions of meters) and the crs (that
uses -180/-180 -90/+90).
It seems to me the most sensible choice for an unknown CRS is
DefaultEngineeringCRS.CARTESIAN_2D, which has special handling to be
a good default cartesian CRS (in particular, every transformation that involves
it is an identity).
Yet this change may break some of applications that rely on the current
default.
Opinions?
Best regards
Andrea Aime
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel