Martin Desruisseaux ha scritto:
> Le samedi 10 février 2007 à 09:09 +0100, Andrea Aime a écrit :
>> I guess I need the "WGS_1984" alias then.
>
> I though that they where already there, but maybe not. I will look at it
> and add it if needed.
I've investigated this further.
If WKT strings are used, AbstractIdentifiedObject.nameMatches gets the
following aliases:
[EPSG:World Geodetic System 1984, OGR:World_Geodetic_System_1984,
ESRI:D_WGS_1984, Oracle:WGS 84]
If instead of using the WKT for crs2, I do use CRS.decode("EPSG:4326")
the following aliases are available:
EPSG abbreviation:WGS 84, Indonesian alternative identifier:DGN-95,
EPSG:World Geodetic System 1984, OGR:World_Geodetic_System_1984,
ESRI:D_WGS_1984, Oracle:WGS 84
WGS_1984 is not there in neither of them.
A quick reality check with Google, searching for 'DATUM["WGS_1984"',
returns 23100 hits, so I guess it's common enough to be included
among the aliases :-)
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