I'm very novice to GIS systems, and I'm trying to fulfill a requirement. I've created a small program to calculate the distance of a given lat/lng pair, based on this answer
.
However, for a city like Tehran which is more like a horizontal rectangle, the width is way less than the height.
Since a small city might be regarded as a flat surface comparing to the curvature of Earth, I expect the results to be valid for visual inspection.
So I also went online to calculate the result, and from this site, the calculation again shows the same numbers, that is, the width is unbelievably smaller than the height.
To get the latitude and longitude, I simply used Google Maps and here are the values:
**leftmost latitude = 35.7267243
rightmost latitude = 35.7442993
topmost longitude = 51.4743653
bottommost longitude = 51.4347113**
Apparently I did something wrong, but I can't really make it work. Can you please help me?