We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried using the to_geodataframe method for UgridDataset but found two issues:
The lines in question:
xugrid/xugrid/core/dataset_accessor.py
Lines 394 to 403 in b6c4fb5
An idea of implementation:
gdf = gpd.GeoDataFrame( index=grid.to_dataset()[dim].values.astype(str), data=ds[variables].to_dataframe(dim_order=dim_order) if len(variables)>0 else None, geometry=grid.to_shapely(dim), crs = grid.crs, )
The text was updated successfully, but these errors were encountered:
Hi @hboisgon,
The CRS thing has an issue for itself with #138. Allowing to create a GeoDataFrame with only geometry seems reasonable.
Sorry, something went wrong.
30f6ee8
No branches or pull requests
I tried using the to_geodataframe method for UgridDataset but found two issues:
The lines in question:
xugrid/xugrid/core/dataset_accessor.py
Lines 394 to 403 in b6c4fb5
An idea of implementation:
The text was updated successfully, but these errors were encountered: