The center for all Wikitravel images!

Tech talk:Listing map extension

From Wikitravel Shared
Jump to: navigation, search

Map mashup[edit]

Swept in from en:pub:

It would be nice to be able to see attractions, hostels and stuff on a map, even if not yet within the Wikitravel website. A web mashup would not be difficult to make if Wikitravel data was available in a somewhat standardized way. If every article uses templates such as <sleep> with an "address" field, then it is possible to transform these addresses into coordinates, for instance with the Google API. Is someone working on anything like this ? Thanks ! Nicolas1981 08:27, 1 November 2008 (EDT)

I've been thinking about that a bit too, although in a different way - I think it would be way cool, to harvest coordinates (e.g from google's API) and mix wikitravel listings with openstreetmap.org in a google maps type layer. I'd also really like to see a mix of googlemaps and wikitravel for the iPhone/iPod touch. Sertmann 14:55, 1 November 2008 (EDT)
Cool, let's work together! :-) Independently of the user interface we are going to provide, there are some tasks we can do in common:
  • write a parser that would extract all addresses from Wikitravel articles. This is a bit tricky because Wikitravel does not seem to provide database dumps, or have I missed them ?
  • fix the many syntax errors found in the <sleep> and similar listings.
  • geocoordinate the addresses through the Google API.
Would be so cool for people to find nearby cheap restaurants, or attractions within a daytrip distance. Cheers Nicolas1981 23:32, 1 November 2008 (EDT)
I have just read that nobody ever obtained data dumps [1]... Looks like Wikitravel is not so free as I expected :-( This seriously reduces my willingness to implement cool applications using Wikitravel data. It is a pity :-( Nicolas1981 09:58, 2 November 2008 (EST)
The Google Maps API terms of use limits using the Geocoder in this way. --Inas 19:09, 2 November 2008 (EST)
Sorry, what exactly are you referencing when writing "this way" ? Do you mean that what will be useful to us is limited to the Geocoder part of the Google API ? Cheers :-) Nicolas1981 02:09, 3 November 2008 (EST)
Instead of reinventing the wheel, take a look at shared:Tech:Listing map extension, as well as Wikitravel:How to create a map for existing WT/OSM mashup solutions. There's no need to use the Google API, OpenLayers lets you do layering very easily using OSM or other public data sources (cf. my pet project OpenFlights). Jpatokal 07:15, 9 November 2008 (EST)

Link to Google Maps from all Sleep pages[edit]

Swept in from en:pub:

Could the website-developer-gurus give us the ability to add links to all the Sleep pages to Google Maps. Jumping there will show us where all the listed hotels, hotels, etc are. Good idea? Too hard basket?

This could apply to Eat sections as well... but Sleep would be a good start!

Aidan 19:43, 5 August 2009 (EDT)

Why Google Maps? LtPowers 20:50, 5 August 2009 (EDT)
See the discussion on shared here [2], and also have a look at the Wikitravel:Mapmaking Expedition. There is a school of thought that Wikitravel should have its own open content maps with sleep entries on them, another that OSM provides a more compatible distribution mechanism. It is all fairly academic while most tech requests seem to languish right now, and we are limited to what we can export and load as png files. It might not be hard to plot the XML sleep listings via google maps with an external app, you would think. --inas 21:41, 5 August 2009 (EDT)
Why not use OpenStreetMap and custom overlays? OpenStreetMap could also benefit enormusly from the travel information, contributors here have :) 212.225.97.230 09:40, 22 November 2009 (EST)

Variants

Actions

In other languages