I need to calculate a lot of driving distances, because I am running a genetic algorithm that calculates the best route given some latitude and longitude coordinates. Currently, it is using the Haversine formula, but it is not sufficient to produce accurate "best routes". I can't use Google Maps directions API/any external API because of performance and usage limits (I estimated about 900k distance calculations per day for my current list of latlng points). Is there any database containing "road coordinates/addresses" that I could get/buy so that I could calculate it locally, as Google servers do? Currently, I only need to calculate these distances in Rio de Janeiro. Would it be too hard to implement it?
Calculate driving distance locally, without Google Maps API
1.7k Views Asked by Marcelo Paulon At
1
There are 1 best solutions below
Related Questions in GOOGLE-MAPS
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- MarkerInfoWindow doesn't hold the clicked marker position after list refresh in Compose Map
- The Polyline is not showing in flutter but the directions api is enabled and the current position is not updating
- Unsure what imports to use for Advanced Marker Element
- The problem is that it takes a long time to index web pages in emdadrodbar.ir?
- distance matrix api gives incorrect data
- How to display google maps in dark mode in a .NET MAUI (Android) app
- Couldn't import Google Map API
- google maps api - how to get location information /place_id from shareable links maps.goo.gl
- 'map-advanced-marker' component not found after upgrading @angular/google-maps
- How to Filter bus stops between Start and Stop BUS STOP?
- How to make pressing on marker fill in the textViews
- Google api nearbysearch how to filter data business_status
- Embedded google map throws net::ERR_BLOCKED_BY_CLIENT in chromium(Brave) browser
- Why the code shows only the header and footer of xml file?
Related Questions in GEOCODING
- qt c++ fonction converting adress to coordinates (longitude, latitude)
- Google Geocoding API : Colombian Addresses issues / How to GeoCode Address intersections?
- Self-hosted OpenRouteService (Python) geocoding error
- Why does Google's Reverse Geocoding API not return the same places as the Autocomplete Api?
- ZIPCODES data for all countries needed in Map chart on SPOTFIRE
- Different results within the Nominatim Geocoder self-hosted version
- geopy for incomplete address, need approximate coordinates
- Fetching sub localities through a zip code
- Mapbox Geocoder doesn't show the search bar
- Geocoding function will not work, I keep getting the same error message
- Overpass query to find POI in a specific postalcode
- Remove POI Marker
- Geocoding API : Connection reset by PEER
- Getting coordinates of cities through an API
- dealing with geocoder errors
Related Questions in LATITUDE-LONGITUDE
- Java get objects elements from List<Objects> and add to new ArrayList
- NA's for PVWatt's API
- My location also moves when dragging the Google Map left and right
- Latitudes and Longitudes in Unity
- how to create a sector and check if some point is in it's area?
- Using .split() on an ArrayList of strings
- Splitting a CSV file of coordinates into longitude and latitude ArrayLists
- Does Google Maps API incorrectly interpret -90 and 90 lat?
- Calculation of walking distances using OSM data in Python returns 0
- Heatmap using latitude and longitude coordinates
- Convert from Cartesian grid to Lat Lon python
- Is there a function to isolate rows of data based on the distance between the start and stop of their GPS coordinates?
- Plotting a grid in km with a center point in latitude and longitude onto a map
- Lat/long in 2d array - nearest pixel indexing
- Finding nearest coordinates on excel
Related Questions in DRIVING-DIRECTIONS
- Python and openrouteservice - Driving distance between 2 geolocations (not all exactly are reachable driving)
- How to get multiple routes from source to destination using bing maps api in python?
- Getting driving direction from geolocation and direction on the road
- Persistent error of 'NOBODY' in wall collision procedure in simple car driving model in Netlogo
- Is it possible to make car drive on the opposite direction lane in the road traffic library?
- Enable to show Golf cart Path along with driving path on mapbox
- Static route image showing broken (Google Maps Directions API)
- Python - Driving straight with interrupts
- Google Directions Api on driving bus mode
- Disable Waypoints on Google Maps Directions API
- Trying to use RouteXL API with Java SE
- Ordering Position type ArrayList to trace route in Mapbox
- RangeError, google maps directions service. angular2, SebastianM/angular2-google-maps
- How to show actual road route driving mode in map in Android
- Show my app logo in google driving directions screen
Related Questions in DRIVING-DISTANCE
- How to minimize total sum of values in pandas dataframe under additional requirements
- Python and openrouteservice - Driving distance between 2 geolocations (not all exactly are reachable driving)
- calculating the distance of a list of coordinates to a reference coordinate using R
- Calculating walking time and driving time from dataset coordinates (British National Grid:Eastling&Northling)?
- Doctrine order by driving distance
- How to get the driving distance between two geographical coordinates using python?
- R gmapsdistance XML Error
- How to find path and distance between two coordinates using OSM and python?
- Extending app inventor 2 "No Text While Driving" with location sensory
- Google Maps API driving time
- Calculate driving distance locally, without Google Maps API
- Distance API for big volume of data
- How do I get driving time from Google Maps API?
- Getting driving distance between two points (lat, lon) using R and Google Map API
- Is there any way to determine the driving time between two locations using Apple's Maps API?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I've used the USGS Tiger/Line data to calculate routes and distances in Manhattan. I think these could be a great start. These files aren't as up-to-date as Google, but if you need that, there are for-pay databases available.