More fixes
This commit is contained in:
parent
791bc6976b
commit
14a3555cf1
21 changed files with 549 additions and 99 deletions
|
|
@ -16,8 +16,8 @@ def compute_voronoi_regions(
|
|||
if len(points) == 1:
|
||||
return {postcodes[0]: boundary}
|
||||
|
||||
# UPRN coordinates are int64 (BNG grid refs in whole meters).
|
||||
# Convert to float64 so sub-meter jitter isn't truncated.
|
||||
# UPRN coordinates are int64 (BNG grid refs in whole metres).
|
||||
# Convert to float64 so sub-metre jitter isn't truncated.
|
||||
points = points.astype(np.float64)
|
||||
|
||||
# Deduplicate points, keeping one per (location, postcode) pair.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue