Skip to content
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

Please document how to import intersections and query them #280

Open
idksomeusername13 opened this issue Feb 11, 2022 · 0 comments
Open

Comments

@idksomeusername13
Copy link

idksomeusername13 commented Feb 11, 2022

Hello, I am actively trying to import an intersection layer into pelias to query.
Per documentation you can query with
http://10.11.34.81:4000/v1/search?layers=intersection&size=1&text=London

But I get
{"geocoding":{"version":"0.2","attribution":"http://10.11.34.81:4000/attribution","query":{"text":"London","size":1,"private":false,"lang":{"name":"English","iso6391":"en","iso6393":"eng","via":"header","defaulted":false},"querySize":20,"parser":"pelias","parsed_text":{"subject":"London","locality":"London"}},"errors":["'intersection' is an invalid layers parameter. Valid options: coarse,address,street,postalcode,locality,neighbourhood,localadmin,county,region,macrohood,borough,country,dependency"],"engine":{"name":"Pelias","author":"Mapzen","version":"1.0"},"timestamp":1644613839421},"type":"FeatureCollection","features":[]}

Which is reflective of me not having the layer or building it?

Please document a workflow for adding in intersection data and querying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant