Remove logging the equals comparison, keep the other spatial comparisons
This commit is contained in:
parent
8c65f2c25f
commit
c7be111796
1 changed files with 1 additions and 2 deletions
3
scl.py
3
scl.py
|
@ -415,8 +415,7 @@ with Session(engine) as session:
|
|||
max_event_class = classify_event_size(existing_record.max_num_people)
|
||||
if not shapely.equals(existing_record.outage_geometries, outage_geometries):
|
||||
print(
|
||||
"Geometries modified. Equals: {}, DE-9IM: {}, Within: {}".format(
|
||||
outage_geometries.equals(existing_record.outage_geometries),
|
||||
"Geometries modified, DE-9IM: {}, Within: {}".format(
|
||||
outage_geometries.relate(existing_record.outage_geometries),
|
||||
outage_geometries.within(existing_record.outage_geometries),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue