-
Notifications
You must be signed in to change notification settings - Fork 202
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
Schema detection with leading Zeros #1454
Comments
@mayermart thanks for the report and the exemplary reproducer! This is a problem upstream in GDAL. ogrinfo reports the same field type:
If the OGR GML driver doesn't provide some specific options to manage this, can you make a bug report in the GDAL repo and link here? |
Sorry, I was too busy to open a separate issue on the GDAL repository. |
Hello,
When reading data from a WFS (GML), I would expect the schema to return "str:2" for a field containing "01", but it actually returns "int32". Also the value returned by the feature is "1"
Is there an option to suppress the automatic schema detection and use my own schema instead and would it affect the data?
From what I understand in the documentation, a schema is only applied in 'w' mode.
Example:
The text was updated successfully, but these errors were encountered: