Commit Graph

384 Commits

Author SHA1 Message Date
Motiejus Jakštys
ca82f3034f add release.zip 2021-04-24 13:01:39 +03:00
Motiejus Jakštys
34ace29bb4 more visuals 2021-04-24 12:49:37 +03:00
Motiejus Jakštys
250095cdbd add more river examples 2021-04-20 18:21:07 +03:00
Motiejus Jakštys
6ba9fe9566 clean and fix a Makefile typo 2021-04-18 23:39:03 +03:00
Motiejus Jakštys
3903de8baf clean figures too 2021-04-18 23:36:29 +03:00
Motiejus Jakštys
d8d5e2c420 de-confuse inches and centimeters 2021-04-18 23:33:25 +03:00
Motiejus Jakštys
cf72638608 bugfix with scales 2021-04-18 23:31:33 +03:00
Motiejus Jakštys
811a714096 working with clipping/display of rivers 2021-04-18 23:24:15 +03:00
Motiejus Jakštys
802967cfea wip: wm_clip 2021-04-18 20:58:42 +03:00
Motiejus Jakštys
02f08d3a21 working with geometries 2021-04-18 18:11:21 +03:00
Motiejus Jakštys
da06f6e803 fix dimension arithmetic 2021-04-18 16:38:03 +03:00
Motiejus Jakštys
6d4463e7d6 add dbug aides 2021-04-18 16:27:19 +03:00
Motiejus Jakštys
e08e92aeb8 standard margins 2021-04-18 16:15:37 +03:00
Motiejus Jakštys
3db6da7e38 paper sizes 2021-04-18 11:20:36 +03:00
Motiejus Jakštys
8b532b9e85 add some intersections 2021-04-18 09:58:43 +03:00
Motiejus Jakštys
e91294fbaa Add Merkys 2021-04-18 09:55:28 +03:00
Motiejus Jakštys
8b38ad409a do not allocate a tty for docker exec 2021-04-18 09:36:36 +03:00
Motiejus Jakštys
26f1c71552 add rivers.sql
setting fixture up.
2021-04-17 22:00:01 +03:00
Motiejus Jakštys
8d62f68d0e explanations 2021-04-17 20:42:59 +03:00
Motiejus Jakštys
4a80c7ec16 remove previous ASCII art 2021-04-17 20:27:29 +03:00
Motiejus Jakštys
98cf944a0a invisible linestyle 2021-04-17 20:25:42 +03:00
Motiejus Jakštys
8dcaaec604 selfcrossing-1 too 2021-04-17 17:36:32 +03:00
Motiejus Jakštys
4b66f5dcc7 proper cleanup before 'make test' 2021-04-17 17:23:48 +03:00
Motiejus Jakštys
a35a6981f3 wip selfcrossing-1 real visual 2021-04-17 17:19:41 +03:00
Motiejus Jakštys
12bc65ee76 drop table 2021-04-17 17:09:40 +03:00
Motiejus Jakštys
e41e1dfed7 cleaner clean-tables 2021-04-17 17:05:47 +03:00
Motiejus Jakštys
dd9658249f fix extract-and-generate 2021-04-17 16:55:49 +03:00
Motiejus Jakštys
cc82f3d1bb simultaneous unit + integration tests 2021-04-17 16:52:34 +03:00
Motiejus Jakštys
395c52d4f4 more debugging 2021-04-17 13:49:05 +03:00
Motiejus Jakštys
747cb1f427 tests-integration 2021-04-17 11:24:35 +03:00
Motiejus Jakštys
79952c09c9 better estimation 2021-04-16 08:05:17 +03:00
Motiejus Jakštys
5f6a997e29 estimate how long the algo will take 2021-04-16 08:01:54 +03:00
Motiejus Jakštys
661647bf48 construct the polygon only if there are enough points 2021-04-16 07:31:11 +03:00
Motiejus Jakštys
9918ac279f selfcrossing-1-rev does not overlap 2021-04-16 07:28:17 +03:00
Motiejus Jakštys
5d354b9b96 remove some reundant initializations 2021-04-15 18:24:09 +03:00
Motiejus Jakštys
c579fca4da Revert "remove redundant initializations"
This reverts commit 56c5cd10d7.
2021-04-15 18:22:49 +03:00
Motiejus Jakštys
56c5cd10d7 remove redundant initializations 2021-04-15 18:21:29 +03:00
Motiejus Jakštys
088146d536 shorten tests a little 2021-04-15 17:28:26 +03:00
Motiejus Jakštys
e9674e350e less variable declarations 2021-04-15 17:12:43 +03:00
Motiejus Jakštys
88f6b66f26 quit earlier after mutating a bend 2021-04-15 17:12:23 +03:00
Motiejus Jakštys
7502471808 remove redundant commentary 2021-04-15 17:06:58 +03:00
Motiejus Jakštys
962620b49a simplify invoking of ST_SimplifyWM 2021-04-15 17:04:32 +03:00
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