mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
Implement geocoding and reverse geocoding with tiger interpolation lines instead of points.
This commit is contained in:
7
mytests/random_points_bbox.py
Normal file
7
mytests/random_points_bbox.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import numpy as np
|
||||
|
||||
def getPoints(num, sw_lng, sw_lat, ne_lng, ne_lat):
|
||||
aResult = np.empty(shape=(num,2))
|
||||
for i in range(0,num):
|
||||
aResult[i] = [np.random.uniform(ne_lng, sw_lng), np.random.uniform(sw_lat, ne_lat)]
|
||||
return aResult
|
||||
Reference in New Issue
Block a user