Trung Dinh a écrit :
> Thank you for your help. However, I cannot find anyway to pass the Hint 
> to the factory like you said, nor can i find CRS class. I am using 
> Geotools 2.1M2. Is your solution for 2.2 instead?

I don't remember what the 2.1 API was exactly. It is possible that 
Hints.LENIENT_DATUM_SHIFT was not available in 2.1. If you wish to stay with 
2.1, than a workaround is to make sure that you CRS definition, if specified as 
WKT (Well Known Text) contains a TOWGS84 element. You can search in the EPSG 
database what the parameter values are for the CRS you wish to create (or 
alternatively, you can remind me what the EPSG code for the CRS you want to 
create, and I post you back a WKT including TOWGS84).

        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
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to