Commit Graph

442 Commits

Author SHA1 Message Date
Motiejus Jakštys
c0d9a3de7f move section of self_crossing to a separate function 2021-04-15 16:55:47 +03:00
Motiejus Jakštys
4a32d2f7de selfcrossing-1 and selfcrossing-1-rev tests 2021-04-15 15:47:17 +03:00
Motiejus Jakštys
7a7c0ad72b self-crossing bugfix 2021-04-15 14:12:18 +03:00
Motiejus Jakštys
192a19ba28 stop on errors 2021-04-14 20:16:50 +03:00
Motiejus Jakštys
c066b2f28b re-add listings 2021-04-14 20:16:39 +03:00
Motiejus Jakštys
46acc0dc83 average curvature and isolated bend 2021-04-14 20:06:00 +03:00
Motiejus Jakštys
efa34c0fa5 casing 2021-04-14 17:32:00 +03:00
Motiejus Jakštys
d4f4a69a84 sentence structure 2021-04-14 17:29:52 +03:00
Motiejus Jakštys
a45e22854a quotations 2021-04-14 17:28:45 +03:00
Motiejus Jakštys
f5da753322 adjusted size and compactness index 2021-04-14 16:48:11 +03:00
Motiejus Jakštys
4c5d6e6e59 consistency in variable naming 2021-04-14 11:49:52 +03:00
Motiejus Jakštys
6bcbd28cb0 math section 2021-04-14 10:46:56 +03:00
Motiejus Jakštys
5b3acf9aba remove debug statements, back to normal
punt it
2021-04-14 07:34:28 +03:00
Motiejus Jakštys
7a28b8404e wip -- debugging 2021-04-13 20:51:38 +03:00
Motiejus Jakštys
b7208b0692 structure Makefile a bit differently 2021-04-13 15:46:35 +03:00
Motiejus Jakštys
4f91a62520 rename variable names slightly 2021-04-13 15:44:33 +03:00
Motiejus Jakštys
78164469d0 add some evals to Makefile 2021-04-13 15:32:28 +03:00
Motiejus Jakštys
d193f7a0f7 excuses excuses 2021-04-13 10:58:03 +03:00
Motiejus Jakštys
22d048e7fa simpler WHERE clauses 2021-04-13 10:55:13 +03:00
Motiejus Jakštys
2ef3cb89c0 add crossings 2021-04-13 10:36:47 +03:00
Motiejus Jakštys
5d3af7f783 explain self-crossing: 2021-04-13 10:05:52 +03:00
Motiejus Jakštys
3797ad6bb5 visualize self-crossing 2021-04-13 09:53:44 +03:00
Motiejus Jakštys
6dc87fdb30 formatting 2021-04-13 09:20:50 +03:00
Motiejus Jakštys
a523a8829e improve citations 2021-04-13 09:12:06 +03:00
Motiejus Jakštys
8ff422d80b sort by citation order 2021-04-13 08:31:01 +03:00
Motiejus Jakštys
69139d9df9 nicer deg/rad table 2021-04-13 05:20:37 +03:00
Motiejus Jakštys
06d8858a29 degrees and radians 2021-04-13 05:08:32 +03:00
Motiejus Jakštys
dc2e38365c use article 2021-04-13 04:49:27 +03:00
Motiejus Jakštys
720154293a move vars generation to its script 2021-04-13 04:31:29 +03:00
Motiejus Jakštys
684fdc516b generate smallAngle 2021-04-13 04:26:19 +03:00
Motiejus Jakštys
0776551680 gentle inflection is now documented 2021-04-12 20:14:27 +03:00
Motiejus Jakštys
9a9d1e1ad5 wip structure 2021-04-12 19:19:10 +03:00
Motiejus Jakštys
21f8a3de97 text flow 2021-04-12 17:09:01 +03:00
Motiejus Jakštys
43a4130959 more stage clarifications 2021-04-12 16:58:44 +03:00
Motiejus Jakštys
6fe9fe8a82 rename arguments 2021-04-12 14:16:27 +03:00
Motiejus Jakštys
07d7bc3ee0 relative figure width 2021-04-12 14:14:35 +03:00
Motiejus Jakštys
3782c84e87 more visual inflection-1 2021-04-12 14:03:30 +03:00
Motiejus Jakštys
0ee4868059 additional gentle-inflection illustration 2021-04-12 13:33:51 +03:00
Motiejus Jakštys
26f864be54 fix gentle inflections: better visuals 2021-04-12 12:26:22 +03:00
Motiejus Jakštys
0c05bd325f more terminology 2021-04-12 12:22:48 +03:00
Motiejus Jakštys
8c0b95858a definitions 2021-04-12 12:00:17 +03:00
Motiejus Jakštys
2241384a98 fix colors of lines 2021-04-12 10:31:22 +03:00
Motiejus Jakštys
1f74b346b9 improve color scheme for gray polygons 2021-04-12 10:26:30 +03:00
Motiejus Jakštys
65a91a0ceb wip fix gentle inflections 2021-04-12 10:10:39 +03:00
Motiejus Jakštys
17a974dc6f explain gentle inflection at the end of the bend 2021-04-11 20:39:38 +03:00
Motiejus Jakštys
1bf1af56c0 add fig8 2021-04-11 09:34:44 +03:00
Motiejus Jakštys
6134a333c1 add fig8 2021-04-11 09:30:30 +03:00
Motiejus Jakštys
7cb1c7058a layer2img.py cleanup 2021-04-10 19:43:33 +03:00
Motiejus Jakštys
b51952abb5 visualizations 2021-04-10 19:40:04 +03:00
Motiejus Jakštys
3115957aeb less parentheses 2021-04-09 08:23:15 +03:00
Motiejus Jakštys
3515dab508 isolated bends 2021-04-08 16:03:52 +03:00
Motiejus Jakštys
8fb18f0795 edit table name 2021-04-08 15:31:53 +03:00
Motiejus Jakštys
7937aece8b convert to jsonb 2021-04-08 15:19:36 +03:00
Motiejus Jakštys
15eac8ba32 bend_attrs is now a variable 2021-04-06 18:29:25 +03:00
Motiejus Jakštys
d0972307e2 bend attrs 2021-04-06 17:48:25 +03:00
Motiejus Jakštys
0abcd16c99 name all tables to wm_ 2021-04-06 14:34:00 +03:00
Motiejus Jakštys
4f8fc74c0c update extract-and-generate 2021-04-06 09:42:24 +03:00
Motiejus Jakštys
6b77064abf tidy up Makefile 2021-04-06 09:32:26 +03:00
Motiejus Jakštys
acea8cf54d add žeimena and lakaja 2021-04-06 09:06:17 +03:00
Motiejus Jakštys
ac7549f493 add curvature 2021-04-06 07:51:39 +03:00
Motiejus Jakštys
531f69d6d4 fix default types 2021-04-06 07:23:37 +03:00
Motiejus Jakštys
fdc7835535 less conditionals in bend_attrs 2021-04-06 07:16:57 +03:00
Motiejus Jakštys
0d805d1be6 fix integration tests 2021-04-06 07:08:39 +03:00
Motiejus Jakštys
f824c532ab style and comments 2021-04-06 07:02:46 +03:00
Motiejus Jakštys
adf8c481f0 fix the incorrect test 2021-04-05 16:33:06 +03:00
Motiejus Jakštys
1607bfe225 fix bug in tests: detect_bends() works only on lines 2021-04-05 16:18:33 +03:00
Motiejus Jakštys
6cc76b96ef improve observability 2021-04-05 10:05:16 +03:00
Motiejus Jakštys
f81fcc02e9 debugging multilinestrings 2021-04-04 07:56:21 +03:00
Motiejus Jakštys
be8d8db454 rename dbgname to name 2021-04-03 20:08:32 +03:00
Motiejus Jakštys
e3c5cb7b1a rename columns 2021-04-03 19:42:12 +03:00
Motiejus Jakštys
6107a50f62 less reliance on test tables 2021-04-03 19:03:23 +03:00
Motiejus Jakštys
102500ea34 use debug_wm more 2021-04-03 18:20:52 +03:00
Motiejus Jakštys
b4a0e9ed6d add i to ebendattrs 2021-04-03 18:18:34 +03:00
Motiejus Jakštys
f48fdf52ab remove demo_bends1 2021-04-03 17:14:44 +03:00
Motiejus Jakštys
fb6e178fb2 simplify debugging 2021-04-03 13:33:35 +03:00
Motiejus Jakštys
ee1c05cd83 minor: formatting 2021-04-03 12:46:45 +03:00
Motiejus Jakštys
7d0bd5a153 it's a report, not an article 2021-04-03 12:37:59 +03:00
Motiejus Jakštys
0403100d11 pi is a constant 2021-04-03 09:45:35 +03:00
Motiejus Jakštys
7475df5394 more 'inflection_angle' to its own function 2021-04-03 09:40:28 +03:00
Motiejus Jakštys
0c7424ae25 styling 2021-04-03 09:30:10 +03:00
Motiejus Jakštys
38b837d870 update notes 2021-04-03 07:36:24 +03:00
Motiejus Jakštys
912a95dda4 use charter font 2021-04-03 07:08:19 +03:00
Motiejus Jakštys
041746be90 bend_attrs now go to a dedicated type 2021-04-02 19:00:46 +03:00
Motiejus Jakštys
f577eb81ae fix test dependencies 2021-04-02 06:31:47 +03:00
Motiejus Jakštys
f1a50d8b38 update target 'make clean' 2021-04-02 06:27:32 +03:00
Motiejus Jakštys
b898aaeeec rename files 2021-04-02 06:22:10 +03:00
Motiejus Jakštys
b3a88737b9 whitespace 2021-04-01 20:54:20 +03:00
Motiejus Jakštys
b81ff210f4 generate only mj-msc.pdf
mj-msc-all is harder and meaningless
2021-04-01 20:44:22 +03:00
Motiejus Jakštys
56318e1596 first test figure 2021-04-01 19:33:18 +03:00
Motiejus Jakštys
896b4a2714 layer2img.py with arrowplots 2021-04-01 17:27:49 +03:00
Motiejus Jakštys
e681e51b28 explain test suite 2021-04-01 16:24:47 +03:00
Motiejus Jakštys
f91824d1cb add sections 2021-04-01 16:13:29 +03:00
Motiejus Jakštys
e9cc6f7f0a update title 2021-04-01 15:46:34 +03:00
Motiejus Jakštys
296b2db2b1 expand on VW and DP deficiencies 2021-04-01 15:32:16 +03:00
Motiejus Jakštys
12d54955fd text and logo 2021-04-01 09:42:08 +03:00
Motiejus Jakštys
2f22e1135a clarity 2021-03-31 15:30:14 +03:00
Motiejus Jakštys
96f04d225f more robust extract-and-generate 2021-03-31 15:24:34 +03:00
Motiejus Jakštys
ee34e97799 wip report-and-generate 2021-03-31 15:12:42 +03:00
Motiejus Jakštys
1344683602 nicer headers 2021-03-30 17:45:06 +03:00
Motiejus Jakštys
854b1a05e8 dirty? 2021-03-30 17:38:12 +03:00
Motiejus Jakštys
a4dd6f0158 beginning of the paper 2021-03-30 17:37:13 +03:00
Motiejus Jakštys
bf4b5924e6 remove demo 2021-03-29 15:05:21 +03:00
Motiejus Jakštys
9bce5b61a9 integration test demo 2021-03-29 14:57:44 +03:00
Motiejus Jakštys
f3961d8084 updated slide order 2021-03-29 14:46:16 +03:00
Motiejus Jakštys
84a89182e6 nicer Makefile 2021-03-29 06:48:08 +03:00
Motiejus Jakštys
54be85e236 thanks B 2021-03-29 06:43:16 +03:00
Motiejus Jakštys
d78296f9cb ačiū 2021-03-28 13:36:35 +03:00
Motiejus Jakštys
a0cbd6af98 helper target 2021-03-28 13:19:10 +03:00
Motiejus Jakštys
6e281d3262 update slides 2021-03-28 13:18:08 +03:00
Motiejus Jakštys
7c06f822c7 quicker presentation 2021-03-28 12:49:46 +03:00
Motiejus Jakštys
d680b5fddd slides 2021-03-28 12:35:15 +03:00
Motiejus Jakštys
5bbeeb360a build bend_attrs also for zero-area bendsarea 2021-03-28 12:05:50 +03:00
Motiejus Jakštys
c522f9d4f4 calculate adjusted size too 2021-03-28 12:00:48 +03:00
Motiejus Jakštys
84819fee14 prezentacija 2021-03-27 13:01:21 +02:00
Motiejus Jakštys
3c0f222334 agg_rivers works for all rivers 2021-03-25 12:04:29 +02:00
Motiejus Jakštys
e56932395d fix bug in final line merging 2021-03-25 12:01:43 +02:00
Motiejus Jakštys
6e5f66ee6b easier debugging 2021-03-25 11:34:30 +02:00
Motiejus Jakštys
5099c933b2 more logging info 2021-03-25 10:13:58 +02:00
Motiejus Jakštys
f838f0378a log sql statements 2021-03-25 09:57:25 +02:00
Motiejus Jakštys
5788eaf7c1 better tests and cleaning 2021-03-24 17:13:48 +02:00
Motiejus Jakštys
757a42231d demo test with multi-island 2021-03-24 16:58:51 +02:00
Motiejus Jakštys
d77c275474 demo with island 2021-03-24 16:53:56 +02:00
Motiejus Jakštys
73b5d76463 drop table used to remove tables with data 2021-03-24 16:01:12 +02:00
Motiejus Jakštys
25150f1cbd clean-tables target 2021-03-23 18:40:25 +02:00
Motiejus Jakštys
728665e590 debugging goes on 2021-03-23 18:28:36 +02:00
Motiejus Jakštys
9ca2cbd2ec fix dumping of geometries 2021-03-21 17:19:52 +02:00
Motiejus Jakštys
6e502de74b fix simple geometries 2021-03-21 16:55:17 +02:00
Motiejus Jakštys
37a3259965 more explicit intermediate steps 2021-03-21 16:52:31 +02:00
Motiejus Jakštys
e41869b0ca publish postgres only on loopback 2021-03-21 16:19:17 +02:00
Motiejus Jakštys
8a651b2f51 debugging 2021-03-17 11:32:12 +02:00
Motiejus Jakštys
d9c155807d wip debug 2021-03-15 18:58:16 +02:00
Motiejus Jakštys
09f8e01a0e fix more syntax errors -- nemunas does not throw errors 2021-03-13 16:51:48 +02:00
Motiejus Jakštys
53dc925525 wip fix syntax errors 2021-03-13 16:49:01 +02:00
Motiejus Jakštys
bdb08906ba more dynamic source file 2021-03-13 16:46:32 +02:00
Motiejus Jakštys
69bb49f49c aggregate and filter rivers 2021-03-13 16:44:31 +02:00
Motiejus Jakštys
d76584eee7 add Nemunas 2021-03-13 15:57:26 +02:00
Motiejus Jakštys
4b2f8bd65d wip data import from OSM 2021-03-13 15:53:22 +02:00
Motiejus Jakštys
8b8f8c0ec4 wip ST_SimplifyWM 2021-03-11 19:05:15 +02:00
Motiejus Jakštys
82a58a08bd return whether self_crossings mutated the bends 2021-03-11 17:35:11 +02:00
Motiejus Jakštys
4cd7cd0b11 remove unused variable 2021-03-11 09:28:57 +02:00
Motiejus Jakštys
6555de359a add excuses 2021-03-11 09:28:06 +02:00
Motiejus Jakštys
82fc4e4650 add combined self-crossing test 2021-03-11 09:19:27 +02:00
Motiejus Jakštys
fb3b7bc70f more compact examples 2021-03-10 17:38:48 +02:00
Motiejus Jakštys
aeb270925e unit tests for self-crossings 2021-03-10 17:30:17 +02:00
Motiejus Jakštys
26292e9f39 bugfix: remove leftover segment 2021-03-10 16:59:44 +02:00
Motiejus Jakštys
97ce2e6a7f remove incorrect direction approximation rules 2021-03-10 16:35:35 +02:00
Motiejus Jakštys
59ab1822b5 more debug statements 2021-03-10 16:32:50 +02:00
Motiejus Jakštys
44e5352c16 formatting 2021-03-10 15:56:08 +02:00
Motiejus Jakštys
8159124a48 referatui 2021-03-10 15:48:48 +02:00
Motiejus Jakštys
6ff9250831 somewhat similar result in one of the test cases 2021-03-06 15:58:46 +02:00
Motiejus Jakštys
72a87b2749 debugging 2021-03-06 15:37:14 +02:00
Motiejus Jakštys
09e0199abc (somewhat) fix index calculation 2021-03-06 15:21:47 +02:00
Motiejus Jakštys
497735d0b1 wip demo self-crossing: it's now incorrectly mutating things 2021-03-05 17:49:32 +02:00
Motiejus Jakštys
ff777063fb indentation 2021-03-04 18:17:10 +02:00
Motiejus Jakštys
d6e177f9ea more self-crossing and documentation 2021-03-04 18:16:11 +02:00
Motiejus Jakštys
79d72839fe wip self-crossing 2021-03-04 17:59:26 +02:00
Motiejus Jakštys
72f89360f7 wip self-crossing 2021-03-04 14:25:50 +02:00
Motiejus Jakštys
545aff111f wip detecting crossings 2021-03-02 18:34:44 +02:00
Motiejus Jakštys
9a70106e9f syntax shortening 2021-03-02 18:34:42 +02:00
Motiejus Jakštys
f26073151b beginnings of self-crossing 2021-03-02 15:11:10 +02:00
Motiejus Jakštys
28bad3583f more notes 2021-03-01 10:36:55 +02:00
Motiejus Jakštys
b800fd308c add some notes about self-line-crossing 2021-03-01 10:22:40 +02:00
Motiejus Jakštys
485e7b1512 Snap to grid 2021-02-28 16:52:10 +02:00
Motiejus Jakštys
2c1211fd57 fig6 2021-02-28 16:38:30 +02:00
Motiejus Jakštys
c19e8436e1 style 2021-02-28 15:40:13 +02:00
Motiejus Jakštys
273ef3c320 shorten test 2021-02-28 15:36:15 +02:00
Motiejus Jakštys
17f5046ae5 add demo prefix to demo tables 2021-02-28 15:35:03 +02:00
Motiejus Jakštys
35dc0fa584 add indices for visual tables 2021-02-28 15:30:42 +02:00
Motiejus Jakštys
5115599fab simplify unit test structure 2021-02-28 15:15:27 +02:00
Motiejus Jakštys
0232080fb5 clean up debugging and test output 2021-02-26 19:21:20 +02:00
Motiejus Jakštys
58d3068a3b remove array_reverse() 2021-02-26 19:15:39 +02:00
Motiejus Jakštys
2ad4c3ec42 unit tests 2021-02-26 19:05:41 +02:00
Motiejus Jakštys
b97531447c fix gentle inflections -- both tests pass 2021-02-26 18:19:23 +02:00
Motiejus Jakštys
c57e4fde05 trying to fix fig5 2021-02-26 17:31:24 +02:00
Motiejus Jakštys
b9ffddee71 tests for bends vs inflections 2021-02-26 16:21:20 +02:00
Motiejus Jakštys
3286890f52 add safety check 2021-02-26 16:12:45 +02:00
Motiejus Jakštys
c2c883335c inflections now work 2021-02-26 16:10:31 +02:00
Motiejus Jakštys
733c7f409a debugging inflections 2021-02-26 10:41:38 +02:00
Motiejus Jakštys
5cb3f6aea6 docs and inflections 2021-02-26 10:27:40 +02:00
Motiejus Jakštys
07dd8011d3 fix example inflection-1 2021-02-23 18:49:39 +02:00
Motiejus Jakštys
7bef5ba36a gentle inflection of a bend 2021-02-22 08:44:23 +02:00
Motiejus Jakštys
f42354800b 80 chars 2021-02-20 14:32:23 +02:00
Motiejus Jakštys
18a601f204 documentation 2021-02-20 14:23:21 +02:00
Motiejus Jakštys
95baf98c8b a line is a full bend now 2021-02-20 14:10:34 +02:00
Motiejus Jakštys
973c78b0cf more elaborate test cases 2021-02-18 13:51:36 +02:00
Motiejus Jakštys
50a2ebfb1e bends are arrays now 2021-02-18 10:00:14 +02:00
Motiejus Jakštys
8aa51d9304 add fig5 2021-02-18 07:59:24 +02:00
Motiejus Jakštys
54703cb122 unit tests + "last bend" bugfix 2021-02-18 07:08:04 +02:00
Motiejus Jakštys
6660684912 rename files 2021-02-15 11:14:50 +02:00
Motiejus Jakštys
8821490079 Žeimena 2021-02-13 17:34:44 +02:00
Motiejus Jakštys
15aa42afdf bend detection 2021-02-13 17:05:16 +02:00
Motiejus Jakštys
677809e06b IV: finding bends 2021-02-10 00:08:55 +02:00