move cuke origin to 1,1, add origin tests

This commit is contained in:
Emil Tin
2012-09-27 16:31:09 +02:00
parent bd6f2db1d1
commit f9279a3646
3 changed files with 77 additions and 3 deletions
+2 -1
View File
@@ -14,7 +14,8 @@ DEFAULT_SPEEDPROFILE = 'bicycle'
WAY_SPACING = 100
DEFAULT_GRID_SIZE = 100 #meters
ORIGIN = [0,0]
ORIGIN = [1,1]
def set_grid_size meters
#the constant is calculated (with BigDecimal as: 1.0/(DEG_TO_RAD*EARTH_RADIUS_IN_METERS