0

I'd like to calculate the matrix of travel times between US zipcodes. There are about 30k visible zipcodes, so this is 900 million calculations (or 450 million assuming travel time is the same in both directions).

I haven't used graphhopper before but it seems suited to the task. My question are:

  • What's the best way of doing it?

  • Will this overload the graphhopper servers?

  • How long will it take?

I can supply latitude and longitude for each pair of zip codes.

Thanks - Steve

Steve Maughan
  • 1,174
  • 3
  • 19
  • 30

1 Answers1

0

I've not tested GraphHopper yet for these large amount of points, but it should be possible.

What's the best way of doing it?

It would be probably faster if you avoid the HTTP overhead and use the Java lib directly like in this example. Be sure to assign enough RAM as the matrix itself is already 2g if you only use a short value for the distance or time. See also this question.

Will this overload the graphhopper servers?

The API is not allowed to be used without an API key which you can grab here. Or set up your own GraphHopper server.

How long will it take?

Will take probably some days though.

Warning - enterprisy note: we provide support to setup your servers or for your usecase. And also we sell a matrix add-on which makes those calculations at least 10 times faster.

Community
  • 1
  • 1
Karussell
  • 17,085
  • 16
  • 97
  • 197