-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StreetProfile shall warn if CRS is geographic #369
Comments
Thanks for the report. I see the same behaviour on my side. Not sure what is causing it though, will need to dig. |
Thanks @martinfleis - I need to work on this library for my uni research as soon as possible. Could you please advise what version of GeoPandas and GDAL is compatible with this library? |
@adhamenaya I figured out the issue. It is not a bug in momepy or any of the dependencies but in your code above. I didn't notice that you commented out What we can do here on the momepy side is to raise a warning if the GeoDataFrame is in geographic CRS as geopandas does with buffer and similar and raise an informative error if the resulting set of perpendicular lines is empty. But those are just user convenience messages, there is no bug to fix. |
@martinfleis Thanks a lot for the clarification, and sorry about my misuse of library functions. |
I'll keep it open to add those warnings. |
Describe the problem
I am following the sample source code on this link: Simplified detection of urban types . And after updating GeoPandas (0.11.0) and GDAL (3.5.0) packages, I started getting this error:
Steps to reproduce
Versions of your packages
GeoPandas=0.11.0
GDAL=3.5.0
momepy=0.5.3
libpysal=4.6.2
osmnx=1.2.1
Your operating system
macOS Monterey 12.4
Additional context
No response
The text was updated successfully, but these errors were encountered: