Reputation:
I want to find altitude based on given latitude and longitude value. Is there a math to calculating this? Can you help if there is any formula?
For example:
When I enter latitude and longitude values for any place in Brooklyn
40.67828, -73.94594
I want to calculate the altitude of this place:
Altitude:
19 m
Upvotes: 0
Views: 2181
Reputation: 419
Do you have access to Google Elevation API (or to any map api)? This is the only way to calculate the altitude given the coordinates, otherwise it is not possible to calculate it through a formula.
Also, you can find many similar questions as: Getting altitude from latitude and longitude (HERE-API)
Upvotes: 0