Bug #7946
Fiona/Geopackage: cannot export layers with some fields (date)
Start date:
21/03/2019
Due date:
% Done:
0%
Description
Issue reported by Dorian, as the title says.
Follows technical notes that can be skipped for users:
- Generation of a dataframe from a layer (in models_base_base.Model.get_df) doesn't cast properly some model attributes (column types). It's simple to fix, but this triggers a bug, see below.
- Geopandas is still in development, and there's a bug still open: https://github.com/geopandas/geopandas/issues/196 .
I could probably fix that in the code, but i think it's better waiting for the bug to be fixed.
Associated revisions
Refs #7946: use better types in dataframe returned by model's get_df
Refs #7946: fix issue when getting a dataframe, in a workaround dealing with missing information in a record
History
#1 Updated by Philippe May over 5 years ago
- Description updated (diff)
#2 Updated by Philippe May over 5 years ago
Found that the data types of the dataframe generated from the layers can be set more carefully, and geopandas/fiona can afterwards work OK.
@Dorian: i'll install the fix tomorrow in production.
#3 Updated by Philippe May over 5 years ago
- Status changed from In Progress to Resolved