Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OpenStreetMap in the Adress book

7 views
Skip to first unread message

OpenSourceWay

unread,
May 5, 2013, 6:44:58 AM5/5/13
to dev-apps-t...@lists.mozilla.org
Hello devs !

I'm a Linux and Thunderbird user, but also a french OpenStreetMap
contributor.

Yesterday, I discovered Google Maps is the only map provider available
in Thunderbird in the adress book (when the postal adress is filled).
I also remembered Mozilla fought against Internet Explorer included by
default in all the Windows OS Systems, and Mozilla won this little
battle, now a "choice your default browser" is included, and I think
it's a good thing.
I also know Mozilla receive money from Google to be the by default
search engine in Firefox, but not to be the default map provider in
Thunderbird.

I think you can help this project which can be Mozilla's brother :
OpenStreetMap :)
What I suggest, is when the user click on the "view on map" button, a
popup is shown asking for a choice between differents maps provider.
Technically the OpenStreetMap adress can be
http://openstreetmap.org/?q=ADRESS

L�o OpenSourceWay

P.S1, I'm sure I can do that via an addon, but I want to have the choice
by default. Remember, Firefox can be installed on Windows systems, but
you also want the choice by default ;)
P.S2, My actual Thunderbird version is 17.0.5 Linux.

--
OpenSourceWay
skype : opensourceway
opensourceway.fr.nf

OpenSourceWay

unread,
May 5, 2013, 6:56:02 AM5/5/13
to dev-apps-t...@lists.mozilla.org
Hi again,

I'm a little bit sorry, because I've received an email from
OpenStreetMap when I was sending my previous one.
They are affraid by the cost of my solution, in terms of servers. They
havn't the same potential than Google Maps.

There is also a mistake on my link, it's
http://openstreetmap.org/?query=ADRESS

Thanks again,

L�o

Le 05/05/2013 11:44, OpenSourceWay a �crit :

gNeandr

unread,
May 5, 2013, 1:44:40 PM5/5/13
to
What is the excat notification for /q=ADRESS?
If I copy a string used with GMap into the OSM url it will not work.

Ricardo Palomares Martí­nez

unread,
May 5, 2013, 3:01:34 PM5/5/13
to
El 05/05/13 12:44, OpenSourceWay escribió:
> Hello devs !
>
> I'm a Linux and Thunderbird user, but also a french OpenStreetMap
> contributor.
>
> Yesterday, I discovered Google Maps is the only map provider available
> in Thunderbird in the adress book (when the postal adress is filled).
> I also remembered Mozilla fought against Internet Explorer included by
> default in all the Windows OS Systems, and Mozilla won this little
> battle, now a "choice your default browser" is included, and I think
> it's a good thing.
> I also know Mozilla receive money from Google to be the by default
> search engine in Firefox, but not to be the default map provider in
> Thunderbird.
>
> I think you can help this project which can be Mozilla's brother :
> OpenStreetMap :)
> What I suggest, is when the user click on the "view on map" button, a
> popup is shown asking for a choice between differents maps provider.
> Technically the OpenStreetMap adress can be
> http://openstreetmap.org/?q=ADRESS



There is no UI to configure Thunderbird Address Web Search, but you
can do it through the advanced configuration (Edit|Tools ->
Preferences|Options -> Advanced -> General -> "Config editor" button).
Once there, filter using this key:

mail.addr_book.mapit_url.format

The default value is:


http://maps.google.es/maps?q=@A1%20@CI%20@ST%20@ZI%20@CO

You can change it to:

http://openstreetmap.org/?query=@A1%20@CI%20@ST%20@ZI%20@CO

However, I've tried with a local address in Spain and OSM failed to
resolve it. I've then tried again removing different parts of the
address directly in the OSM website and it still failed to find it.
However, the location is correctly mapped in OSM:

http://www.openstreetmap.org/?lat=40.407953&lon=-3.749224&zoom=18&layers=M

The same syntax with the same address data works in Google Maps. As
you are for sure more used to ask for locations with OSM, maybe you
can propose changes in the query syntax so OSM works. We could then
propose to add a document in Mozilla Support.

HTH

--
Ricardo Palomares (RickieES)
http://www.mozilla-hispano.org/
http://www.proyectonave.es/
https://diasp.eu/u/rickiees


Mark Banner

unread,
May 7, 2013, 3:35:39 AM5/7/13
to
On 05/05/2013 20:01, Ricardo Palomares Mart�nez wrote:
> The same syntax with the same address data works in Google Maps. As
> you are for sure more used to ask for locations with OSM, maybe you
> can propose changes in the query syntax so OSM works. We could then
> propose to add a document in Mozilla Support.

The pref change could easily be done via a restartless add-on, maybe
with some minimal UI.

Mark.
0 new messages