I need to do some coordinate transformations on the browser and I cannot figure why I am getting wrong results with Openlayers 3.
Please see the below jsfiddle where I did a sample that defines the EPSG:2321 projection (using the proj4 definition from spatialreference.org) and then transforms a coordinate in that projection to EPSG:4326. Here's the fiddle:
The result should be 32.93843, 39.96738 (5 digit display precision) whereas ol.proj.transform returns 32.938839053463106, 39.96748782887031. That is quite a large error margin.
What is wrong with this picture?