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
tessellation not recognized as a gpd.GeoDataFrame #284
Comments
Because the thrown error is Maybe not having a coordinate reference system for the GeoDataFrame causes the issue? Might have problems with "interpreting" the geometry. Try One last thought is that maybe you might also need a population column, from the example here. If that is the case, the developers should make it clear when throwing error. |
Still have the same issue, not sure what I should do...
So my geodataframe tessellation is considered to be None even though it clearly is not. The default input for the tessellation parameter is None so I guess the FlowDataFrame class ignores my geodataframe ? |
Hello,
I have an issue creating a FlowDataFrame: my tessellation is not recognized as a gpd.GeoDataFrame.
Here is how I define my tessellation and my flow data:
Then
OD = skmob.FlowDataFrame(data=OD_flows, tessellation=tessellation, tile_id='tile_ID')
raises : "TypeError: tessellation must be a GeoDataFrame with tile_id and geometry."The text was updated successfully, but these errors were encountered: