Questions tagged [routing]

Routing consists of finding optimal paths along geographic networks such as roads or trail systems.

Filter by
Sorted by
Tagged with
1
vote
1answer
24 views

QGIS QNEAT3 AttributeError by creating isodistances/isochrones

Trying to generate isodistances/isochrones in the QNEAT 3 plugin I got the following error: > Traceback (most recent call last): File > "C:/Users/User/AppData/Roaming/QGIS/QGIS3\profiles\...
0
votes
0answers
15 views

Extracting travel times from Google Maps for a certain time?

I got the idea that it could be interesting to make a regular daily query to the route planning feature of Google Maps to collect statistics about commuting times. For example: ask Google Maps every ...
2
votes
2answers
29 views

Routing a consecutive set of points on a network

I need to generate routes based on a consecutive set of points exactly as given in this routing script by Anita Graser. As given in this image, I have a layer of consecutive points as well as a ...
1
vote
0answers
20 views

PostGIS - Measuring the angle at the touching point of two lines

I want to calculate the angle of two lines of a routing network exactly at the "touching point" (the topological vertex). My previous attempt was using the ST_ANGLE() function of PostGIS, which gave ...
0
votes
1answer
44 views

Finding the distance between two coordinates (longitudes/latitudes) which are not found as nodes in OSM

I intend to make my own OSM Router, and I do not want to use third party OSM routers. WHAT I HAVE DONE: I have downloaded OSM data in XML format and applied different algorithms to find the shortest ...
1
vote
0answers
27 views

Routing for Waste Collection (U-Turn problem)

A general question about routing problem: I am working on waste collection problems and I am having some trouble with some routing problems (the truck has to pass by every bin). So far I have tried a ...
0
votes
1answer
30 views

Finding route between 2 points based on same attributes using ArcGIS Network Analyst?

I'm using Arcmap 10.5 and I would like to solve a network analysis problem. I have a road network layer and two point layers. The first points layer contains the start points, the second one ...
0
votes
0answers
25 views

What closeness measures are appropriate to this undirected graph?

I need a way to measure the closeness centrality of every single NODE(i) in respect to all NODES(j), 1 NODE(i) to all NODES(j) and, another measure that describe somehow the geometric properties of ...
0
votes
1answer
50 views

Seeking Python API to assess accessibility to foodbank site?

The aim is to look at accessibility or lack thereof, in certain areas of the city, in order to inform future foodbank services. I have been working in Python/Spyder, and using OpenRouteService API to ...
1
vote
2answers
58 views

Error sending request to OpenRouteService API from a set of client addresses to a foodbank site

I am sending a request to OpenRouteService API from a set of client addresses to a foodbank site: I am passing coordinates in the form ((x1,x2),(y1,y2)) where x coordinates are from a large csv file, ...
0
votes
0answers
26 views

Calculating shortest route in Geopackage/SQLite

Are there any graph analysis tools written for a SQLite database? What I'm looking for is something akin to pgRouting but for SQLite. I can't find anything with a significant user base, which is ...
0
votes
1answer
31 views

Automatically create path between two points via roads in Google Earth (Pro)? [closed]

Does Google Earth have the ability to automatically create a path between two points connected by roads?
1
vote
1answer
65 views

Why pgr_dijkstra() only finds the routes that are pretty straight?

I am trying to use pgRouting in order to find the shortest route between two points. I realized that pgr_dijkstra() function is not able to find the route when the two points are far from each other ...
1
vote
0answers
31 views

Display route and the two markers in Leaflet routing Machine?

How do I make the route and the two markers appear in Leaflet routing Machine? Here is my code: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> ...
1
vote
0answers
35 views

Shortest route between large amount of points

I have to check the street lights of various communities. There are approx. 540 lamps to check, I was wondering if QGIS (or any other opensource software like PostGIS or R) can help me finding the ...
1
vote
1answer
25 views

Fails ST_intersects(geom, select statement) for drive time

I am trying to select houses in a drive time isochrone. I have the code working fine to make the isochrone. I can't place the results in a seperate table I need the isochrone in a where clause Is ...
0
votes
1answer
29 views

Integrating NA (network analysis/routing) service in Web AppBuilder?

We had a requirement for routing in our application. As the arcgis online routing service is credit based we have published our own network routing service in arcgis server 10.6 using the road layer ...
0
votes
0answers
46 views

Cannot read property 'decode' of undefined in lrm-google

I am following this doc Lrm-google to use google direction api with leaflet routing machine. I haven't changed much of my code except replacing geocoder: L.Control.Geocoder.nominatim(), with router: L....
1
vote
1answer
160 views

With leaflet-routing-machine, how to bring a route on top?

On a simple Leaflet map, with leafleat-routing-machine, if two routes pass by the same place, only the top one is visible. I can live with this if I can choose which route is on top, (for example by ...
1
vote
1answer
87 views

Creating minimum spanning tree using OpenStreetMap and QGIS?

I'm working in QGIS (3.8) and PostGIS (2.5) and I have 2 layers: 1. set of points, 2. set of OSM roads. I would like to generate a subset of the roads network which represents the minimum spanning ...
1
vote
1answer
51 views

Prevent leaflet from zooming after adding a route

The leaflet routing machine hello world adds a route on the map and automatically zooms to fit the route. var map = L.map('map'); L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { ...
-1
votes
1answer
81 views

OSM routing database with high quality data? [closed]

Our company is searching for a routing service which provides free OSM database (high quality routing data) and preferably also considers the traffic parameters (traffic flow, day etc. similar to no-...
0
votes
1answer
49 views

Adding free routing services in ArcGIS Web AppBuilder (developer)?

To add free routing services like openrouteservice or ORSM in WAB(developer) can we use the directions widget or do we have to develop a new widget for it?
1
vote
0answers
45 views

GRASS GIS: Time series of overland flow from r.sim.water

I am trying to perform an overland flow routing on a large area using r.sim.water in GRASS GIS. I've looked at other answers and made sure to set my computational region to the elevation raster I'm ...
0
votes
0answers
28 views

Configure mapconfig.xml for null tag_value

I am using osm2pgrouting version 2.3.6. When using osm2pgrouting for .osm file, I created tables ways. However, when I compared it with table planet_osm_line, it lost a lot of line. I determined ...
1
vote
0answers
19 views

Memory management in offline routing with n waypoints?

I am trying to build an offline routing system with a map database on a portable Android device. Since I am still doing some research, I am stuck on what I think is a fundamental problem. To find the ...
1
vote
0answers
23 views

Which sensitivity analysis is most suitable on cost factors in route planner? [closed]

I am working on developing a route planner with alternative impedance/cost factor (safety of the route). I am building the application mainly in pgRouting. As a final step I would like to perform ...
1
vote
0answers
13 views

Determine left/right based on headings of in & out legs

I'm analyzing roads layer to create navigation layer. Each vector Linestring segment has direction of traffic. Turn defined as where 2 directional segments meet. However, I find it challenging to ...
1
vote
0answers
18 views

Determining communities with single point of entry using ArcGIS Network Analyst?

I am attempting to determine the communities in a province that would have a single point of entry that could isolate the community if this road/bridge were closed (due to a weather event, for example)...
1
vote
1answer
46 views

Count classified attributes using second series of attributes in QGIS

I have: classified GPS-data them according to "Starting city - Destination city". a geodataset for German highways, that contains a "Route-ID" for each section. Now I want to count how many times I ...
0
votes
1answer
18 views

ODLStudio Matrix Size Problem

The reason I'm asking this question here is that I've seen a thread about ODL already. Let me know if I'm in a wrong place. I'm trying to crosscheck a route plan using ODL Studio, which uses JSpirit ...
0
votes
0answers
25 views

Finding best route from one point to another in ArcGIS Desktop?

I'm trying to find the best possible route from one point on the map to another. My current map has the road information (in line type) and the two coordinates of the starting position and the ...
0
votes
0answers
203 views

Routing Engine written in JavaScript

I'm looking for a routing engine written completely in native JavaScript or Nodejs, which is distributed with an open source license So far the solutions I've found are implemented only in Java, C++ ...
0
votes
1answer
56 views

Lot of roads are missing from pgRouting pgr_drivingDistance result

I started working with pgr_drivingDistance. Lot of edges (marked as yellow) are missing from result. Those seem to be cases, where routing algorithm has approached to same edge from two directions. ...
1
vote
2answers
54 views

Collapse points onto route, get distance of each point from start of route

I have a polyline SHP (with only one feature) that I have converted to a route using arcpy.CreateRoutes_lr(). I have a separate points SHP that is spatially scattered about the line. I want to "...
0
votes
0answers
31 views

Making lists of nearby points using QGIS?

I am a new user of QGIS. I have uploaded a csv file to my QGIS map with 500 points and I want to make sets of 10 points (or different amount of points) based on distance. I want to gather nearby ...
0
votes
0answers
25 views

ESRI Unable To Generate Service Area Polygons

Working with 10.6.1 I'm working with a simple point layers and a road network (with topology) trying to create service area polygons leading away from the facility points. The road layers have what I ...
1
vote
0answers
16 views

ArcMap 10.5 Network Analyst Routing Unchecked Start Time

I'm doing a network analysis with ESRI's ArcMap 10.5. As part of this analysis I'm being asked to compare routes at different days and times to determine the impact of traffic congestion on routing. ...
0
votes
0answers
127 views

Finding Alternative Routes Using OSRM (R)

Using the osmr or stplanr packages I can easily get the fastest route between two points using OSMR e.g. library(osrm) library(stplanr) library(sf) path <- osrmRoute(src = c("Buckingham", 0....
0
votes
0answers
15 views

Saving impedance attributes from netowrk dataset to feature class in ArcGIS

I've created a network dataset for routing, and computed impedance values for each segment based in different attributes. Is there any way to save the impedance value from the network dataset to the ...
0
votes
1answer
213 views

Constructing a graph from a city in Python using Overpass

I'm looking to construct something exactly like this person Building a graph from OSM? That is I need to construct a graph with intersections as nodes and roads as edges for a simulation. Unlike this ...
0
votes
1answer
364 views

Get distance for mapbox-gl-directions

Using the following code, how do I get the distance of the route directions? I want to run some math against the length. container: 'map', // container id style: 'mapbox://styles/mapbox/...
2
votes
1answer
75 views

pgRouting assign source and target value to streets based on available nodes

I am a beginner in pgrouting. I have two tables in my postgres database. A street table, where each segment (see red line) carries an Id (ogc_fid). Additionally I have a nodes table (see brown points ...
2
votes
1answer
190 views

Returning route geometry using OpenTripPlanner API

I already managed to return geometries of Isochrones using the API as follows: https://sampleserver.com/otp/routers/myrouterid/isochrone?algorithm=accSampling&mode=WALK&walkSpeed=1.11&...
1
vote
1answer
295 views

What are some self-hosted alternatives to Graphhopper's Geocoding API? [closed]

I have a self-hosted instance of Graphhopper. However, it doesn't come with autocomplete like the web demo; from doing some searching, it looks like the autocomplete comes from the Geocoding API, ...
0
votes
0answers
41 views

Finding shortest routes from one point to all others?

I have lat and long information for 234 locations and I have shapefile of the route network. I am trying to obtain shortest path from each location to all other locations. For instance for location ...
3
votes
0answers
170 views

Plug in / API for getting sea routes with leaflet

I am developing a maritime routing application prototype with Leaflet.js for my company Deep Blue Globe and using the windy interface. The problem is since windy uses Leaflet version 0.7.7 there are ...
1
vote
1answer
129 views

How do i draw London Bus Routes? [closed]

I want to draw all London bus routes. I have the associated bus stop locations and sequences. Is there a quick way to draw the routes? My end product would be a shapefile or layer file / table with ...
1
vote
0answers
24 views

Network analyst functionality: assigning optimum location for two facilities [closed]

Hoping for some advice on using the network analyst tool to determine the optimal location for two facilities. For context these would be a depot and tip locations servicing a set of households as ...
0
votes
1answer
67 views

Processing OS Highways data into a network dataset [closed]

I am looking for advice in how to process highways data into a network dataset in ArcGIS for use in the Network Analyst extension My company has a partners contract so i have access to the data, but ...