wifi measurements have no x and y properties directly, get them from geometry
This commit is contained in:
parent
71359ef3cb
commit
e15d178102
1 changed files with 2 additions and 2 deletions
|
@ -85,8 +85,8 @@ class Locator:
|
|||
pk=space.pk,
|
||||
points=tuple(
|
||||
LocatorPoint(
|
||||
x=measurement.x,
|
||||
y=measurement.x,
|
||||
x=measurement.geometry.x,
|
||||
y=measurement.geometry.y,
|
||||
values=self.convert_scans(measurement.data),
|
||||
)
|
||||
for measurement in space.wifi_measurements.all()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue