Click here to Skip to main content
15,887,027 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
trønderen13-Nov-23 13:26
trønderen13-Nov-23 13:26 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
Southmountain13-Nov-23 13:53
Southmountain13-Nov-23 13:53 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
jmaida13-Nov-23 15:11
jmaida13-Nov-23 15:11 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
Alister Morton13-Nov-23 22:12
Alister Morton13-Nov-23 22:12 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
PIEBALDconsult13-Nov-23 13:43
mvePIEBALDconsult13-Nov-23 13:43 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
Southmountain13-Nov-23 13:54
Southmountain13-Nov-23 13:54 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
Amarnath S13-Nov-23 13:59
professionalAmarnath S13-Nov-23 13:59 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
Mircea Neacsu13-Nov-23 16:08
Mircea Neacsu13-Nov-23 16:08 
Are you asking how it could be done or how it is done?

It could be defined as the coordinates of the center of gravity of the polygon(s) representing the city boundaries. It is however done in the manner similar to the one described by trønderen, i.e picking an arbitrary place of a certain dubious relevance. You can see interesting examples running Google Earth and searching for different cities. It shows both the city limits polygon and the point picked up as center.

In particular, for London, the center is the statue just south of Trafalgar Square, while for Paris and New York it is the city hall. For Madrid it is the "Puerta del Sol" plaza, that happens to be the origin for road distances in Spain.

An interesting case is also the city where I live, Montreal: due to many mergers and de-mergers of various municipalities, the city boundary has absolutely nothing in common with a polygon.

Conclusion: it's a mess Smile | :)
Mircea

GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
Southmountain14-Nov-23 13:41
Southmountain14-Nov-23 13:41 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
Christian Graus13-Nov-23 16:46
protectorChristian Graus13-Nov-23 16:46 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
trønderen13-Nov-23 17:11
trønderen13-Nov-23 17:11 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
Christian Graus13-Nov-23 17:21
protectorChristian Graus13-Nov-23 17:21 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
Jörgen Andersson13-Nov-23 21:15
professionalJörgen Andersson13-Nov-23 21:15 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
Peter_in_278013-Nov-23 17:32
professionalPeter_in_278013-Nov-23 17:32 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
Rich Leyshon13-Nov-23 23:21
Rich Leyshon13-Nov-23 23:21 
PraiseRe: a newbie question: how to get latitude and longitude of city London Pin
Maximilien14-Nov-23 4:50
Maximilien14-Nov-23 4:50 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
jschell14-Nov-23 8:03
jschell14-Nov-23 8:03 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
megaadam14-Nov-23 11:20
professionalmegaadam14-Nov-23 11:20 
GeneralRe: a newbie question: how to get latitude and longitude of city London Pin
obermd15-Nov-23 4:26
obermd15-Nov-23 4:26 
Generalworldle 661 3/6 Pin
jmaida13-Nov-23 11:56
jmaida13-Nov-23 11:56 
GeneralIn the beginning was USB... and it was good and understood. Then came MS and Apple, and how the hell knows who else Pin
charlieg13-Nov-23 10:23
charlieg13-Nov-23 10:23 
GeneralRe: In the beginning was USB... and it was good and understood. Then came MS and Apple, and how the hell knows who else PinPopular
charlieg13-Nov-23 10:24
charlieg13-Nov-23 10:24 
GeneralRe: In the beginning was USB... and it was good and understood. Then came MS and Apple, and how the hell knows who else Pin
trønderen13-Nov-23 11:10
trønderen13-Nov-23 11:10 
GeneralRe: In the beginning was USB... and it was good and understood. Then came MS and Apple, and how the hell knows who else Pin
Ron Anders13-Nov-23 11:49
Ron Anders13-Nov-23 11:49 
GeneralRe: In the beginning was USB... and it was good and understood. Then came MS and Apple, and how the hell knows who else Pin
Alister Morton13-Nov-23 22:19
Alister Morton13-Nov-23 22:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.