Is there any built in function in SQL Server 2008 R2 which can transform the cordinates from 102100 to 4269 coordinate system something equivalent to ST_Transform
from postgres.
If there is algorithm to transform coordinates then that can also help or the Javascript library then that could also help.
[GIS] Change coordinate system using SQL or Javascript
coordinate systemjavascriptsql server
Related Question
- [GIS] Using PROJ.4 library to transform from local coordinate system coordinates to global coordinate system using ground control points
- [GIS] What SRS does leaflet use when it creates new markers
- [GIS] Conversion of X, Y values to different coordinate system
- ProjNet – Coordinate Reference System Transformation Deviation
Best Answer
There is no standard spatial function within SQL Server to do this. You will need to use SQL Server Spatial Tools or if you are geodetically inclined, create your own function.
The proj4js JavaScript library can, one trick is to ensure your projections are defined. Also ensure you are including a version of the proj4js library that supports your projections, or you will need to do it manually by defining that projections parameters.
Here is some kind of psuedo code that should work: