Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When I do a timeline query using the Twitter API...

http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=MyTwitterName

The geographic component of the reply looks like this:

<geo><georss:point>49.13786075 -122.85811069</georss:point></geo>

<coordinates><georss:point>49.13786075 -122.85811069</georss:point></coordinates>

Does anyone know the difference between the geo and coordinates tags? I did look in the Twitter docs but couldn't see anything. Should it always have both, or is one preferred to another?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

From what I can tell, in older versions of the API, geo returns latitude,longitude and coordinates returned longitude,latitude. But since switching to georss, those should be the same consistently. This question on SO has some background about the different names.

share|improve this answer
    
Thanks - and thanks for formatting the question properly ;-) –  Mark Ireland Aug 19 '10 at 16:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.