Le mardi 20 février 2007 à 19:52 +0100, Andrea Aime a écrit :
> On the other side, there are still plenty of places that are not using
> CRS, but do get factories with code like:
> 
> FactoryFinder.getCRSFactory(new Hints(
>                  Hints.CRS_AUTHORITY_FACTORY, CRSAuthorityFactory.class));

I really don't see what is the purpose of "CRSAuthorityFactory.class"
value for this hint. So we could drop the hints completly:

FactoryFinder.getCRSFactory(null);

Keep only the hints that are not CRS_AUTHORITY_FACTORY. I don't think
that we can substitute "CRS.decode(...)" here because the above code is
about CRSFactory, not CRSAuthorityFactory, and CRS provides no method
for that.

        Martin



-------------------------------------------------------------------------
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-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to