How to generate plus code(postman) from latitude and longitude (GPS)

Discussions about CSEntry
Post Reply
Xavi
Posts: 32
Joined: May 22nd, 2017, 9:42 am

How to generate plus code(postman) from latitude and longitude (GPS)

Post by Xavi »

Hello every one,
Need help on how to generate plus code(postman) from latitude and longitude (GPS) in CS PRo
Gregory Martin
Posts: 1796
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: How to generate plus code(postman) from latitude and longitude (GPS)

Post by Gregory Martin »

There is no built-in functionality within CSPro to do this, but you could likely create your own algorithm to do this by looking at Google's source code for calculating these. For example:

https://github.com/google/open-location ... ee/main/js

Perhaps we'll include support for Plus Codes in a future release.
emmayashri
Posts: 6
Joined: April 9th, 2024, 3:45 am
Location: India

Re: How to generate plus code(postman) from latitude and longitude (GPS)

Post by emmayashri »

Hey hi, you can use postman.
Use the Google Maps Geocoding API endpoint and replace latitude and longitude with actual coordinates, and YOUR_API_KEY with your API key. Send a GET request and parse the response to extract the Plus Code.
Post Reply