documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Please document how to import intersections and query them

Open idksomeusername13 opened this issue 3 years ago • 0 comments

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.

idksomeusername13 avatar Feb 11 '22 21:02 idksomeusername13