Deltares / hydromt_fiat

https://deltares.github.io/hydromt_fiat/latest
GNU General Public License v3.0
5 stars 3 forks source link

Census block groups geometries have same ids #349

Closed panosatha closed 2 months ago

panosatha commented 3 months ago

hydomt_fiat version checks

Reproducible Example

I made a FIAT model for Maryland with the quick build option, and the resulting census block groups geometries had some areas that had the same id: image

Current behaviour

Something must go wrong when makingh the unique ids of the areas.

Desired behaviour

Each census block group should have a unique id.

Task list

Additional context

No response

Santonia27 commented 3 months ago

The issue occurs during the spatial joint of the exposure gdf with the blockgroups as the blockgroups are a lot shorter in length than the exposure gdf. So I guess the closest points are assigned the same GEOID...

I'm not so familiar with the census data but is this GEOID assigned to each building or a small area? And if the latter, then shall we at a suffix to the duplicates?