geoadmin / mf-chsdi3

api3.geo.admin.ch source code
https://api3.geo.admin.ch
Other
33 stars 15 forks source link

Search results and more data #2751

Open gjn opened 6 years ago

gjn commented 6 years ago

We currently have feedback regarding search service and the detail field (see api list). We all agree that the detail field should not be published. But when we remove it, we have to have an alternative ready. This is not the case for all origins.

e.g. gazetter and parcel don't have a attached layer with featureID. In this case, we should probably add the desired properties directly as attributes of the results. Or maybe we should do this for all results of the search, so a 2nd roundtrip by clients simply isnt' needed. From interface/API perspective, this might make the most sense.

Thoughts @loicgasser @davidoesch @cedricmoullet ?

davidoesch commented 6 years ago

Don't change the api. The detail field is useful. It allows to check the address regarding its completeness and download the entry. Alternative : wfs It is one user who have feedback: e umzug. And it is rather that eCH standards are not in accordance with each other. Beat is working on it

procrastinatio commented 5 years ago

search based on the sphinxapi is very dated now (7 years). Migration to python3 won't be easy.