don't update APs when not needed
This commit is contained in:
parent
e29e813b28
commit
4b0b830233
1 changed files with 3 additions and 0 deletions
|
@ -130,6 +130,9 @@ class Command(BaseCommand):
|
||||||
if not result:
|
if not result:
|
||||||
old_result = result
|
old_result = result
|
||||||
result = RangingBeacon(import_tag=import_tag)
|
result = RangingBeacon(import_tag=import_tag)
|
||||||
|
else:
|
||||||
|
if result.space == new_space and distance(unwrap_geom(result.geometry), new_geometry) < 0.03:
|
||||||
|
continue
|
||||||
result.comment = name
|
result.comment = name
|
||||||
result.space = new_space
|
result.space = new_space
|
||||||
result.geometry = new_geometry
|
result.geometry = new_geometry
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue