Commit graph

  • 360d52b7ac
    Merge pull request #8 from alexey-zakharenkov/improve-sustainability master jbenua 2020-12-30 21:49:18 +03:00
  • 4642948638 Elaborate search endpoint Alexey Zakharenkov 2020-12-30 18:44:18 +03:00
  • d4429c3a86 Fix joining two regions in case when they were the only children of their parent Alexey Zakharenkov 2020-12-30 15:45:41 +03:00
  • ec4d0a67eb Process ^ and $ metasymbols in search string Alexey Zakharenkov 2020-12-30 15:28:21 +03:00
  • 39540b91e0 Fixes after review Alexey Zakharenkov 2020-12-30 14:23:07 +03:00
  • c1ca4c68b1 More robust work with mwm size predictions, including prediction model limitations Alexey Zakharenkov 2020-12-29 12:32:33 +03:00
  • a944aee15c Refactor creation initial country division to utilize other common code Alexey Zakharenkov 2020-12-25 12:33:26 +03:00
  • 273f208e75
    Merge pull request #7 from alexey-zakharenkov/master-az jbenua 2020-12-08 16:08:00 +03:00
  • c4f6a72f62 Resolve conflicts Alexey Zakharenkov 2020-12-08 15:51:06 +03:00
  • aa4149253e Pretty format js and html Alexey Zakharenkov 2020-12-01 12:23:02 +03:00
  • baa77bd3a2 Fix function name Alexey Zakharenkov 2020-11-24 12:08:47 +03:00
  • ee5bb44583 Global rename variables table=>borders_table, config.TABLE=>config.BORDERS_TABLE Alexey Zakharenkov 2020-11-24 11:41:36 +03:00
  • 147188de93 check_write_access decorator to prevent executing server methods when config.READONLY == True Alexey Zakharenkov 2020-11-24 10:58:39 +03:00
  • d769352a51 countries initial levels into separate file Alexey Zakharenkov 2020-11-24 10:44:23 +03:00
  • 955813ed56 Use cursor context manager Alexey Zakharenkov 2020-11-24 10:40:32 +03:00
  • 0de4a5475c Repair and refactor querying small rings Alexey Zakharenkov 2020-11-20 18:54:26 +03:00
  • b9d74cb617 More careful and unified verifying of parameters coming to server methods Alexey Zakharenkov 2020-11-20 15:46:14 +03:00
  • 4fb2652eaf Add description, simplify input processing in tiles2pb.py Alexey Zakharenkov 2020-11-20 11:55:28 +03:00
  • b9c28019c1 Improve region search by substring Alexey Zakharenkov 2020-11-20 11:33:40 +03:00
  • 88670681f3 Eliminate code duplication when divide region and preview division Alexey Zakharenkov 2020-10-29 13:59:46 +03:00
  • 9515aeb17d Distribute auxiliary functions among modules Alexey Zakharenkov 2020-10-27 20:47:10 +03:00
  • 45c2df80c3 Extract xml-related work into a separate module Alexey Zakharenkov 2020-10-27 12:26:45 +03:00
  • e758c7991a Some refactoring due to code review Alexey Zakharenkov 2020-10-27 09:52:28 +03:00
  • 097e158d69 Handle case when postgis returns NaN for a region area; passing warnings from backend to frontend Alexey Zakharenkov 2020-10-23 12:51:19 +03:00
  • 9ce510214e Refactoring etc. due to code review Alexey Zakharenkov 2020-10-23 11:51:16 +03:00
  • c31a2caf0a SQL formatting Alexey Zakharenkov 2020-10-23 01:13:45 +03:00
  • fd2541a36b Some formatting Alexey Zakharenkov 2020-10-16 19:01:22 +03:00
  • 51d35ef4d4 Fix borders backup and stats Alexey Zakharenkov 2020-10-16 18:25:54 +03:00
  • 3ea675364f Fix import borders from *.osm file Alexey Zakharenkov 2020-10-16 12:44:20 +03:00
  • 6ace96c581 Automatic mwm size estimation for countries that are not initially divided Alexey Zakharenkov 2020-10-16 11:59:46 +03:00
  • 9d7379f3f8 Repair 'Convex hull' operation Alexey Zakharenkov 2020-10-16 11:23:44 +03:00
  • d46dca1df1 Repair 'Extract islands' operation; add automatic recalculation of mwm size estimation after some operations Alexey Zakharenkov 2020-10-16 11:03:54 +03:00
  • ce461536a4 Show admin_level of parent region in the web interface Alexey Zakharenkov 2020-10-15 23:57:38 +03:00
  • 3dc6ceada6 Unbind 'Region from point' action from those related to a selected region Alexey Zakharenkov 2020-10-15 23:23:50 +03:00
  • 4a3942e971 Exclude code about roads that cross borders: it needs 'crossing' and 'points' tables and there are no scripts/instructions how to fill them Alexey Zakharenkov 2020-10-13 13:35:02 +03:00
  • 580a1ab9ac MWM size prediction model Alexey Zakharenkov 2020-10-02 12:30:52 +03:00
  • b13e31bff1 Change db structure to use osm_places (not only cities/towns with population) Alexey Zakharenkov 2020-09-25 12:50:57 +03:00
  • 27c80f9879 Put file paths used by borders_daemon into config Alexey Zakharenkov 2020-07-28 09:53:04 +03:00
  • 8b50d11604 Allow division a non-administrative border into administrative units, but not in auto-split mode Alexey Zakharenkov 2020-07-27 21:44:52 +03:00
  • 08518a771c Do not show 'Divide' button in 'divide preview' mode in case of only one subregion/cluster Alexey Zakharenkov 2020-07-24 14:59:31 +03:00
  • 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 Alexey Zakharenkov 2020-07-24 10:48:16 +03:00
  • 2e90ba48e5 Migrated to python3; id-based border identification instead of name-based; store border hierarchy; auto-split by population; docker Alexey Zakharenkov 2020-07-23 14:01:48 +03:00
  • 1df0c2f7ff
    Merge pull request #6 from alexey-zakharenkov/forbid-join-region-with-itself master-zverik Maksim Andrianov 2020-03-18 13:06:04 +03:00
  • c80b6c07f5 Forbid joining a region with itself Alexey Zakharenkov 2020-02-28 17:32:59 +03:00
  • e75ef1a880
    Merge pull request #5 from alexey-zakharenkov/fix-cycle Sergey Yershov 2020-02-27 11:17:05 +03:00
  • 55dbcf8c7a
    Fix lost of the last iteration in cycle alexey-zakharenkov 2020-02-26 13:33:58 +03:00
  • fc376dfa7a Case-insensitive searching Ilya Zverev 2016-02-20 12:12:30 +03:00
  • 402bc4d998 Fix rename field Ilya Zverev 2016-02-11 14:30:15 +03:00
  • 592982b6f3 Revert encodeURI Ilya Zverev 2016-02-10 13:49:56 +03:00
  • 0eb3cd0380 Fix param encoding Ilya Zverev 2016-02-10 13:41:29 +03:00
  • c4f41e4ca2 Encoding URIs, filter by ranks Ilya Zverev 2016-02-10 13:37:06 +03:00
  • 8c9e9f19b3 Search on Enter Ilya Zverev 2016-02-08 15:37:47 +03:00
  • a8e766c403 Fix searching Ilya Zverev 2016-02-08 15:31:57 +03:00
  • f03f45729c Searching Ilya Zverev 2016-02-08 15:16:34 +03:00
  • 3225251039 fix js Ilya Zverev 2015-12-18 20:45:24 +03:00
  • e85cea64f5 Merge pull request #2 from mapsme/cros2 Ilya Zverev 2015-12-18 19:50:17 +03:00
  • 11925978c4 crossing lines as markers Ilya Zverev 2015-12-18 19:49:24 +03:00
  • e5740dcee9 Merge pull request #1 from mapsme/crossings Ilya Zverev 2015-12-14 12:25:43 +03:00
  • 2903b6c3cf Fixes Ilya Zverev 2015-12-14 12:24:11 +03:00
  • 6786a3fbaf Display lines crossing borders Ilya Zverev 2015-12-14 11:59:03 +03:00
  • 034768d3b3 Update leaflet to 0.7.7, remove leaflet.draw Ilya Zverev 2015-12-09 19:49:38 +03:00
  • dd65120f15 Fix some things Ilya Zverev 2015-12-09 19:49:38 +03:00
  • 7e36075887 Fix license Ilya Zverev 2015-11-18 19:02:20 +03:00
  • c9ee09de40 Merge pull request #1 from ldragunov/bad-borders Ilya Zverev 2015-11-12 12:36:05 +03:00
  • 5c492dfada PR fixes. Lev Dragunov 2015-11-11 12:35:54 +03:00
  • f2ecf5a0a7 Add routing points layer to the map. Lev Dragunov 2015-11-09 12:58:30 +03:00
  • 15614a7018 Flask server static files support. Lev Dragunov 2015-11-09 12:57:43 +03:00
  • a2d358ed41 Truncate option for import points script. Lev Dragunov 2015-11-09 12:10:46 +03:00
  • 1a8e92d24d Points support for server. Lev Dragunov 2015-11-06 19:34:54 +03:00
  • 2f68a7cab9 Generator log parsing script. Lev Dragunov 2015-11-06 16:11:32 +03:00
  • 6ac2c9b32e Points table in DDL sql script. Lev Dragunov 2015-11-06 14:11:10 +03:00
  • 7e70c22c0b Added fake parameter to work with the latest josm Ilya Zverev 2015-04-27 18:01:10 +03:00
  • 242ed05d85 update osm_borders.sh for linux Ilya Zverev 2015-03-31 21:13:34 +03:00
  • 399a8d6a90 hstore for osm borders Ilya Zverev 2015-03-31 12:43:24 +03:00
  • 04e97ea12a parametrized coefficients Ilya Zverev 2015-03-31 12:34:07 +03:00
  • 6cae745098 increased josm borders buffer Ilya Zverev 2015-03-27 21:18:29 +03:00
  • 1e6d308293 find border sequence from a drawn line Ilya Zverev 2015-03-27 18:21:48 +03:00
  • e15a2655b5 fixed status file in daemon Ilya Zverev 2015-03-27 18:19:28 +03:00
  • bffa415ca8 regions with less than 50 points Ilya Zverev 2015-03-27 18:14:26 +03:00
  • 5ae6e7589d backup in tables Ilya Zverev 2015-03-27 15:38:54 +03:00
  • 56127ae801 more readonly handlers Ilya Zverev 2015-03-27 14:42:34 +03:00
  • 9e31fc992f better readonly handling, poly download Ilya Zverev 2015-03-27 14:38:01 +03:00
  • 5bb570d7be javascript config Ilya Zverev 2015-03-27 13:10:25 +03:00
  • 85563072fb daemon is optional now Ilya Zverev 2015-03-27 12:57:32 +03:00
  • 263954f4d1 renamed borders scripts and added wsgi Ilya Zverev 2015-03-27 11:40:38 +03:00
  • d29277959c connection to another file Ilya Zverev 2015-03-27 11:36:06 +03:00
  • ade400c610 deletion of backups Ilya Zverev 2015-03-27 11:16:00 +03:00
  • 3a5754868e extended status, started poly export Ilya Zverev 2015-03-27 11:02:48 +03:00
  • f225a07dfe disablable import Ilya Zverev 2015-03-27 11:02:21 +03:00
  • 703146fd87 config in a separate file Ilya Zverev 2015-03-26 11:16:11 +03:00
  • 20cea694ff removed some dependencies, made lxml optional Ilya Zverev 2015-03-26 11:03:36 +03:00
  • 334cbf5a50 sql fixes Ilya Zverev 2015-03-25 21:19:16 +03:00
  • e46fc05076 old borders layer, statistics Ilya Zverev 2015-03-25 16:40:54 +03:00
  • 83f0f6cfe8 removed debug, improved areas sorting, forcing multipolygons for josm Ilya Zverev 2015-03-24 11:39:36 +03:00
  • 488260c733 Bug fixes and backup functionality Ilya Zverev 2015-03-23 17:57:11 +03:00
  • 12861ced7f proper multipolygon support, with fragmented rings Ilya Zverev 2015-03-20 20:47:18 +03:00
  • edc0ae03a0 remade markers, fixed some bugs Ilya Zverev 2015-03-20 17:25:27 +03:00
  • d1163d2fdd tested importing from osm Ilya Zverev 2015-03-19 19:23:36 +03:00
  • 2bf2ada3d5 Tested and fixed chop1 and hull Ilya Zverev 2015-03-19 17:19:39 +03:00
  • 6cc0fe9b09 finished all functions, untested Ilya Zverev 2015-03-19 16:47:33 +03:00