coordinates - Different results using JCoord and GeoTools -


i have been trying covert easting , northing values lat/lon using jcoord , geotools. problem getting different results each library using same easting & northing.

the code using code provided in main answer , geotools answer provided in question. convert latitude , longitude northing , easting in java?

the easting using : 393339

the northing using : 806179

the coordinates jcoord providing (57.14645296506957, -2.111698674790966)

the coordinates geotools providing [57.146449494619105, 2.111714868502565]

they seem lose accuracy around 4th digit , i'm wondering 1 right??

thanks

assuming these os eastings , northings (which seems based on lat/lon values) accurate 1m (as 6 figure grid references). based on values given this calculator degree of latitude around 100 km 4th decimal point 10m or accuracy can expect.

to more precision out of calculation need make sure of towgs84 parameters being used in each calculation - geotools can query projection find value, expect jcoord has similar operation.

note in geotools towgs parameter may vary depending on referencing factory using, believe gt-epsg-hsql more accurate gt-epsg-wkt.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -