how to get address from coordinates

55 views
Skip to first unread message

Hassler Energia

unread,
Jan 9, 2025, 8:53:53 AMJan 9
to GeoAdminCh API
Hi,
is there a possibility to extract the address out of coordinates? The coordinates (spacial reference) are present in WGS84, for example 9.42385, 46.60447.

How can I get the address of this specific point? Do I need to transfer the lat/lon into LV95 odr LV03 first?

2024-12-30 07_12_16-Karten der Schweiz - Schweizerische Eidgenossenschaft - map.geo.admin.ch – Mozil.png

Pascal Barth

unread,
Jan 9, 2025, 9:35:24 AMJan 9
to geoadm...@googlegroups.com
Hi,

You should be able to get this information by requesting the layer ch.swisstopo.amtliches-gebaeudeadressverzeichnis

You can then change the geometry param to match the coordinates you want.
In this request I've used the global LV95 extent expressed in EPSG:4326 in the param mapExtent, it should work in most cases, but if you need something more precise, that's maybe where to look at first.

Cheers,
Pascal


--
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 visit https://groups.google.com/d/msgid/geoadmin-api/31f1f489-7b1f-45d4-bf89-1fbdad0c934bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages