orbisgis / geoclimate

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

Error with height casting in OSM #995

Closed j3r3m1 closed 2 months ago

j3r3m1 commented 2 months ago

The following building height cannot be casted by GeoClimate (https://www.openstreetmap.org/way/423624459). This is of course fine since the content is a string. We should use a try except before the float parsing in the getHeightRoof function.

j3r3m1 commented 2 months ago

Fixed here: https://github.com/orbisgis/geoclimate/pull/996