-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I use this from Pelias API? #27
Comments
Hi @Tukka, if you can see them in elasticsearch then that means the importer is working, so that's good news. One thing I would try first is to filter by source or layer, you should see the If that works for you then it would be helpful to post an example of the request you are sending to |
This was probably fixed by pelias/api#1316, before that the API did not actually know about all the possible source/layer options that might have been brought in by custom importers. Let us know if this is still a problem. |
I´m too having this problem I see the data on the elasticsearch, but when checked on the API with /api/v1/search?text=mystopname&layers=stops I get
|
since pelias/config#127 Pelias will automatically discover all 'layers' and 'sources' from records which exist in elasticsearch. please check that there is a document in your elasticsearch index which has the layer 'stops'. If you're using the Also worth checking all your Pelias code is relatively up-to-date (at least from this year). If you're using the |
This is very helpful :) this is what is showing:
Yeah, I have been working recently with this, using pelias/docker |
Okay then try setting |
The other trick that might be relevant is you have to restart the API if you have imported custom data since it started. It only detects the custom sources and layers on startup.
|
What sorcery is this? it's working!
This was already setted before (even when auto_discover default value is true iirc)
What I don´t understand is that I´m sure I tried with a pelias compose down, pelias compose up before this. Maybe I didn´t do it this time but in a time before, with so much tests... Thanks! |
Hi! I'm able to see the transit stops in Elastic Search but not via Pelias API searches. Are there any instructions or examples of how to use it or what to look for in the API configuration?
For more context, I'm currently researching which of the various GTFS import modules I should deploy, and have yet to find one that works end-to-end.
The text was updated successfully, but these errors were encountered: