Questions tagged [openrouteservice]

30 questions
2
votes
0 answers

GeoJson FeatureCollection field summary not accessible, indexing not working

In my Angular Application, I get some GeoJSON as type FeatureCollection from OpenrouteService. Inside my ts file, I just assign the response from OpenrouteService so some variable: import { FeatureCollection } from 'geojson'; ... routeJson:…
2
votes
0 answers

Get driving distance between multiple points - currently using open route service - but need a faster way similar to google distance matrix but free

I need assistance in a faster distance matrix tool for approximately 107000 source points and 220 destination points. I currently use Open route services on docker, it generates memory error if I run the whole thing, so I run it in a loop i.e.…
2
votes
1 answer

Creating multiple isochrones with openrouteservice-r for a dataframe of locations

What I want to do: I have an sf object with a number of point locations. For each location, I want to generate isochrones with different parameters, using the openrouteservice-r package. The object looks like…
vgXhc
  • 89
  • 6
2
votes
2 answers

How to Implement Open Route Service in Leaflet

Can I use Open Route Service api in leaflet map? I can't find working example to show how to integrate api key on the map. Now I'm using graphhopper and it's working flawless but now it have restrictions to use up to 5 points. When I try to make…
T T
  • 41
  • 2
  • 9
2
votes
0 answers

Own hosted openrouteservice instance not working

I have my own hosted instance of openrouteservice using their Docker image (https://github.com/GIScience/openrouteservice). I downloaded the .pbf file of the Netherlands from https://download.geofabrik.de/europe/netherlands.html, and I set to use…
Simon
  • 2,328
  • 6
  • 26
  • 30
1
vote
1 answer

What are the different directional profiles in openrouteservice module?

import folium import openrouteservice client=openrouteservice.Client(key='apikey') coordinates = [77.09838732369364, 28.50036408080802] route = client.directions(coordinates=coordinates,profile='driving-car',format='geojson') ap_directions =…
1
vote
0 answers

Python and openrouteservice - Driving distance between 2 geolocations (not all exactly are reachable driving)

My goal is to get the driving distance/time between 2 geolocations (latitude and longitude), doing this for a file of around 2k pairs of geolocations. I must be use free APIs or whatever free resources, reason why I'm usin openrouteservice with this…
1
vote
0 answers

OSM geometry of real roads instead of nodes and edges

I'm kind of new to OSM and working with geo data. I have gps track data from a car (illustrated in red). When overlaying this data with the geometry I got from open route service (illustrated in blue), they are a litte bit different, when it comes…
Crysers
  • 455
  • 2
  • 13
1
vote
4 answers

Decoding list containing dictionaries

I need to get certain values out of a list of dictionaries, which looks like that and is assigned to the variable 'segment_values': [{'distance': 114.6, 'duration': 20.6, 'instruction': 'Head north', 'name': '-', 'type': 11, 'way_points':…
1
vote
0 answers

Python exception if error occurs to use different URL - openrouteservice

So I wrote a script to request routes from the ORS-API but with a local hostes instance of ORS - problem is I can not host all of Europe, but there are coordinates not within my locally hosted area. Is there a way to have an exception, if the…
graukas
  • 41
  • 7
0
votes
0 answers

Returning a .gpx file with openroute service directions from a flask web application

I am at the moment developing a web application on which users can calculate small instance TSP from coordinates or adresses they upload and retreive the shortest route between them all. The last functionality I want to include is the ability to…
0
votes
0 answers

Open_route_service flutter

Anybody here who has tried integrating ORS api to flutter? I am using this package open_route_service, but I can only manage to get the route from Point A to Point B. But what if I also want to pass on the avoid_polygons? How can I do it? There are…
Kendaichi
  • 25
  • 7
0
votes
0 answers

how to set avoid_polygons in open_route_service package in flutter

I'm building a mapping application using Flutter and the openrouteservice API to get directions between two points. I want to customize the route by avoiding certain areas or polygons defined by their coordinates. Specifically, I have a polygon…
Kendaichi
  • 25
  • 7
0
votes
0 answers

OSRM: How to avoid restricted zones on map (and split road segments)

I am using OSRM. I need the route to avoid a specific zone on the map. As I found out, this can be done using osrm-customize: osrm-customize --segment-speed-file exceptions.csv In the file exceptions.csv, I write the numbers of the…
VUS
  • 1
  • 1
0
votes
0 answers

Java & Docker - use container swap as java ram

Now before I will get pointed to search. I've already searched And the partial solution to my problem is: mem_limit: "500M" # Only this amount of ram can be used memswap_limit: "10G" # If ram usage exceeded then use swap with this…
1
2