Open ThomasG77 opened 2 years ago
Currently there is no way to get the subtype with gdal-async
- it is a purely cosmetic feature in GDAL anyway - it does not have any real effect on the processing - you still get an integer
Not exactly cosmetic only. My explanation was about the behavior but when converting to PostgreSQL from the source using pure GDAL approach, you get a boolean for type not an integer
When I run
It returns
When I look at code, I see there is an implementation to get subtype
Boolean
https://github.com/OSGeo/gdal/blob/master/apps/ogrinfo.cpp#L410. That's how I getBoolean
forarpente
column in theogrinfo
outputNow in the library, I do the following
It returns
Is there an issue to get subtype boolean, do I miss something?