When browsing the web and documentation I see the abbreviation lon and lng used for the longitude part of geometry.
I was wondering if there is any difference between lng and lon.
|
When browsing the web and documentation I see the abbreviation lon and lng used for the longitude part of geometry. I was wondering if there is any difference between lng and lon. |
|||||
|
|
I think lng abbreviation is not wrong, it is a personal choice but it may cause a mixup in the words in the GIS World because The Longitude is settled in our language abbreviation of "Long" or "Lon". You can see in wikipedia its defined as follows:
from Acronyms and Abbreviations :
I hope it helps you... |
|||||||
|
|
I'm pretty sure there is no difference, it's just that there are inconsistencies in the way that Longitude is abbreviated. I'm not aware if there are any resources available that are trying to set a standard for abbreviations. |
|||
|
|
|
Which abbreviation to use is mainly a matter of preference. Personally, I use "lat" and "lon". Here's why: Both are 3 letters, which provides a nice symmetry. Both are phonic abbreviations that correspond to what people call them when speaking. "long" is a reserved word in most programming languages and it is harder to textually search. "lng" looks garbled. |
|||
|
|