Retrieving "place names" according to a geo position

12 views
Skip to first unread message

Fabien Udriot

unread,
Oct 15, 2021, 3:29:05 AM10/15/21
to GeoAdminCh API
Hello,

I am new to the GeoAdmin API.

For a mobile app, I need to retrieve a "place names" (lieux-dits / Flurname) given a geo position. We can see at the bottom of the article what is exactly meant with "place names" https://www.swisstopo.admin.ch/en/knowledge-facts/toponymie.html

How can I do that?

I didn't find a quick answer reading the REST API docs.

I was imagining giving as input a GPS coordinate and retrieving a "place name" as output. Is it possible?

Thanks for your input.

Fabien

David...@swisstopo.ch

unread,
Oct 18, 2021, 4:30:59 AM10/18/21
to geoadm...@googlegroups.com

this can be done with the search service: http://api.geo.admin.ch/services/sdiservices.html#search , see examples eg Search for locations matching the word “wabern”: https://api3.geo.admin.ch/rest/services/api/SearchServer?searchText=wabern&type=locations

Search for locations of type “parcel” and “district” (the origins): https://api3.geo.admin.ch/rest/services/api/SearchServer?searchText=bern&origins=parcel,district&type=locations  etc

 

------- Weitergeleitete Nachricht ------
Von: Fabien Udriot <fud...@gmail.com>
Datum: Fr. 15. Okt. 2021 um 09:29
Betreff: Retrieving "place names" according to a geo position
An: GeoAdminCh API <geoadm...@googlegroups.com>

--
You received this message because you are subscribed to the Google Groups "GeoAdminCh API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/4c34f012-ba49-4a86-a24a-d63f63e730a8n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages