Downloaded the docker version of ors and is now trying it.
It works for most of the apis but I have a a problem with the poi search on a polygon.
It works on the live version, but not on the downloaded version. The only difference is that I have added base_url=‘http://localhost:8080/ors’ to the Client call
All other calls to the downloaded version works well but not this one.
The error I get is http: 4004
Here is the dry run version of the working one:
https://api.openrouteservice.org/pois?
Headers:
{
"headers": {
"User-Agent": "ORSClientPython.v2.2.2",
"Content-type": "application/json",
"Authorization": "5b3ce3597851110001cf6248747f8d823d9246ecaa57f32c7a9ed010"
},
"timeout": 60,
"json": {
"request": "pois",
"filters": {
"category_ids": [
570
],
"category_group_ids": [
100
]
},
"geometry": {
"geojson": {
"coordinates": [
[
[
14.811895866607031,
56.87707082659972
],
[
14.81094587242853,
56.87715082659819
],
[
14.811546054365643,
56.8796508265502
],
[
14.806093961770653,
56.8794291139727
],
[
14.805494143705149,
56.87692911393036
],
[
14.806444149526564,
56.87684911392899
],
[
14.811895866607031,
56.87707082659972
]
]
],
"type": "Polygon"
}
},
"limit": 10,
"sortby": "distance"
}
}
The only difference when I run it in the downloaded ors is the first line which becomes
http://localhost:8080/ors/pois?
What am I doing wrong?
Thanks
Mats