Bellinski, Dan ha scritto: > And storing it in the oracle DB yields the point: > > MDSYS.SDO_GEOMETRY(2003,4326,null,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1,7769,2003,1),MDSYS.SDO_ORDINATE_ARRAY(-57.0903920409945,-141.67926099,-57.0926290409912,-141.67983399… > > > > The transformed point seems to be in the form: (-180 – (lat coord1), > 180 + (lat coord2)) … but 4269 and 4326 are very similar coordinate > systems and should barely differ when transformed. Am I doing something > wrong?
You're probably not telling GeoTools you want to work in lon/lat order, and referencing defaults to lat/lon order instead. Add: Hints.putSystemDefault(Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER, Boolean.TRUE); at the beginning of your app and it should work fine Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
