Get egid list of houses inside polygon

47 views
Skip to first unread message

Matteo De Sabato

unread,
Jan 6, 2025, 9:54:55 AMJan 6
to GeoAdminCh API
Hi everybody,
I would like to know if there is a way of retrieving the list of all buildings inside a polygon. If possible this  would save us a bit of time and processing time. 

Thank you very much in advance. 

Matteo De Sabato

unread,
Jan 6, 2025, 9:55:53 AMJan 6
to GeoAdminCh API
I might also add that we are talking about a couple of city blocks at most. 

Pascal Barth

unread,
Jan 9, 2025, 9:20:17 AMJan 9
to geoadm...@googlegroups.com
Hi Matteo,

if you mean on map.geo.admin.ch itself, you can select multiple feature by dragging a click while pressing CTRL.


Cheers,
Pascal

On Mon, 6 Jan 2025 at 15:55, Matteo De Sabato <matte...@gmail.com> wrote:
I might also add that we are talking about a couple of city blocks at most. 

--
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/336c8d86-13b7-45cd-be1f-afa642ea8515n%40googlegroups.com.

Pascal Barth

unread,
Jan 9, 2025, 9:24:00 AMJan 9
to geoadm...@googlegroups.com
I forgot to specify how to deal with this request... You can change the geometry param (and eventually the mapExtent param if the geometry is out of it, or use a very big mapExtent for all your requests) to match the area you want to have data (it's a bottom-left, top-right coordinate to describe the box you want). EGID should be returned for each feature then.

matte...@gmail.com

unread,
Jan 9, 2025, 1:49:35 PMJan 9
to geoadm...@googlegroups.com
Thank you so much for your response Pascal.
So in the geometry section I can input this polygon and it should work. That would be splendid. I will test it out tomorrow morning.

Best regards, 
De Sabato Matteo 

Il giorno 9 gen 2025, alle ore 15:24, Pascal Barth <pak....@gmail.com> ha scritto:


You received this message because you are subscribed to a topic in the Google Groups "GeoAdminCh API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/geoadmin-api/Fr2Ke__zEUo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to geoadmin-api...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/geoadmin-api/CAL%2BBOM1tue4fpVpNF6es_hhU8o7Y7LZAfkKApbjxFD%3DezYxXLw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages