Skip to content
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

Allow writing shapefiles containing null attributes. #43

Merged
merged 5 commits into from
Jun 30, 2024

Conversation

KubaSzostak
Copy link
Member

This change allow writing shapefiles containing null attributes. However, it doesn't work when all features have a null value. In this case the field type cannot be detected correctly. To solve this, the AttributesTable needs to be extended to store attribute types along with attribute values, so that AttributesTable.GetType() returns property attribute type instead of default typeof(object).

See also a sample code that demonstrates how to receive attribute type from CLR type.

@KubaSzostak KubaSzostak merged commit 5b8a2ff into develop Jun 30, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant