# openpoiservice

**URL:** https://ask.openrouteservice.org/c/pois/11.md

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

---

## [About the openpoiservice category](https://ask.openrouteservice.org/t/about-the-openpoiservice-category/19)

<div class="topic-metadata">

**Author:** [@openrouteservice](https://ask.openrouteservice.org/u/openrouteservice)\
**Replies:** 0

</div>

If you have any questions about openpoiservice, which data is being used or how to use the service please place them here.

---

## [Invalid JSON in post-result of POIS request for restaurants](https://ask.openrouteservice.org/t/invalid-json-in-post-result-of-pois-request-for-restaurants/8074)

<div class="topic-metadata">

**Author:** [@Gerhard\_Rock](https://ask.openrouteservice.org/u/Gerhard_Rock)\
**Replies:** 4\
**Last updated:** [October 14, 2026, 10:40am UTC](https://ask.openrouteservice.org/t/invalid-json-in-post-result-of-pois-request-for-restaurants/8074 "2026-10-14T10:40:56Z")

</div>

When I try to get the restaurants within an rectangle I get the result: error: SyntaxError: Unexpected token ‘N’, …" “bbox”: \[NaN, NaN, "… is not valid JSON at JSON.parse () at XMLHttpRequest.onLoad (http://localhost:42…

---

## [Error 500: Internal Server Error when using POIs API](https://ask.openrouteservice.org/t/error-500-internal-server-error-when-using-pois-api/7838)

<div class="topic-metadata">

**Author:** [@lreyesp](https://ask.openrouteservice.org/u/lreyesp)\
**Replies:** 1\
**Last updated:** [January 8, 2026, 9:56am UTC](https://ask.openrouteservice.org/t/error-500-internal-server-error-when-using-pois-api/7838 "2026-01-08T09:56:01Z")

</div>

Hello, I’m experiencing an issue when attempting to use the POIs API endpoint and would appreciate any assistance. Endpoint: POST https://api.openrouteservice.org/pois Problem: When I make a request to this endpoint…

---

## [Internal Server Error in API Playground and Python Application](https://ask.openrouteservice.org/t/internal-server-error-in-api-playground-and-python-application/7822)

<div class="topic-metadata">

**Author:** [@4jannik1](https://ask.openrouteservice.org/u/4jannik1)\
**Replies:** 3\
**Last updated:** [January 7, 2026, 10:02am UTC](https://ask.openrouteservice.org/t/internal-server-error-in-api-playground-and-python-application/7822 "2026-01-07T10:02:15Z")

</div>

Hey guys, i noticed that my code with custom requests as well as the API Playground with the example execution only returns a code 500 internal server error. I know that i was able to make requests from my application …

---

## [Database fetch error](https://ask.openrouteservice.org/t/database-fetch-error/6530)

<div class="topic-metadata">

**Author:** [@JamppaSuomesta](https://ask.openrouteservice.org/u/JamppaSuomesta)\
**Replies:** 2\
**Last updated:** [September 28, 2024, 4:57pm UTC](https://ask.openrouteservice.org/t/database-fetch-error/6530 "2024-09-28T16:57:19Z")

</div>

\[SQL: SELECT anon\_1.osm\_id AS anon\_1\_osm\_id, anon\_1.osm\_type AS anon\_1\_osm\_type, ST\_Distance(anon\_1.geom, ST\_GeogFromText(%(param\_1)s)) AS "ST\_Distance\_1", ST\_AsBinary(anon\_1.geom) AS anon\_1\_geom, array\_agg(thethingy\_tag…

---

## [Adding more countries to my database](https://ask.openrouteservice.org/t/adding-more-countries-to-my-database/5703)

<div class="topic-metadata">

**Author:** [@MatsGej](https://ask.openrouteservice.org/u/MatsGej)\
**Replies:** 4\
**Last updated:** [July 8, 2024, 8:13pm UTC](https://ask.openrouteservice.org/t/adding-more-countries-to-my-database/5703 "2024-07-08T20:13:52Z")

</div>

I have created the poi database from a number of countries. Now I want to add more countries, but it seems like I cannot do that without regenerating the entire set of countries I have already done. And for each time a n…

---

## [Openpoiservice setup](https://ask.openrouteservice.org/t/openpoiservice-setup/6271)

<div class="topic-metadata">

**Author:** [@JamppaSuomesta](https://ask.openrouteservice.org/u/JamppaSuomesta)\
**Replies:** 1\
**Last updated:** [June 26, 2024, 6:59am UTC](https://ask.openrouteservice.org/t/openpoiservice-setup/6271 "2024-06-26T06:59:23Z")

</div>

Hi! I’m trying to setup POI service of my own, and the poi responds ok to list request, but fails to handle database. Import seems to go OK, but when restarting the service (I’m using docker) and try to preform: cur…

---

## [Continual CALLING status with a Pois request along a LineString](https://ask.openrouteservice.org/t/continual-calling-status-with-a-pois-request-along-a-linestring/6089)

<div class="topic-metadata">

**Author:** [@Pirlouit](https://ask.openrouteservice.org/u/Pirlouit)\
**Replies:** 2\
**Last updated:** [May 10, 2024, 4:23pm UTC](https://ask.openrouteservice.org/t/continual-calling-status-with-a-pois-request-along-a-linestring/6089 "2024-05-10T16:23:54Z")

</div>

Hi, When I try this request : {“request”:“pois”,“geometry”:{“geojson”:{“type”:“LineString”,“coordinates”:\[\[2.7156,48.2707\],\[2.7248,48.2598\]\]},“buffer”:500},“filters”:{“category\_ids”:\[593\]}} I get a CALLING status free…

---

## [What I'm missing now?](https://ask.openrouteservice.org/t/what-im-missing-now/5746)

<div class="topic-metadata">

**Author:** [@JamppaSuomesta](https://ask.openrouteservice.org/u/JamppaSuomesta)\
**Replies:** 11\
**Last updated:** [February 12, 2024, 10:06am UTC](https://ask.openrouteservice.org/t/what-im-missing-now/5746 "2024-02-12T10:06:30Z")

</div>

I try to make my own pelias instance, but I got this when starting up: During handling of the above exception, another exception occurred: helmi 07 12:23:00 serveri pelias\[809474\]: Traceback (most recent call last): he…

---

## [Open Route Service Postman Collection](https://ask.openrouteservice.org/t/open-route-service-postman-collection/5672)

<div class="topic-metadata">

**Author:** [@emrdgrmnci](https://ask.openrouteservice.org/u/emrdgrmnci)\
**Replies:** 1\
**Last updated:** [January 18, 2024, 9:31am UTC](https://ask.openrouteservice.org/t/open-route-service-postman-collection/5672 "2024-01-18T09:31:12Z")

</div>

Hi all, I’m newbie here. I’ve been looking for Postman API collection but couldn’t find any source. Is there any postman collection?

---

## [Use POIS in MIT app inventor](https://ask.openrouteservice.org/t/use-pois-in-mit-app-inventor/5476)

<div class="topic-metadata">

**Author:** [@Om\_Nirmalkar](https://ask.openrouteservice.org/u/Om_Nirmalkar)\
**Replies:** 1\
**Last updated:** [November 17, 2023, 8:44am UTC](https://ask.openrouteservice.org/t/use-pois-in-mit-app-inventor/5476 "2023-11-17T08:44:13Z")

</div>

Yeah so im making an application to find the nearest hospitals from the user location and i am able to do it in python using pois but i also want to integrate the process in mit app inventor can anyone help? please i hav…

---

## [Question about openpoiservice docker compose](https://ask.openrouteservice.org/t/question-about-openpoiservice-docker-compose/5313)

<div class="topic-metadata">

**Author:** [@luke](https://ask.openrouteservice.org/u/luke)\
**Replies:** 4\
**Last updated:** [October 23, 2023, 1:42pm UTC](https://ask.openrouteservice.org/t/question-about-openpoiservice-docker-compose/5313 "2023-10-23T13:42:11Z")

</div>

Hello. Im wondering about the docker compose for the openpoiservice. Everything runs fine in my docker environment. However im wishing to push this to azure container apps and running it there. The problem is the netwo…

---

## [API Error 404 :Could not find routable point](https://ask.openrouteservice.org/t/api-error-404-could-not-find-routable-point/5386)

<div class="topic-metadata">

**Author:** [@SparseAnalytics](https://ask.openrouteservice.org/u/SparseAnalytics)\
**Replies:** 1\
**Last updated:** [October 20, 2023, 11:37am UTC](https://ask.openrouteservice.org/t/api-error-404-could-not-find-routable-point/5386 "2023-10-20T11:37:36Z")

</div>

ApiError: 404 ({‘error’: {‘code’: 2010, ‘message’: ‘Could not find routable point within a radius of 350.0 meters of specified coordinate 0: -22.9676429 30.4596582.; Could not find routable point within a radius of 350.0…

---

## [Making API and INIT listen to external DB](https://ask.openrouteservice.org/t/making-api-and-init-listen-to-external-db/5306)

<div class="topic-metadata">

**Author:** [@luke](https://ask.openrouteservice.org/u/luke)\
**Replies:** 1\
**Last updated:** [October 5, 2023, 2:32pm UTC](https://ask.openrouteservice.org/t/making-api-and-init-listen-to-external-db/5306 "2023-10-05T14:32:17Z")

</div>

Hello! I’m trying to deploy the API and DB seperatly since i’m getting issues with connecting to the DB. How can i customize my application so that it no longer tries to connect to localhost:5432 but rather a URL. Tha…

---

## [POI did not return value - Australia](https://ask.openrouteservice.org/t/poi-did-not-return-value-australia/5271)

<div class="topic-metadata">

**Author:** [@timpeng123](https://ask.openrouteservice.org/u/timpeng123)\
**Replies:** 0\
**Last updated:** [September 20, 2023, 1:39pm UTC](https://ask.openrouteservice.org/t/poi-did-not-return-value-australia/5271 "2023-09-20T13:39:16Z")

</div>

Hi, I am calling POI service API using the following python script: def get\_poi\_data(coordinates, buffer\_size=1500): body = { "request": "pois", "geometry": { "bbox": \[ \[c…

---

## [Getting cuisine in openpoiservice](https://ask.openrouteservice.org/t/getting-cuisine-in-openpoiservice/4994)

<div class="topic-metadata">

**Author:** [@MatsGej](https://ask.openrouteservice.org/u/MatsGej)\
**Replies:** 1\
**Last updated:** [June 26, 2023, 10:01am UTC](https://ask.openrouteservice.org/t/getting-cuisine-in-openpoiservice/4994 "2023-06-26T10:01:55Z")

</div>

Is there a way to get the cuisine for the places in a sustenance poi call?

---

## [Trying to create my own version of openpoiservice](https://ask.openrouteservice.org/t/trying-to-create-my-own-version-of-openpoiservice/4461)

<div class="topic-metadata">

**Author:** [@MatsGej](https://ask.openrouteservice.org/u/MatsGej)\
**Replies:** 5\
**Last updated:** [February 21, 2023, 2:08pm UTC](https://ask.openrouteservice.org/t/trying-to-create-my-own-version-of-openpoiservice/4461 "2023-02-21T14:08:15Z")

</div>

I am trying to follow the description in README. I first tried to create the docker from a windows 11 machine, but it fails to execute the run.sh script I then followed the advice from someone here to do this in my vir…

---

## [Filter by category\_id](https://ask.openrouteservice.org/t/filter-by-category-id/1615)

<div class="topic-metadata">

**Author:** [@t2null](https://ask.openrouteservice.org/u/t2null)\
**Replies:** 8\
**Last updated:** [December 16, 2022, 1:23pm UTC](https://ask.openrouteservice.org/t/filter-by-category-id/1615 "2022-12-16T13:23:09Z")

</div>

The POI example shows how to filter by category\_id, which is an array of Int. How do I know which value to pick to filter for bakeries, for example.

---

## [Docker Setup Error on WSL 2](https://ask.openrouteservice.org/t/docker-setup-error-on-wsl-2/3820)

<div class="topic-metadata">

**Author:** [@rye761](https://ask.openrouteservice.org/u/rye761)\
**Replies:** 2\
**Last updated:** [April 26, 2022, 8:43pm UTC](https://ask.openrouteservice.org/t/docker-setup-error-on-wsl-2/3820 "2022-04-26T20:43:57Z")

</div>

Hi all, I’m trying to get this service running on my local machine in order to be able to query an area larger than 50 km2. This is my first time using docker and I’ve run into a couple of roadblocks. Trying to setup th…

---

## [Ordering by category results in http 500](https://ask.openrouteservice.org/t/ordering-by-category-results-in-http-500/3437)

<div class="topic-metadata">

**Author:** [@Stefan](https://ask.openrouteservice.org/u/Stefan)\
**Replies:** 4\
**Last updated:** [January 18, 2022, 12:25pm UTC](https://ask.openrouteservice.org/t/ordering-by-category-results-in-http-500/3437 "2022-01-18T12:25:22Z")

</div>

Hi, Whenever I try to get a list of POIs, ordered by category, it results in a 500 internal server error. When I use https://api.openrouteservice.org/pois to post the following: {“request”: “pois”,“geometry”: {“geojson…

---

## [Optimization API Maximum speed](https://ask.openrouteservice.org/t/optimization-api-maximum-speed/3013)

<div class="topic-metadata">

**Author:** [@Rand\_Hazem](https://ask.openrouteservice.org/u/Rand_Hazem)\
**Replies:** 1\
**Last updated:** [July 26, 2021, 2:38pm UTC](https://ask.openrouteservice.org/t/optimization-api-maximum-speed/3013 "2021-07-26T14:38:06Z")

</div>

I want to be able to control vehicle speed with optimization API, in the direction API we send maximum\_speed attributes, I tried to send it with vehicle data in optimization, not work, even it is not in the document as …

---

## [Unable to create DB or import data](https://ask.openrouteservice.org/t/unable-to-create-db-or-import-data/1336)

<div class="topic-metadata">

**Author:** [@kshnkvn](https://ask.openrouteservice.org/u/kshnkvn)\
**Replies:** 6\
**Last updated:** [October 13, 2020, 6:53pm UTC](https://ask.openrouteservice.org/t/unable-to-create-db-or-import-data/1336 "2020-10-13T18:53:11Z")

</div>

kshnkvn@kshnkvn-vb:~/openpoiservice$ docker exec -it 9fa3b8a85748 /ops\_venv/bin/python manage.py create-db Traceback (most recent call last): File "/ops\_venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line…

---

## [Slope being taken into account suspiciously wrongly for regular Cycle run isochrones](https://ask.openrouteservice.org/t/slope-being-taken-into-account-suspiciously-wrongly-for-regular-cycle-run-isochrones/2172)

<div class="topic-metadata">

**Author:** [@Olivier](https://ask.openrouteservice.org/u/Olivier)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 4:58pm UTC](https://ask.openrouteservice.org/t/slope-being-taken-into-account-suspiciously-wrongly-for-regular-cycle-run-isochrones/2172 "2020-10-08T16:58:42Z")

</div>

Hello, I applied regular cycle run with isochrones on a well known slope here in Lyon France … result is suspicious, or very optimistic for cycling capacity. the result shape is rather like the one with electrical cycl…

---

## [Is there any POIS data for north America?](https://ask.openrouteservice.org/t/is-there-any-pois-data-for-north-america/2095)

<div class="topic-metadata">

**Author:** [@alanscot](https://ask.openrouteservice.org/u/alanscot)\
**Replies:** 0\
**Last updated:** [September 7, 2020, 9:22pm UTC](https://ask.openrouteservice.org/t/is-there-any-pois-data-for-north-america/2095 "2020-09-07T21:22:32Z")

</div>

I tried this javascript( below) for BBOX 37.997815, -122.53684 and 37.957815, -122.55684 POINT 37.997815, -122.53684 and for Lat and Long switched. (Just north of San Francisco) Although I got a 200 success there w…

---

## [Search along LineString or polygon](https://ask.openrouteservice.org/t/search-along-linestring-or-polygon/1643)

<div class="topic-metadata">

**Author:** [@t2null](https://ask.openrouteservice.org/u/t2null)\
**Replies:** 1\
**Last updated:** [May 1, 2020, 7:10am UTC](https://ask.openrouteservice.org/t/search-along-linestring-or-polygon/1643 "2020-05-01T07:10:45Z")

</div>

I am trying to find POIs along a LineString or within a polygon. My question with regards to the following string: request.httpBody = String("{“request”:“pois”,“geometry”:{“geojson”:{“type”:“LineString”,“coordinates”:\[…

---

## [Area size limit calculation](https://ask.openrouteservice.org/t/area-size-limit-calculation/1573)

<div class="topic-metadata">

**Author:** [@pekarja5](https://ask.openrouteservice.org/u/pekarja5)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 6:11pm UTC](https://ask.openrouteservice.org/t/area-size-limit-calculation/1573 "2020-04-15T18:11:31Z")

</div>

Hey, I have a polygon from isochrones service with an area of 21.55 sq. kilometers. I am trying to get POIs of some types within it using my instance of openpoiservice, but I am unable to get a response, cause it alway…

---

## [Get spacial area of a POI](https://ask.openrouteservice.org/t/get-spacial-area-of-a-poi/1260)

<div class="topic-metadata">

**Author:** [@RSC-1995](https://ask.openrouteservice.org/u/RSC-1995)\
**Replies:** 1\
**Last updated:** [January 17, 2020, 3:15pm UTC](https://ask.openrouteservice.org/t/get-spacial-area-of-a-poi/1260 "2020-01-17T15:15:19Z")

</div>

I was experimenting with openpoiservice as part of a small project i’m working on and part of it contains getting the space a poi takes up. I know that there are programs around than can calculate it from the polygon a t…

---

## [Error\_message: 500](https://ask.openrouteservice.org/t/error-message-500/1047)

<div class="topic-metadata">

**Author:** [@Luis\_Zurutuza](https://ask.openrouteservice.org/u/Luis_Zurutuza)\
**Replies:** 1\
**Last updated:** [November 18, 2019, 9:25am UTC](https://ask.openrouteservice.org/t/error-message-500/1047 "2019-11-18T09:25:50Z")

</div>

Hello! I have my own installation of OpenPOIService as a docker container… I am running Linux Ubuntu Server 18.04. Container at port 5000 is working OK. Also postgresql database is working ok in another container. I ca…

---

## [POI import error message](https://ask.openrouteservice.org/t/poi-import-error-message/485)

<div class="topic-metadata">

**Author:** [@jakob](https://ask.openrouteservice.org/u/jakob)\
**Replies:** 13\
**Last updated:** [October 29, 2019, 1:10pm UTC](https://ask.openrouteservice.org/t/poi-import-error-message/485 "2019-10-29T13:10:48Z")

</div>

Hello there, I’m trying to set up an own instance of OpenPOIService as a docker container following the instructions given in the manual. The only thing I change is to write “concurrent\_workers: 5” at the beginning of t…

---

## [Setting up an own instance of openpoiservice](https://ask.openrouteservice.org/t/setting-up-an-own-instance-of-openpoiservice/242)

<div class="topic-metadata">

**Author:** [@Katzentier](https://ask.openrouteservice.org/u/Katzentier)\
**Replies:** 13\
**Last updated:** [August 27, 2019, 11:58am UTC](https://ask.openrouteservice.org/t/setting-up-an-own-instance-of-openpoiservice/242 "2019-08-27T11:58:02Z")

</div>

Hello there, I’m trying to set up an own instance of OpenPOIService as a docker container following these instructions: At this point I get stuck: docker exec -it container\_name /ops\_venv/bin/python manage.py import…

[Next page](https://ask.openrouteservice.org/c/pois/11.md?page=1)
