Implement geocoding and reverse geocoding with tiger interpolation lines instead of points.

This commit is contained in:
Markus Gail
2016-03-10 16:22:39 +01:00
parent 49d0ce1de4
commit 26e30bf8e1
14 changed files with 450 additions and 76 deletions

View 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