pysal / momepy

Urban Morphology Measuring Toolkit
https://docs.momepy.org
BSD 3-Clause "New" or "Revised" License
478 stars 58 forks source link

BUG: verify handling of MultiIndex #606

Closed martinfleis closed 3 months ago

martinfleis commented 3 months ago

It seems that when your GeoDataFrame is using MultiIindex, it does affect some parts of momepy and will likely break when using Graph. We should test and verify that it behaves as we want, both here and in libpysal. In some cases, raising may be the best option but if we can support it, it is better. I don't think that there's scope in supporting MultiIndex in Graph so it may need to be checked only in functions that do not use graphs.