Re: Location search webservice: filter by text and Kanton

50 views
Skip to first unread message

Marc Monnerat

unread,
Feb 12, 2019, 5:27:04 AM2/12/19
to geoadmin-api
Hello Fred,

No, this is currently not possible. The closest you may do is using the bbox parameter

e.g. Searching for 'egg' but with a bbox around canton Bern (approx.)


Regards,

Marc

Le lun. 11 févr. 2019 à 16:09, <fred.ba...@gmail.com> a écrit :
Hello,

We're using the swisstopo webservice "https://api3.geo.admin.ch/rest/services/api/SearchServer" for location search and we would like to know if there's a possibility to perform a search with "searchText" only whithin a Kanton or a Bezirk?

Thanks in advance for your answer.

Have a nice day,

Fred

--
You received this message because you are subscribed to the Google Groups "GeoAdmin API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
-- ἡ φύσις οὐδὲν ποιεῖ ἅλματα.

fred.ba...@gmail.com

unread,
Feb 12, 2019, 6:21:41 AM2/12/19
to GeoAdmin API
That what I thought. I'll do it with a BBOX.

Thanks a lot

Fred
Reply all
Reply to author
Forward
0 new messages