Opened 6 years ago

Closed 4 years ago

Last modified 4 years ago

#677 closed enhancement/feature request (Incomplete/Missing infos)

Add google maps search for mobile devices

Reported by: hape Owned by: cp15
Priority: minor Milestone: want patch / contribution
Component: gui/internal Version: git master
Severity: Keywords: search
Cc:

Description

Add a google maps based search for mobile devices. The most modern devices has an internet connection. So google maps api could be used for searching in addition of the map index.

The api can be used with a simple get request. You get a list of results with the needed geo data as a nice XML or json object. It could be implemented with the existing giu internal elements.

Idea: Add a new entry to the action screen for google map search, open a text list to enter the adress like the one for city search. Then show the result list with the same options as you have for streets in the city search.

Here are some example requests and the link to the api documentation:

http://maps.google.com/maps/geo?output=xml&q=Buchenbuschweg%2045,%20Dorfweil

http://maps.googleapis.com/maps/api/geocode/xml?address=Buchenbuschweg&sensor=true

http://code.google.com/apis/maps/documentation/geocoding/index.html

Change History (6)

comment:1 Changed 6 years ago by korrosa

Good idea.

I would expand this to also include Nominatim, which is based off the OSM data in the first place. Querying is stupidly easy, and as with Google's, responses can be in a variety of formats.

http://wiki.openstreetmap.org/wiki/Nominatim

The advantage of using Nominatim over Google is that the returned hits will correspond exactly with features shown on the OSM maps within Navit, whilst Google has many, many POIs in random, offset places.

The downside: Google contains far more accurate road name positions worldwide than OSM does at the moment. As a result, don't use one or the other - use both and collate the results (or allow the user to choose which results to return).

As an aside, and as we discussed and agreed upon in the irc channel, please retain local map searching capabilities (however crap they are at the moment), as many people will not be able to access data services when using Navit out on the road.

comment:2 Changed 6 years ago by kazer

  • Milestone set to want patch / contribution

It's an interesting idea, but i'll tag it as want patch for now. If any dev want to works on it, feel free to reassign to a release milestone.

comment:3 Changed 6 years ago by zoff99

info:

on the android version you can now use googlemaps (the program itself) find your destination and then navigate there with navit.

comment:4 Changed 6 years ago by hape

Hi zoff99,

good to know that this is working on android. I'm using a webOs device (Palm Pre) and there it is currently not possible. We have the idea to do it the same way. But we found out that it is not possible with the current WebOs? api. We hope that we cam implement it this way when the neext WebOs? version comes out.

comment:5 Changed 4 years ago by usul

  • Resolution set to Incomplete/Missing infos
  • Status changed from new to closed

I don't see the benefit of this new feature:

  • Navit has offline data that can be queried
  • Google services are restricted with a license/terms of service
  • Google maps is at least in central Europe less precise/up to date than OSM

But this is only IMHO. Can anybody provide us a usecase where this new feature might be helpful?

comment:6 Changed 4 years ago by usul

  • Priority changed from major to minor
Note: See TracTickets for help on using tickets.