-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Export layer with Boolean field results in Integer field #57359
Comments
This is not a bug. ESRI Shapefile does not support boolean field type (boolean are converted to integer by QGIS on save). |
@nicogodet MapInfo supports boolean though, and the same happens when exporting to MapInfo |
actually they do (at least DBF supports it. Support for it in ESRI software itself is half convincing). Support added for that in the ESRI Shapefile driver of GDAL 3.9
@meyerlor Could you attacha MapInfo dataset with a boolean field? Ideally both a .mid/.mif and a .tab/.dat/.map |
@rouault sure thing: |
…ype to OGR OFSTBoolean Fixes qgis/QGIS#57359
…ype to OGR OFSTBoolean Fixes qgis/QGIS#57359
…ype to OGR OFSTBoolean Fixes qgis/QGIS#57359
Closing as an upstream (gdal) issue |
What is the bug or the crash?
I refactored a layer, the resulting layer has a field of the type "boolean" - when i export this layer as .shp or MapInfo .tab the boolean field shows up as a Integer field.
Refactored memory layer:
Export options:
Resulting layer:
Steps to reproduce the issue
1.Have a layer with boolean field
2. Export layer
3. Open layer -> boolean field is Integer or String
Versions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Active Python plugins
autoSaver
2.9
lizmap
4.3.11
PluginLoadTimes
4.0.2
processing_saga_nextgen
1.0.0
qfieldsync
v4.9.1
simplesvg
3.0.3
slyr
7.3.0
db_manager
0.1.20
processing
2.12.99
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: