Commit Graph

17 Commits

Author SHA1 Message Date
Gautier P 7790eb0a32 Add debug logs 2021-02-08 17:08:52 +01:00
Gautier P 9f328259a7 Add INSEE filtering 2021-02-08 17:08:52 +01:00
Gautier P a92db5e8ee Reformat with black (max-line-length=120) 2021-02-08 17:08:52 +01:00
Gautier P 42909bd46f reformat with black 2021-02-08 17:08:52 +01:00
Gautier P fefab6ea36 Update laposte.json 2021-02-07 11:43:53 +01:00
Gautier P 8f0e13fa6d Update docker to use python3 and add docker-compose 2021-01-03 12:18:14 +01:00
Lucas Verney a45eba65c7 Improve cities fuzzy matching
* Convert arabic numerals to roman ones in fuzzy comparison, to ensure
there is no more discrepancies between "Paris 20" and "Paris XX" for
instance. Fix #112 and improve on top of #110.
* Improve handling of opendata postal codes (no more duplicates, better
capitalization).

Note: You should `pip install -r requirements.txt` and rebuild the
database (`python -m flatisfy build-data --config config.json`) after
this commit.

Thanks @nicofrand for building the basic blocks for this!
2018-01-19 11:53:27 +01:00
Lucas Verney d482d9b6fa Make CI fail if a test fails + a bit of linting 2018-01-18 14:48:28 +01:00
Lucas Verney da0252974f Fix an import error in Python 3 2018-01-18 13:59:22 +01:00
Lucas Verney 8a74a79ac2 Update doc link in README.md 2017-12-05 15:17:03 +01:00
Lucas Verney aa0e1fd965 Use a single common data source for public transports stops
Now makes use of Navitia opendata dumps to cover France. Fixes #65.
2017-12-04 16:14:52 +01:00
Lucas Verney f1df23dc29 Linting 2017-06-20 13:37:54 +02:00
Lucas Verney b7f9427d53 Fix GPS position import of Tcl stations
Tcl stations GPS coordinates are given as `lng, lat` and not `lat, lng`
hence it was not working because the found stations were too far from
the housing post location, as reported by @bnjbvr.

This commit should fix this.
2017-06-19 14:25:02 +02:00
Lucas Verney bdf8a6b8d2 Handle multiple constraints in the config
All the backend part has been rewritten to handle multiple constraints
in the config (== multiple queries).

Also did some linting.

Still to be done: frontend part and doc.
2017-06-16 16:22:02 +02:00
Lucas Verney 12a55e64be Add support for Tcl data
This closes #58.
2017-06-15 15:52:11 +02:00
Lucas Verney 82a88590b6 Rewrite data files management, to make it more modular
This is to prepare for the integration of Tcl data, see #58.
2017-06-15 15:48:16 +02:00
Lucas Verney d7012e3834
Initial commit 2017-04-13 20:03:59 +02:00