Carla
5c20866277
Merge pull request #216 from CartoDB/mapzen-isolines-reloaded
...
Add mapzen isolines
2016-07-07 09:31:04 +02:00
Rafa de la Torre
f5d51da673
Fix another typo (hello Carla!!)
...
This feature is dedicated to you. Keep rocking.
2016-07-06 20:29:08 +02:00
Rafa de la Torre
9b7a2d491f
Fix bug adapting types passing through plpython
2016-07-06 19:58:04 +02:00
Rafa de la Torre
bcc6bc35d3
Fix None*unit_factor error
...
Also make the code more explicit about what happens when getting cost ==
None.
2016-07-06 19:48:23 +02:00
Rafa de la Torre
99798f2618
Integrate isodistance into SQL API
2016-07-06 19:40:40 +02:00
Rafa de la Torre
230112b7e5
Add calculate_isodistance function
2016-07-06 19:20:21 +02:00
Rafa de la Torre
523eda2cc7
Generalize calculate_isochrone to calculate_isoline
2016-07-06 18:43:09 +02:00
Rafa de la Torre
54221fa671
Add transport mode car
2016-07-06 18:05:51 +02:00
Rafa de la Torre
6d888a7a62
Fix for points getting None cost
...
Sometimes there's no route information for the point in a particular
angle we're interested in. In this case it is better to use more
points/angles and discard the ones we're not interested in.
2016-07-06 18:03:24 +02:00
Rafa de la Torre
075edf0e0d
More precission for earth's radius
2016-07-06 18:01:33 +02:00
Rafa de la Torre
6c4829df01
Small refactor for sanity
2016-07-06 16:05:51 +02:00
Carla Iriberri
7ddb3da60d
Remove useless cost_per_hit line
2016-07-06 15:43:26 +02:00
Carla Iriberri
ff4eb5b348
Mock mapzen matrix config
2016-07-06 14:21:32 +02:00
Rafa de la Torre
2147d190a1
Unit test for the mapzen isolines
2016-07-06 13:19:28 +02:00
Carla Iriberri
a046d3ce97
Add Mapzen Matrix to config and metrics services
2016-07-06 13:19:28 +02:00
Rafa de la Torre
cdcac2dc1f
Fix typo in test case
2016-07-06 13:19:28 +02:00
Rafa de la Torre
eb906fae35
Convert to multipolygon and return isolines
2016-07-06 13:18:54 +02:00
Carla
e9346faf42
Fix bug on exception raise
2016-07-06 12:33:59 +02:00
Rafa de la Torre
6810dc0ff0
Code to glue together pg and python (WIP)
2016-07-05 20:56:15 +02:00
Rafa de la Torre
b78bd05754
Be resilient to None cost estimation
2016-07-05 20:52:41 +02:00
Rafa de la Torre
77cdc3d8ff
Only refine individual solutions when error > TOLERANCE
2016-07-05 18:48:21 +02:00
Rafa de la Torre
2d95601c5a
Fix: max_abs_error should be a scalar
2016-07-05 18:48:21 +02:00
Rafa de la Torre
9a9f35d9c2
Fix silly typos spotted by jgoizueta (WIP)
2016-07-05 18:48:21 +02:00
Rafa de la Torre
9becf1adb4
Iterative part of the algorithm (WIP)
2016-07-05 18:48:21 +02:00
Rafa de la Torre
87413255af
Major rewrite of MapzenIsolines (WIP)
2016-07-05 18:48:21 +02:00
Rafa de la Torre
46971fe96f
Raise error when response not OK
2016-07-05 18:48:21 +02:00
Rafa de la Torre
96199b0d6d
Add example to code doc
2016-07-05 18:48:21 +02:00
Rafa de la Torre
a70560e566
Minimal Mapzen Time-Distance Matrix client
2016-07-05 18:48:21 +02:00
Rafa de la Torre
53fe4ce21d
An attempt to adapt paremetrs (WIP)
2016-07-05 18:48:21 +02:00
Rafa de la Torre
40cacd99dc
Some code trying to pull everything together (WIP)
2016-07-05 18:48:21 +02:00
Mario de Frutos
893b8db374
First stage is calculating the matrix of points
2016-07-05 18:48:21 +02:00
Carla Iriberri
4075e7349b
Add new provider functions in geocode street
2016-07-05 11:53:46 +02:00
Carla Iriberri
6d35cff9c7
Exposes geocoder providers in public geocoder functions
...
Add config function in postgres explicitly to get MapzenGeocoderConfig.
Bump versions for client and server APIs. New MapzenGeocoderConfig
included to be able to use current QuotaServices with non-configured
users.
2016-07-05 11:13:43 +02:00
Rafa de la Torre
9ed059f4cc
Bump server python lib version to 0.6.4 #204
2016-06-14 18:42:29 +02:00
Rafa de la Torre
972970a12d
Use DAY_OF_MONTH_ZERO_PADDED elsewhere #204
2016-06-14 15:25:38 +02:00
Rafa de la Torre
37bcaeada3
Fix test_orgs_should_write_zero_padded_dates (WIP) #204
2016-06-14 13:18:42 +02:00
Rafa de la Torre
25bf9b6372
Add test_orgs_should_write_zero_padded_dates #204
2016-06-14 13:18:34 +02:00
Rafa de la Torre
f76a5cdfcc
Fix test_should_write_zero_padded_dates #204
2016-06-14 10:13:14 +02:00
Rafa de la Torre
e046ca2c4d
Add test_should_write_zero_padded_dates #204
2016-06-14 10:04:17 +02:00
Rafa de la Torre
c9f57259be
Instructions on how to run integration tests #204
2016-06-13 19:05:31 +02:00
Rafa de la Torre
41b9db4144
Update python lib to 0.6.3 #201
2016-06-13 17:21:15 +02:00
Rafa de la Torre
25d42a75e4
test_should_not_request_redis_twice_when_unneeded #201
2016-06-13 15:45:56 +02:00
Rafa de la Torre
f9e9617d6f
test_should_sum_amounts_from_both_key_formats #201
2016-06-13 13:10:07 +02:00
Rafa de la Torre
b0bb60736c
Implement test and fix for that case #201
...
Add test_should_account_for_zero_paddded_keys plus its corresponding fix
for it.
2016-06-13 13:08:35 +02:00
Rafa de la Torre
a2863d7135
Allow for the manipulation of datetime.date.today() #201
2016-06-13 12:57:00 +02:00
Rafa de la Torre
a114f857fd
Add the first test that makes sense #201
2016-06-13 12:21:06 +02:00
Rafa de la Torre
47962c9ccb
Stub tests to be implemented (WIP) #201
2016-06-13 11:33:14 +02:00
Rafa de la Torre
901f5d7b8b
Add a README.md file for dummies like me #201
2016-06-13 11:19:14 +02:00
Rafa de la Torre
c7bcbddaa9
Delete copy/pasted comment from requirements.txt #201
2016-06-13 11:16:49 +02:00
Rafa de la Torre
9ad55a4d53
Update url of pip package
2016-06-10 13:03:09 +02:00