google map?

109 views
Skip to first unread message

Denis Haskin

unread,
May 21, 2013, 11:13:24 AM5/21/13
to opentripp...@googlegroups.com
How hard/easy is it to switch OTP (again, 0.9.1) to use Google Maps and their geocoding services? Or alternatively Bing or one of the other big providers?  Are there existing adapters?

(Heresy, I know, but we have to stand up a demo instance in a tight timeframe and that might be the best way to go for this first pass.)

Thanks again,

--
Denis Haskin


Shaun McDonald

unread,
May 21, 2013, 11:16:23 AM5/21/13
to opentripp...@googlegroups.com
Using OSM data and another provider for the background maps is going to look strange where the two datasets diverge. I would advise using an OSM based map background, such as through Mapquest Open, which is based on OSM.

They also have geocoding:
--
You received this message because you are subscribed to the Google Groups "OpenTripPlanner Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Denis Haskin

unread,
May 21, 2013, 11:23:37 AM5/21/13
to Shaun McDonald, opentripp...@googlegroups.com
Understood, thanks.  Most of the providers don't let you do that anyway, according to their terms of service...


--
Denis Haskin

Matt Conway

unread,
May 21, 2013, 11:29:35 AM5/21/13
to opentripp...@googlegroups.com

Ooops, meant to reply all . . . sorry Shaun.

There is also the option of setting up a geocoder using the Nominatim package, with your OSM data as input. In Portland they use an Apache SOLR-based geocoder. Or if you're looking for something SaaS, you might try CloudMade, which offers 100k free geocodes and $15 per block of 100k after that.

Matt

Denis Haskin

unread,
May 21, 2013, 11:33:06 AM5/21/13
to Matt Conway, opentripp...@googlegroups.com
CloudMade sounds interesting: thanks for reminding me about them.

I did a couple of Atlanta-area tests with Nominatim and the results were pretty poor, unfortunately.  But I will revisit and see if I just picked addresses it had particular issues with.


--
Denis Haskin



--

Denis Haskin

unread,
May 21, 2013, 2:15:51 PM5/21/13
to Shaun McDonald, opentripp...@googlegroups.com
So to return to the original question: is it possible to configure OTP to use Google tiles *and* Google geocoding?  Is it just configuration, or would I need to write some code?

(e.g. I wouldn't be using any OSM tiles/data at all in this case)

Thanks,


--
Denis Haskin



On Tue, May 21, 2013 at 11:16 AM, Shaun McDonald <sh...@shaunmcdonald.me.uk> wrote:

Stefan Steiniger

unread,
May 21, 2013, 7:42:03 PM5/21/13
to opentripp...@googlegroups.com
Hi,

using Google Tiles should be easy (never used it though).
If you look into the config.js file you will find the spots where you
could replace original MapBox with OSM or MapQuest tiles.

About the ease for using another geocoder - don't know.

cheers
stefan

Am 21.05.13 14:15, schrieb Denis Haskin:
> So to return to the original question: is it possible to configure OTP
> to use Google tiles *and* Google geocoding? Is it just configuration,
> or would I need to write some code?
>
> (e.g. I wouldn't be using any OSM tiles/data at all in this case)
>
> Thanks,
>
>
> --
> Denis Haskin
> cell: 781-258-7414
>
>
>
> On Tue, May 21, 2013 at 11:16 AM, Shaun McDonald
> <sh...@shaunmcdonald.me.uk <mailto:sh...@shaunmcdonald.me.uk>> wrote:
>
> Using OSM data and another provider for the background maps is going
> to look strange where the two datasets diverge. I would advise using
> an OSM based map background, such as through Mapquest Open, which is
> based on OSM.
>
> They also have geocoding:
> http://open.mapquestapi.com/
>
> Shaun
>
> On 21 May 2013, at 16:13, Denis Haskin <de...@constantorbit.com
> <mailto:de...@constantorbit.com>> wrote:
>
>> How hard/easy is it to switch OTP (again, 0.9.1) to use Google
>> Maps and their geocoding services? Or alternatively Bing or one of
>> the other big providers? Are there existing adapters?
>>
>> (Heresy, I know, but we have to stand up a demo instance in a
>> tight timeframe and that might be the best way to go for this
>> first pass.)
>>
>> Thanks again,
>>
>> --
>> Denis Haskin
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "OpenTripPlanner Developers" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to opentripplanner...@googlegroups.com
>> <mailto:opentripplanner...@googlegroups.com>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "OpenTripPlanner Developers" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to opentripplanner...@googlegroups.com
> <mailto:opentripplanner-dev%2Bunsu...@googlegroups.com>.

MikeN

unread,
May 21, 2013, 8:14:45 PM5/21/13
to opentripp...@googlegroups.com, Shaun McDonald
While I haven't done this, it *should* be a straightforward configuration to use Google Tiles and Google geocoding, for the Geocoder, depending on the Google Geocoding API.  Google may also allow you to perform interactive queries (results are returned interactively as characters are typed), but would also require some Javascript client browser code.

  As noted previously, Google won't let you use their data for OTP routing, and the results may be strange when the OpenStreetmap data diverges from Google's map tiles.    But if you also use Google for the route, then there's no involvement for OTP by then.


On Tuesday, May 21, 2013 2:15:51 PM UTC-4, Denis Haskin wrote:
So to return to the original question: is it possible to configure OTP to use Google tiles *and* Google geocoding?  Is it just configuration, or would I need to write some code?

(e.g. I wouldn't be using any OSM tiles/data at all in this case)

Thanks,


--
Denis Haskin



On Tue, May 21, 2013 at 11:16 AM, Shaun McDonald <sh...@shaunmcdonald.me.uk> wrote:
Using OSM data and another provider for the background maps is going to look strange where the two datasets diverge. I would advise using an OSM based map background, such as through Mapquest Open, which is based on OSM.

They also have geocoding:
On 21 May 2013, at 16:13, Denis Haskin <de...@constantorbit.com> wrote:

How hard/easy is it to switch OTP (again, 0.9.1) to use Google Maps and their geocoding services? Or alternatively Bing or one of the other big providers?  Are there existing adapters?

(Heresy, I know, but we have to stand up a demo instance in a tight timeframe and that might be the best way to go for this first pass.)

Thanks again,

--
Denis Haskin



--
You received this message because you are subscribed to the Google Groups "OpenTripPlanner Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner-dev+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "OpenTripPlanner Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner-dev+unsub...@googlegroups.com.

Andrew Byrd

unread,
May 21, 2013, 8:38:46 PM5/21/13
to opentripp...@googlegroups.com
Mapbox provides gorgeous map tiles based on OpenStreetMap data.
http://www.mapbox.com/showcase/

You just need to register for an account with them. You'll get 3000 map
views per month for free, and it's 5USD for 10000 views per month.

-Andrew
> <javascript:>> wrote:
>
>> How hard/easy is it to switch OTP (again, 0.9.1) to use Google
>> Maps and their geocoding services? Or alternatively Bing or
>> one of the other big providers? Are there existing adapters?
>>
>> (Heresy, I know, but we have to stand up a demo instance in a
>> tight timeframe and that might be the best way to go for this
>> first pass.)
>>
>> Thanks again,
>>
>> --
>> Denis Haskin
>>
>>
>>
>> --
>> You received this message because you are subscribed to the
>> Google Groups "OpenTripPlanner Developers" group.
>> To unsubscribe from this group and stop receiving emails from
>> it, send an email to
>> opentripplanner...@googlegroups.com <javascript:>.
>> For more options, visit
>> https://groups.google.com/groups/opt_out
>> <https://groups.google.com/groups/opt_out>.
>>
>>
>
> --
> You received this message because you are subscribed to the
> Google Groups "OpenTripPlanner Developers" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
> opentripplanner...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/groups/opt_out
> <https://groups.google.com/groups/opt_out>.
>
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "OpenTripPlanner Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to opentripplanner...@googlegroups.com.

Denis Haskin

unread,
May 22, 2013, 8:29:23 AM5/22/13
to Andrew Byrd, opentripp...@googlegroups.com
If we went with Mapbox, what would be our alternatives for geocoding?  (Sorry for the newbie-ish questions, trying to ramp up fast here.)


--
Denis Haskin
cell: 781-258-7414



Denis Haskin

unread,
May 22, 2013, 8:43:14 AM5/22/13
to MikeN, opentripp...@googlegroups.com, Shaun McDonald
We would not be using Google for the routing.  And we understand that if we use Google for the tiles and geocoding, but OTP for the routing, there may be divergences between the data sets that lead to unexpected results.  That's something we're willing to experiment with to see what the various trade-offs are for this phase of this project.

Thanks,


--
Denis Haskin



To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner...@googlegroups.com.

Laurent GRÉGOIRE

unread,
May 22, 2013, 8:50:34 AM5/22/13
to opentripp...@googlegroups.com
On 22/05/2013 14:43, Denis Haskin wrote:
> We would not be using Google for the routing. And we understand that if
> we use Google for the tiles and geocoding, but OTP for the routing,
> there may be divergences between the data sets that lead to unexpected
> results. That's something we're willing to experiment with to see what
> the various trade-offs are for this phase of this project.

This divergence used to be a nuisance in our area some years ago, but
recently we saw a broad convergence movement between OSM and commercial
data-sets.

As always you have to test yourself to assess it, but there is usually
only one (evolving) physical reality; and in the long term all data-sets
tend to converge with it.

HTH,

--Laurent

Denis Haskin

unread,
May 22, 2013, 10:35:24 AM5/22/13
to Laurent GRÉGOIRE, opentripp...@googlegroups.com
Good to hear, thanks.  And I'm seriously considering putting that on a t-shirt: "there is usually only one (evolving) physical reality; and in the long term all data-sets tend to converge with it."


--
Denis Haskin



Reply all
Reply to author
Forward
0 new messages