I’m running a Pelias instance (localhost:4000) with the default Portland dataset following GitHub - pelias/docker: Run the Pelias geocoder in docker containers, including example projects. and I need to integrate it with my ORS frontend but its giving me a “No address could be found” error in the frontend when I type Portland (geocoding) or right-click in a Portland street and click “What is here?” (reverse geocoding).
I can make the test queries using the browser as suggested in the Pelias repo and it returns the text.
Here follows the snippet of my Gruntfile.js which points to the Pelias service.
// Environment targets
local: {
options: {
dest: "app/js/config.js"
},
constants: {
ENV: {
name: "local",
geocode:
"http://localhost:4000/v1/search",
directions:
"http://localhost:8080/ors/v2/directions",
isochrones:
"http://localhost:3005/ors/isochrones",
matrix:
"http://localhost:3005/ors/matrix",
pois:
"https://api.openrouteservice.org/pois",
shortenlink: "https://api-ssl.bitly.com/v3/shorten",
mapsurfer:
"https://api.openrouteservice.org/mapsurfer/{z}/{x}/{y}.png",
landmarks: "https://landmarks-api.openrouteservice.org/",
fuel: "https://api.openrouteservice.org/fuel"
}
}
},
So what should I do in order to make the Pelias integrated with ORS?
Since it could be a Pelias issue I also posted it in StackExchange https://gis.stackexchange.com/questions/361243/integrating-pelias-with-openrouteservice but got no answers.
Best regards.