The center for all Wikitravel images!

Tech:ListingGeoData Script

From Wikitravel Shared
Jump to: navigation, search

ListingGeoData Script The goal of this script is to add latitude and longitude information to all listings tags on Wikitravel. This script will perform the following functions:

  1. Parse articles looking for Do, Buy, Eat, Drink, and Sleep listings tags.
  2. If the lat/long fields are empty but address is not, lookup the address against several lat long lookup services (google maps API, yahoo maps API)
  3. If lat/long is found, place resulting data into the corresponding fields in the listing and save. Ibkevin 13:26, 18 September 2007 (EDT)
I would definitely support this. Jpatokal 23:44, 18 September 2007 (EDT)
We see travel guides rapidly increasing their geo data. This seems an important upgrade for Wikitravel. IB will handle the development work. We just want to make sure all in the community have the opportunity to help guide the direction on this. Redondo 19:38, 19 September 2007 (EDT)
This would be great. --Peter Talk 16:45, 25 March 2008 (EDT)

No issues with copyrights on geocoding information? --DenisYurkin 18:25, 26 March 2008 (EDT)

Our tech guys are looking to jump back on this feature and I wonder if there are more specific limitations/guidelines they should be aware of during their development of this bot than those requirements spelled out in the Wikitravel_Shared:Terms_of_use? Thanks. JuCo 21:46, 29 April 2008 (EDT)

There are none that I can think of with one exception. Apparently, when a user clicks on the "edit" link for the listing editor, the user cannot edit the listing if there are additional values for which the the listing editor doesn't take into account. I'm pretty lazy to look up the bug I created a few days ago, but you can check my contributions. Otherwise, I might get around to linking later, but I'm a tad tired and +9 hours from Cali. Plunge forward with this, IB! -- Sapphire(Talk) • 18:27, 30 April 2008 (EDT)

A nice idea, but the coordinates returned by Google or Yahoo or MapQuest are not always accurate. In large cities, they are usually well within a block of the correct location, but in rural areas and small towns, they can often be very far off. (This discrepancy is because they calculate location by interpolating between cross streets based on the street numbers.) LtPowers 17:28, 11 September 2008 (EDT)

Maybe though if it's only set to add data but never replace existing data then it's better than none and users can alter any that they find incorrect? This still sounds like a great idea, any update on it JuCo? – cacahuate talk 22:34, 11 September 2008 (EDT)
I had that thought as well, but my general feeling is that it's better for the traveler to have no coordinate data than to have incorrect coordinate data. The traveler doesn't know it's inaccurate; that's why they need the coordinates in the first place. Perhaps if this automated process could just suggest coordinate values, which could then be double-checked by a human... LtPowers 09:17, 12 September 2008 (EDT)
To create automatic geo-tagging would be very difficult. We can install a manual version of this as a plugin. It would be like tag that allows the user to drop the long & lat stats into their wiki entry. If you guys are OK with this then we can put in a request with tech for you guys to get this done. Let me know. Thanks!-- Ibsteph 2:54, 18 February 2010 (PST)
Our listing editor on :en already has lat and long fields. LtPowers 19:32, 18 February 2010 (EST)
Understood, but the other languages don't. We would also like to explore a more effective uses of this data. Later, we'll look into using an API service to populate those destinations that don't have the data. IB-Dick 16:38, 22 February 2010 (EST)

Using google, yahoo, etc to extract geodata in an automated manner is almost certainly against their TOS. --Inas 17:32, 22 February 2010 (EST)

It would be good if after you enter data in the latitude and longtitude fields it actually appeared so that readers could see the information rather than it being hidden from view. To me this seems a rather simple step forward. Some places have no address so lat and long are invaluable. harleyca 11 March 2011