# SDKs

**URL:** https://ask.openrouteservice.org/c/sdks/10.md?page=2

[Latest](https://ask.openrouteservice.org/latest.md) · [Categories](https://ask.openrouteservice.org/categories.md)

**Page:** 3

---

## [QGis plugin: Feature ID X caused a ApiError: 404 (404 page not found)](https://ask.openrouteservice.org/t/qgis-plugin-feature-id-x-caused-a-apierror-404-404-page-not-found/3195)

<div class="topic-metadata">

**Author:** [@lemieszek](https://ask.openrouteservice.org/u/lemieszek)\
**Replies:** 2\
**Last updated:** [October 7, 2021, 2:07pm UTC](https://ask.openrouteservice.org/t/qgis-plugin-feature-id-x-caused-a-apierror-404-404-page-not-found/3195 "2021-10-07T14:07:46Z")

</div>

Hi all, As the title says, I can’t generate isochrones in QGis 3.18 using the ORS Tools plugin. Getting the mentioned error message. But the website shows my API as being consumed without errors. Any tips? I’m following…

---

## [Optimization starting point](https://ask.openrouteservice.org/t/optimization-starting-point/3101)

<div class="topic-metadata">

**Author:** [@peterflier](https://ask.openrouteservice.org/u/peterflier)\
**Replies:** 1\
**Last updated:** [August 24, 2021, 5:16pm UTC](https://ask.openrouteservice.org/t/optimization-starting-point/3101 "2021-08-24T17:16:55Z")

</div>

I would like the optimization service to select the best starting point based on jobs, but when I leave the start value blank / == None for vehicle(s), I receive the following error: openrouteservice.exceptions.ApiError…

---

## [TypeError on avoid polygons function](https://ask.openrouteservice.org/t/typeerror-on-avoid-polygons-function/3062)

<div class="topic-metadata">

**Author:** [@nj7](https://ask.openrouteservice.org/u/nj7)\
**Replies:** 15\
**Last updated:** [August 17, 2021, 1:06pm UTC](https://ask.openrouteservice.org/t/typeerror-on-avoid-polygons-function/3062 "2021-08-17T13:06:43Z")

</div>

Hi, I’m trying to use the avoid polygon function, but a TypeError keeps coming up. I’ve tried using different formats and the same error message about exceptions show. The first exception says Network error:network ac…

---

## [Removing Blue Lines in QGIS](https://ask.openrouteservice.org/t/removing-blue-lines-in-qgis/1666)

<div class="topic-metadata">

**Author:** [@djgeocode](https://ask.openrouteservice.org/u/djgeocode)\
**Replies:** 8\
**Last updated:** [August 5, 2021, 8:28pm UTC](https://ask.openrouteservice.org/t/removing-blue-lines-in-qgis/1666 "2021-08-05T20:28:56Z")

</div>

I used the ORS Tools plugin in QGIS to calculate a travel route and the blue lines between the points remain embedded in my map canvas. I have found no way to remove them. Please help, or my map might be ruined.

---

## [New User Confusion](https://ask.openrouteservice.org/t/new-user-confusion/2946)

<div class="topic-metadata">

**Author:** [@MoltenLight](https://ask.openrouteservice.org/u/MoltenLight)\
**Replies:** 4\
**Last updated:** [June 29, 2021, 2:03pm UTC](https://ask.openrouteservice.org/t/new-user-confusion/2946 "2021-06-29T14:03:10Z")

</div>

I’m trying to get a very simple example working, and failing… I have a client browser with existing features, and am trying to add a Route-Planning feature. I’m currently trying to run this Directions example: var Dir…

---

## [Start and end point of route - points (1 layer)](https://ask.openrouteservice.org/t/start-and-end-point-of-route-points-1-layer/1763)

<div class="topic-metadata">

**Author:** [@hopelost3](https://ask.openrouteservice.org/u/hopelost3)\
**Replies:** 18\
**Last updated:** [June 7, 2021, 1:43pm UTC](https://ask.openrouteservice.org/t/start-and-end-point-of-route-points-1-layer/1763 "2021-06-07T13:43:06Z")

</div>

Hello everyone I am recently using ORS Tools pluging in QGIS. I can’t get the route to end at the arrival point. Does anyone know how to solve it? Should I change any concept in the data table? I use ID 1 for the depart…

---

## [How to specify start and end points for directions](https://ask.openrouteservice.org/t/how-to-specify-start-and-end-points-for-directions/2865)

<div class="topic-metadata">

**Author:** [@graham8](https://ask.openrouteservice.org/u/graham8)\
**Replies:** 3\
**Last updated:** [June 2, 2021, 12:06pm UTC](https://ask.openrouteservice.org/t/how-to-specify-start-and-end-points-for-directions/2865 "2021-06-02T12:06:47Z")

</div>

New to ORS Tools and impressed so far! But needing help understanding the input options. In version 1.3.0 I see ‘Advanced Directions’ which lets me input waypoints in any order ‘by hand’. Then there’s ‘Batch Jobs’ whi…

---

## [TimeOut-Error for Isochrones-request on self-hosted instance](https://ask.openrouteservice.org/t/timeout-error-for-isochrones-request-on-self-hosted-instance/2831)

<div class="topic-metadata">

**Author:** [@onkel\_butterbrot](https://ask.openrouteservice.org/u/onkel_butterbrot)\
**Replies:** 8\
**Last updated:** [May 27, 2021, 10:50am UTC](https://ask.openrouteservice.org/t/timeout-error-for-isochrones-request-on-self-hosted-instance/2831 "2021-05-27T10:50:13Z")

</div>

I am trying to get Isochrones for 600+km. Unfortunately I keep getting the following Error, when requesting over ~150km Isochrones - I am guessing it is taking too long and therefor fails. I checked client.py, etc. to so…

---

## [Batch Jobs Directions error](https://ask.openrouteservice.org/t/batch-jobs-directions-error/2824)

<div class="topic-metadata">

**Author:** [@guillang](https://ask.openrouteservice.org/u/guillang)\
**Replies:** 2\
**Last updated:** [May 25, 2021, 2:49pm UTC](https://ask.openrouteservice.org/t/batch-jobs-directions-error/2824 "2021-05-25T14:49:48Z")

</div>

Hi! I´m trying to perform a shortest travel layer but when I try to run the process I get this error: Feature could not be written to Output\_Layer\_cfcd0f94\_7d2c\_490b\_89fc\_4ca97b3a5ebc: Could not store attribute “id”: Va…

---

## [Isochrones with fuel-usage - differentiate between highway and non-highway](https://ask.openrouteservice.org/t/isochrones-with-fuel-usage-differentiate-between-highway-and-non-highway/2776)

<div class="topic-metadata">

**Author:** [@onkel\_butterbrot](https://ask.openrouteservice.org/u/onkel_butterbrot)\
**Replies:** 1\
**Last updated:** [May 10, 2021, 8:51am UTC](https://ask.openrouteservice.org/t/isochrones-with-fuel-usage-differentiate-between-highway-and-non-highway/2776 "2021-05-10T08:51:05Z")

</div>

Hey guys, for my master thesis am trying to use the QGIS-Plugin to generate Isochrones from 5 Locations. For that I have setup my own instance of ORS. Now I am trying to get the distance for a certain fuel load and hav…

---

## [Error on routing - method not allowed](https://ask.openrouteservice.org/t/error-on-routing-method-not-allowed/2244)

<div class="topic-metadata">

**Author:** [@gitalexa](https://ask.openrouteservice.org/u/gitalexa)\
**Replies:** 4\
**Last updated:** [April 30, 2021, 4:26pm UTC](https://ask.openrouteservice.org/t/error-on-routing-method-not-allowed/2244 "2021-04-30T16:26:34Z")

</div>

I have an inputlayer with some lines (each has only 2 points). I want to route a possible way for each line. It should be routing between the starting and the end of the line. Is this possible? Do i have to “transform” …

---

## [Permanently display and save waypoints](https://ask.openrouteservice.org/t/permanently-display-and-save-waypoints/2696)

<div class="topic-metadata">

**Author:** [@wolferl69](https://ask.openrouteservice.org/u/wolferl69)\
**Replies:** 3\
**Last updated:** [April 19, 2021, 2:42pm UTC](https://ask.openrouteservice.org/t/permanently-display-and-save-waypoints/2696 "2021-04-19T14:42:02Z")

</div>

Hello, how can the points be permanently adopted in the graphic? They are hidden after the route has been calculated. And how can you save the waypoints so that you can use them later? Many Thanks

---

## [How to get and to know all the possible map tiles values](https://ask.openrouteservice.org/t/how-to-get-and-to-know-all-the-possible-map-tiles-values/2598)

<div class="topic-metadata">

**Author:** [@amrmb](https://ask.openrouteservice.org/u/amrmb)\
**Replies:** 1\
**Last updated:** [March 8, 2021, 1:05pm UTC](https://ask.openrouteservice.org/t/how-to-get-and-to-know-all-the-possible-map-tiles-values/2598 "2021-03-08T13:05:57Z")

</div>

i would like to know how to find or get all possibe tiles’ names?according to the tutorial i am following here: https://python-visualization.github.io/folium/quickstart.html it used to different map tiles for two diff…

---

## [How to get multiple directions options via python](https://ask.openrouteservice.org/t/how-to-get-multiple-directions-options-via-python/2395)

<div class="topic-metadata">

**Author:** [@ShaharYe](https://ask.openrouteservice.org/u/ShaharYe)\
**Replies:** 3\
**Last updated:** [December 29, 2020, 2:00pm UTC](https://ask.openrouteservice.org/t/how-to-get-multiple-directions-options-via-python/2395 "2020-12-29T14:00:57Z")

</div>

Hey guys, I’m coding a routing tool, and in order to achieve my target I have to get more than one option for the directions. How do I get it from the API?

---

## [Distance and time fields are null in the output of Matrix From Layer algorithm of ORS Tools plugin in QGIS](https://ask.openrouteservice.org/t/distance-and-time-fields-are-null-in-the-output-of-matrix-from-layer-algorithm-of-ors-tools-plugin-in-qgis/2376)

<div class="topic-metadata">

**Author:** [@Elham](https://ask.openrouteservice.org/u/Elham)\
**Replies:** 1\
**Last updated:** [December 22, 2020, 5:51pm UTC](https://ask.openrouteservice.org/t/distance-and-time-fields-are-null-in-the-output-of-matrix-from-layer-algorithm-of-ors-tools-plugin-in-qgis/2376 "2020-12-22T17:51:13Z")

</div>

I tried to calculate the travel distance and the travel time using Matrix From Layer algorithm of the ORS Tools plugin in QGIS, but in the attribute table of the output, the duration and distance columns are null. Can so…

---

## [Openrouteservice for 4.0](https://ask.openrouteservice.org/t/openrouteservice-for-4-0/2333)

<div class="topic-metadata">

**Author:** [@seabass20](https://ask.openrouteservice.org/u/seabass20)\
**Replies:** 1\
**Last updated:** [November 30, 2020, 8:52am UTC](https://ask.openrouteservice.org/t/openrouteservice-for-4-0/2333 "2020-11-30T08:52:53Z")

</div>

Hi, After using openrouteservice for several months without a hitch in R, I recently upgraded to the newest version of R (4.0.3). I cannot, however, install the openrouteservice package while using the newest version of…

---

## [How to make isochrones since from point with a range higher than 3600 seconds](https://ask.openrouteservice.org/t/how-to-make-isochrones-since-from-point-with-a-range-higher-than-3600-seconds/2279)

<div class="topic-metadata">

**Author:** [@Sergio\_Vargas](https://ask.openrouteservice.org/u/Sergio_Vargas)\
**Replies:** 1\
**Last updated:** [November 6, 2020, 7:30am UTC](https://ask.openrouteservice.org/t/how-to-make-isochrones-since-from-point-with-a-range-higher-than-3600-seconds/2279 "2020-11-06T07:30:34Z")

</div>

Hi, i’m new in ORS, and I want to make an isochrone since from one point but I need that the isochrone shows the range after one hour, knowing that ORS have a time range limit of 3600 seconds (60minutes). Please help me,…

---

## [Unable to compute Isochrone map from layer](https://ask.openrouteservice.org/t/unable-to-compute-isochrone-map-from-layer/2220)

<div class="topic-metadata">

**Author:** [@vivianfang88](https://ask.openrouteservice.org/u/vivianfang88)\
**Replies:** 0\
**Last updated:** [October 22, 2020, 2:14am UTC](https://ask.openrouteservice.org/t/unable-to-compute-isochrone-map-from-layer/2220 "2020-10-22T02:14:22Z")

</div>

Good Days Nils, I am getting an error (attached below) when trying to get the isochrone maps from layer . May I know why I am getting this error? The input point is taken from a layer calculated by using the ‘mean coo…

---

## [How to start with ORS api key in javascript](https://ask.openrouteservice.org/t/how-to-start-with-ors-api-key-in-javascript/2193)

<div class="topic-metadata">

**Author:** [@gerritmueller](https://ask.openrouteservice.org/u/gerritmueller)\
**Replies:** 2\
**Last updated:** [October 16, 2020, 10:00am UTC](https://ask.openrouteservice.org/t/how-to-start-with-ors-api-key-in-javascript/2193 "2020-10-16T10:00:44Z")

</div>

I am new in ORS. Cannot run javascript direction example, after implementing my api key on the right location, running “direction” example, error message comes back: " Please provide an API key via ?api\_key=mykey query…

---

## [Starting point of isochrone is shown inaccurately](https://ask.openrouteservice.org/t/starting-point-of-isochrone-is-shown-inaccurately/2116)

<div class="topic-metadata">

**Author:** [@noambergmann](https://ask.openrouteservice.org/u/noambergmann)\
**Replies:** 3\
**Last updated:** [September 17, 2020, 11:36am UTC](https://ask.openrouteservice.org/t/starting-point-of-isochrone-is-shown-inaccurately/2116 "2020-09-17T11:36:21Z")

</div>

Hi all, I’m trying to make an isochrone for cycling, by creating an isochrone from point and choosing a point from map canvas. The problem is that the isochrone is being created from a different point on the map, and th…

---

## [Output layer error while trying to do multiple Directions request](https://ask.openrouteservice.org/t/output-layer-error-while-trying-to-do-multiple-directions-request/2043)

<div class="topic-metadata">

**Author:** [@tdpn34](https://ask.openrouteservice.org/u/tdpn34)\
**Replies:** 2\
**Last updated:** [August 26, 2020, 8:00pm UTC](https://ask.openrouteservice.org/t/output-layer-error-while-trying-to-do-multiple-directions-request/2043 "2020-08-26T20:00:59Z")

</div>

Hello, I have an issue while I try to make multiple directions request from points (One layer) within the ORS Tools in QGIS 3.10 For this, I try with five .gpkg files, then I upload them, but I don’t know what the “Outp…

---

## [Unable to reload app.config](https://ask.openrouteservice.org/t/unable-to-reload-app-config/1992)

<div class="topic-metadata">

**Author:** [@gwfami2](https://ask.openrouteservice.org/u/gwfami2)\
**Replies:** 4\
**Last updated:** [August 11, 2020, 9:11pm UTC](https://ask.openrouteservice.org/t/unable-to-reload-app-config/1992 "2020-08-11T21:11:33Z")

</div>

Hi, I’m trying to update my app.config file (using app.config.sample), but everytime I update it, then restart the container, the container then wants to reload all of the graph and elevation data. I’ve verified that t…

---

## [Change the "find radius" parameter in ORS Tools QGIS](https://ask.openrouteservice.org/t/change-the-find-radius-parameter-in-ors-tools-qgis/1961)

<div class="topic-metadata">

**Author:** [@gwfami2](https://ask.openrouteservice.org/u/gwfami2)\
**Replies:** 2\
**Last updated:** [July 30, 2020, 9:08pm UTC](https://ask.openrouteservice.org/t/change-the-find-radius-parameter-in-ors-tools-qgis/1961 "2020-07-30T21:08:12Z")

</div>

So once again I don’t know what I’m doing. :thinking: Using the QGIS plugin to get directions from Points 2 Layers, I keep receiving the following error. “Route from Cedar Bluff Reservoir to Okmulgee Creek Site 1 Rese…

---

## [502 Proxy Error again](https://ask.openrouteservice.org/t/502-proxy-error-again/1894)

<div class="topic-metadata">

**Author:** [@gwfami2](https://ask.openrouteservice.org/u/gwfami2)\
**Replies:** 10\
**Last updated:** [July 23, 2020, 11:39am UTC](https://ask.openrouteservice.org/t/502-proxy-error-again/1894 "2020-07-23T11:39:29Z")

</div>

I’m experiencing the dreaded 502 error and I have not been able to get past it regardless of the number of locations. Tried it at all hours of the day in case there was a server overload. Even tried it using the openro…

---

## [UnboundLocalError: local variable 'response' referenced before assignment](https://ask.openrouteservice.org/t/unboundlocalerror-local-variable-response-referenced-before-assignment/1891)

<div class="topic-metadata">

**Author:** [@gwfami2](https://ask.openrouteservice.org/u/gwfami2)\
**Replies:** 9\
**Last updated:** [July 10, 2020, 5:16pm UTC](https://ask.openrouteservice.org/t/unboundlocalerror-local-variable-response-referenced-before-assignment/1891 "2020-07-10T17:16:06Z")

</div>

Hi, Any ideas? I just attempted to use the ORS Tools in QGIS and received the following error: Traceback (most recent call last): File “/Users/xxx/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugin…

---

## [Correct exception handling with openrouteservice.exceptions](https://ask.openrouteservice.org/t/correct-exception-handling-with-openrouteservice-exceptions/1734)

<div class="topic-metadata">

**Author:** [@aarondlc](https://ask.openrouteservice.org/u/aarondlc)\
**Replies:** 3\
**Last updated:** [May 24, 2020, 2:08pm UTC](https://ask.openrouteservice.org/t/correct-exception-handling-with-openrouteservice-exceptions/1734 "2020-05-24T14:08:53Z")

</div>

Good morning, I’m trying to create a try/except block to catch timeout and api errors, but It doesnt seem to recognize the errors, for example: try: api\_key = 'erersfsdfdsfdsfs' except openrouteservice.exceptions.A…

---

## [Computing routes with common ID](https://ask.openrouteservice.org/t/computing-routes-with-common-id/1537)

<div class="topic-metadata">

**Author:** [@SimonV](https://ask.openrouteservice.org/u/SimonV)\
**Replies:** 2\
**Last updated:** [April 3, 2020, 7:36am UTC](https://ask.openrouteservice.org/t/computing-routes-with-common-id/1537 "2020-04-03T07:36:32Z")

</div>

Hi, I’m trying to compute the routes between two layers of points. Initially, I had two layers of points that did not have the same number of points (some departure points have several destinations). I was hoping that u…

---

## [Isochrone time range](https://ask.openrouteservice.org/t/isochrone-time-range/250)

<div class="topic-metadata">

**Author:** [@jzamoro](https://ask.openrouteservice.org/u/jzamoro)\
**Replies:** 5\
**Last updated:** [March 26, 2020, 4:16pm UTC](https://ask.openrouteservice.org/t/isochrone-time-range/250 "2020-03-26T16:16:38Z")

</div>

Hi, is there any way to set an isochrone time range higher than 60 min? I get ‘out of range’ warning when I try it. Thanks a lot for your great work, I’m just starting with QGIS and OSMTools, I’m wondered. Best

---

## [Isochrones merge with postcode area](https://ask.openrouteservice.org/t/isochrones-merge-with-postcode-area/1475)

<div class="topic-metadata">

**Author:** [@Roger](https://ask.openrouteservice.org/u/Roger)\
**Replies:** 3\
**Last updated:** [March 19, 2020, 9:31am UTC](https://ask.openrouteservice.org/t/isochrones-merge-with-postcode-area/1475 "2020-03-19T09:31:16Z")

</div>

I’m a newbie in using QGIS and my english isn’t very good, so please excuse the following mistakes :wink: My aim is to know which areacode are selected due to the isochrones. I’ve a project with 300 locations. For each…

---

## [Custom python to access ORS](https://ask.openrouteservice.org/t/custom-python-to-access-ors/1378)

<div class="topic-metadata">

**Author:** [@eddiewilson](https://ask.openrouteservice.org/u/eddiewilson)\
**Replies:** 2\
**Last updated:** [February 21, 2020, 8:24pm UTC](https://ask.openrouteservice.org/t/custom-python-to-access-ors/1378 "2020-02-21T20:24:35Z")

</div>

Are there any examples available of custom pyqgis code to access ORS? I’ve reviewed the python code in Binder but not sure how I could access similar modules in QGIS… Thanks, Eddie

[Previous page](https://ask.openrouteservice.org/c/sdks/10.md?page=1)

[Next page](https://ask.openrouteservice.org/c/sdks/10.md?page=3)
