halestudio / hale

(Spatial) data harmonisation with hale»studio (formerly HUMBOLDT Alignment Editor)
143 stars 44 forks source link

Shape-Reader: Do not create a property if its value is null #794

Open JohannaOtt opened 4 years ago

JohannaOtt commented 4 years ago

Version 4.0.0.SNAPSHOT Build 640814825

When using a Shapefile as source schema and importing source data, the view in the SchemaExplorer indicates that there are values for all attributes for all objecs in the dataset (according to numbers in brackets). But when checking the data in the source data view, for some objects, some of the attributes are null (and for other objects and other attributes, there are empty strings - the behavior is the same for all of them). That means, currently the Shapefile reader created a property always - independently from if this property has the value null.

It would be helpful if this behavior would be changed in a way that the Shapefile reader does not create a property if the value is null (instead of creating it with a null value). This would be more aligned to the behavior of the XML reader, where no property is created if a property is not there for an object.

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.