Martin Desruisseaux ha scritto:

> It should be done on both the trunk and the 2.3 branch as of revision
> 24405. Could you check if it work as expected please?

It seems to be working fine, thank you. :-)

> By the way, the new CRS.lookupIdentifier(...) method should work fine
> for GeographicCRS, but I don't think it will work for ProjectedCRS on
> the 2.3 branch. This is not "CRS.lookupIdentifier" fault; it is rather
> related to some issues I found when comparing (in the sense of
> CRS.equalsIgnoreMetadata) ProjectedCRS created by EPGS database with
> ProjectedCRS created by WKT (there is no problem when comparing two
> ProjectedCRS created in the same way). The issue should be fixed on
> trunk, but it involved many adjustments there and there in the code
> base, so I would not be very enthousiast in porting those changes to the
> 2.3 branch... Is it a big problem, or is it okay if
> CRS.equalsIgnoreMetadata(ProjectedCRS, ProjectedCRS) work better only on
> Geotools 2.4?

Hum... well, is it something that happens only sometimes, on some 
obscure cases, or always? I've just tried out with:

PROJCS["BC_Albers",GEOGCS["GCS_North_American_1983",DATUM["North_American_Datum_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Albers"],PARAMETER["False_Easting",1000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-126],PARAMETER["Standard_Parallel_1",50],PARAMETER["Standard_Parallel_2",58.5],PARAMETER["Latitude_Of_Origin",45],UNIT["Meter",1]]

which should match EPSG:3005 afaik, but does not :(
(with Geoserver 1.5.x, which depends on gt2 2.3.x).
I can help with the backport if you wish. Looked around, I cannot spot 
the revision number at which you committed the fixes on trunk.

Cheers
Andrea



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to