orbisgis / geoclimate

Geospatial processing toolbox for environmental and climate studies
GNU Lesser General Public License v3.0
59 stars 16 forks source link

Sassenage is related to the town hall not to the municipal boundaries #873

Closed balglave closed 10 months ago

balglave commented 10 months ago

When extracting the data for "Sassenage", I only extract the boundary of the town hall, but I would like the municipal boundaries. Do you know where could be the problem ?

j3r3m1 commented 10 months ago

I have tested and indeed it does not work properly. Strange because as far as I know, GeoClimate is using the first result of Nominatim which for Sassenage gives the [boundaries of the commune(https://nominatim.openstreetmap.org/ui/search.html?q=Sassenage).

@ebocher an idea ?

Anyway for now you can make the calculation for a bbox instead of a location name (such as for this bbox: http://bboxfinder.com/#45.178467,5.640192,45.224914,5.721474).

See the corresponding tutorial in the wiki.

balglave commented 10 months ago

I'll do. Thanks !

ebocher commented 10 months ago

It's due to the nominatim output file. The query returns a geojson file with two polygons : one for the adminsitrative area and the other for the town hall geoms

We must filter the polygon with the property type = administrative