Finding location points only in a specific region

45 views
Skip to first unread message

Alexander Becker

unread,
Nov 11, 2022, 12:45:17 AM11/11/22
to GeoAdminCh API
Hi
I want to get all points (lat/long) from a specific layer.
The specific request looks like this:

Problem is, I don't get any points around the " geometry=47.005676832079494%2C8.36179622995881" coordinates. All points are scattered all over switzerland. I just want to get the Wanderwege as a list of coordinates in a specific region. But I can't get the request to work in the way I need it to work.

Or long story short: from a lon lat coordinate, I want all Wanderwege within a X km radius from that point.

Any ideas?
Thanks

David Oesch

unread,
Nov 11, 2022, 4:03:36 AM11/11/22
to geoadm...@googlegroups.com
since the API only returns the first 200 results AFAIK I would download for your use case https://data.geo.admin.ch/browser/index.html#/collections/ch.swisstopo.swisstlm3d and do the query on your side

--
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/d7984da0-4477-46e7-bd0c-1ee6428fad68n%40googlegroups.com.

Alexander Becker

unread,
Nov 27, 2022, 7:02:02 PM11/27/22
to GeoAdminCh API
Thanks, that was exactly the solution.
Reply all
Reply to author
Forward
0 new messages