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

--

--

--

Geodesy and Photogrammetry Engineer, Transportation Engineer | www.hakankocaman.com — linkedin.com/in/hakankocaman — iletisim@hakankocaman.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

My 2020 Summary

About Elecard professional video quality analysis tools for IPTV, OTT and DVB operators

How to Spice Up Your Medium Article with Recorded Terminal Gifs

Is your Scrum full of ceremonies and rituals?

A Gaze Into the salted World of Docker

How code modularization can solve log analysis issues in production

Too many logs to sort out

Journey from Dockerfile to Docker compose

Spring HATEOAS Part 2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hakan KOCAMAN

Hakan KOCAMAN

Geodesy and Photogrammetry Engineer, Transportation Engineer | www.hakankocaman.comlinkedin.com/in/hakankocamaniletisim@hakankocaman.com

More from Medium

Medium Tester Post

DeepChem

Working with Dates and Times in Python: Combining Dates and Times

COME ON!!!!! LET’S LEARN “STRING METHODS”IN PYTHON