Commit graph

23 commits

Author SHA1 Message Date
Alexey Zakharenkov
b9c28019c1 Improve region search by substring 2020-11-20 11:33:40 +03:00
Alexey Zakharenkov
88670681f3 Eliminate code duplication when divide region and preview division 2020-10-29 13:59:46 +03:00
Alexey Zakharenkov
9515aeb17d Distribute auxiliary functions among modules 2020-10-27 20:47:10 +03:00
Alexey Zakharenkov
45c2df80c3 Extract xml-related work into a separate module 2020-10-27 12:26:45 +03:00
Alexey Zakharenkov
e758c7991a Some refactoring due to code review 2020-10-27 09:52:28 +03:00
Alexey Zakharenkov
097e158d69 Handle case when postgis returns NaN for a region area; passing warnings from backend to frontend 2020-10-23 12:51:19 +03:00
Alexey Zakharenkov
9ce510214e Refactoring etc. due to code review 2020-10-23 11:51:16 +03:00
Alexey Zakharenkov
c31a2caf0a SQL formatting 2020-10-23 01:13:45 +03:00
Alexey Zakharenkov
fd2541a36b Some formatting 2020-10-16 19:01:22 +03:00
Alexey Zakharenkov
51d35ef4d4 Fix borders backup and stats 2020-10-16 18:25:54 +03:00
Alexey Zakharenkov
3ea675364f Fix import borders from *.osm file 2020-10-16 12:44:20 +03:00
Alexey Zakharenkov
6ace96c581 Automatic mwm size estimation for countries that are not initially divided 2020-10-16 12:02:00 +03:00
Alexey Zakharenkov
9d7379f3f8 Repair 'Convex hull' operation 2020-10-16 11:23:44 +03:00
Alexey Zakharenkov
d46dca1df1 Repair 'Extract islands' operation; add automatic recalculation of mwm size estimation after some operations 2020-10-16 11:03:54 +03:00
Alexey Zakharenkov
ce461536a4 Show admin_level of parent region in the web interface 2020-10-15 23:57:38 +03:00
Alexey Zakharenkov
3dc6ceada6 Unbind 'Region from point' action from those related to a selected region 2020-10-15 23:23:50 +03:00
Alexey Zakharenkov
4a3942e971 Exclude code about roads that cross borders: it needs 'crossing' and 'points' tables and there are no scripts/instructions how to fill them 2020-10-15 12:16:00 +03:00
Alexey Zakharenkov
580a1ab9ac MWM size prediction model 2020-10-02 12:30:52 +03:00
Alexey Zakharenkov
27c80f9879 Put file paths used by borders_daemon into config 2020-07-28 09:53:04 +03:00
Alexey Zakharenkov
8b50d11604 Allow division a non-administrative border into administrative units, but not in auto-split mode 2020-07-27 21:44:52 +03:00
Alexey Zakharenkov
08518a771c Do not show 'Divide' button in 'divide preview' mode in case of only one subregion/cluster 2020-07-24 14:59:31 +03:00
Alexey Zakharenkov
66a75c1a52 Improve autosplit edge cases: a cluster with 1 subregion now gets its name; a superregion that is split&merged upto itself is now stays as is 2020-07-24 10:48:16 +03:00
Alexey Zakharenkov
2e90ba48e5 Migrated to python3; id-based border identification instead of name-based; store border hierarchy; auto-split by population; docker 2020-07-23 14:01:48 +03:00