There are over 6000 defined coordinate reference systems that I know of in the world and this number is sure to be much more than known. From time to time, we need to convert the coordinate values we have in a different datum or equivalent in a different projection. Especially with the proliferation of GNSS (Global Navigation Satellite Systems), it has become a frequent task to convert the geographic coordinates of the WGS84 datum obtained from this system into coordinate values in the different system desired.

I have done a lot of work on coordinate transformations in the past years. The most widely used of these were Kocaman and Kocaman Pro mobile applications. With these applications, it is possible to convert WGS84 geographic coordinates from satellites instantly into other coordinate values ​​in another system by performing advanced mathematical calculations to produce high precision results (for detailed information, see: http://www.kocamanpro.com ). However, since the transformations here are highly sensitive, a limited number of datums (WGS84, ED50, ITRF96) can be used for coordinate transformation. In the following years, I discovered the EPSG.io website (for detailed information about EPSG, see: https://www.hakankocaman.com/tag/epsg ). I have seen that it is possible to convert between the applications on this website and the many coordinate reference systems provided by EPSG within the framework of the sensitivity specified on the website. Then, using the web services provided by this site for coordinate transformations, I wrote the application called Coordinate Converter running on the Android operating system and made it available worldwide on Google Play (For detailed information about the Coordinate Converter application, see: https://www.hakankocaman.com/epsg-io-ve-koordinat-donusturucu ). However, as a result of the requests for collective coordinate conversion in feedback from users over time, I have developed the Coordinate Converter tool, which is used for collective coordinate conversion with Python on desktop platforms, using the conversion services offered by EPSG.io.

Using the Coordinate Converter tool, it is possible to convert the coordinate pairs in the “coordinate.txt” file in the same directory to their equivalent in another coordinate reference system using the services provided by EPSG.io. To do this, you need to do this by copying the coordinate pairs in the existing coordinate reference system with a space between them, saving the file and closing it. Then, after entering the EPSG codes of the existing and desired coordinate reference systems in the codes written in Python, in the relevant fields, run the code in your compiler. Thus, each of the coordinate pairs written in the coordinate.txt file will be converted into the coordinate reference system by the services provided by EPSG.io and printed into the “coordinate.txt” file and the process will be completed in this way.

GitHub: https://github.com/hakankocaman/PratikPythonAraclari/blob/master/Coordinate_Transformation.py

--

--