You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create file geodatabase with ArcGIS Pro (sample gdb is attached to this issue)
Add feature class with at least one column of type float
Open that gdb/layer with fiona
Attached is a simple geodatabase with two feature classes in it. One with a float column and one with a double column. The with_float32 layer does not recognize all columns.
I don't seem to be able to access columns of type
float
from file geodatabases. Layers will be ingested, but the offending columns are dropped.Expected behavior and actual behavior.
Reading a layer from within a file geodatabase:
Expected:
ogrinfo
) correctly read the data.Actual:
float
are declared invalid asfiona
reads them; they are not included in the schema.The
fiona
warning message claims that a data type of(2, 3)
is invalid. The way I read https://github.com/Toblerity/Fiona/blob/main/fiona/gdal.pxi#L228, that maps toOFTReal/OFSTFloat32
. If I've understood that correctly,fiona
is rejecting float32 data types due to there not being a mapping in OGRPropertyGetter for this type.Steps to reproduce the problem.
float
Attached is a simple geodatabase with two feature classes in it. One with a
float
column and one with adouble
column. Thewith_float32
layer does not recognize all columns.A similar feature class, created with
value
column of type double:Operating system
Fiona and GDAL version and provenance
Fiona 1.10.1 installed via PyPi
test.gdb.zip
The text was updated successfully, but these errors were encountered: