You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.errors.append(f"Foreign key constraints for edge start nodes failed, _u_id's of unmatched nodes: {unmatched}")
135
+
returnValidationResult(False, self.errors)
136
+
137
+
# Do all node references in _v_id exist in nodes?
138
+
unmatched=node_ids_edges_v-node_ids
139
+
is_valid=len(unmatched) ==0
140
+
ifnotis_valid:
141
+
zip_handler.remove_extracted_files()
142
+
self.errors.append(f"Foreign key constraints for edge end nodes failed, _v_id's of unmatched nodes: {unmatched}")
143
+
returnValidationResult(False, self.errors)
144
+
145
+
# Do all node references in _w_id exist in nodes?
146
+
unmatched=node_ids_zones_w-node_ids
147
+
is_valid=len(unmatched) ==0
148
+
ifnotis_valid:
149
+
zip_handler.remove_extracted_files()
150
+
self.errors.append(f"Foreign key constraints for zone nodes failed, _w_id's of unmatched nodes: {unmatched}")
151
+
returnValidationResult(False, self.errors)
152
+
153
+
# Geometry validation: check geometry type in each file and test if coordinates make a shape that is reasonable geometric shape according to the Simple Feature Access standard
0 commit comments