Commit Graph

449 Commits

Author SHA1 Message Date
Motiejus Jakštys
2ca08d4f90 fix wm_exaggerate
st_union drops M; use st_collect instead.
2021-05-05 08:30:40 +03:00
Motiejus Jakštys
cf67485d69 wip wm_exaggerate 2021-05-04 22:48:30 +03:00
Motiejus Jakštys
a4e4229627 move size calculation to its own function 2021-05-04 21:54:46 +03:00
Motiejus Jakštys
534a9b9814 wip start wm_exaggeration 2021-05-04 17:16:01 +03:00
Motiejus Jakštys
edf2989857 smaller default half-circle size 2021-05-04 11:48:56 +03:00
Motiejus Jakštys
7a5669ac54 more README 2021-05-04 10:51:17 +03:00
Motiejus Jakštys
0c817f3f57 todo 2021-05-04 10:50:14 +03:00
Motiejus Jakštys
e0663afd7d update TODO section 2021-05-04 10:49:35 +03:00
Motiejus Jakštys
c51aadde8b CI section 2021-05-04 10:49:09 +03:00
Motiejus Jakštys
d58a09c54c more README updates 2021-05-04 10:42:30 +03:00
Motiejus Jakštys
7c8aa61549 update README 2021-05-04 10:36:21 +03:00
Motiejus Jakštys
bfaa73b4ee rename some files, add README 2021-05-04 10:35:27 +03:00
Motiejus Jakštys
7e20617e65 style 2021-05-03 17:19:11 +03:00
Motiejus Jakštys
ce8cb1f0af simpler scale table 2021-05-03 17:18:25 +03:00
Motiejus Jakštys
ffff5ba107 fix bib.bib 2021-05-03 17:03:52 +03:00
Motiejus Jakštys
77aaa97e06 print scales more nicely 2021-05-03 16:57:40 +03:00
Motiejus Jakštys
3c673ca7bf add another popular scale 2021-05-03 16:21:46 +03:00
Motiejus Jakštys
c8f40e1802 use degrees where possible 2021-05-03 15:42:33 +03:00
Motiejus Jakštys
0e5289a44f print dates in iso8601 2021-05-03 15:27:00 +03:00
Motiejus Jakštys
c9e0ebc3e0 add parameter table 2021-05-03 15:14:06 +03:00
Motiejus Jakštys
0184aa2066 elimination unit tests 2021-05-03 10:29:14 +03:00
Motiejus Jakštys
7ef07140e1 indentation 2021-05-02 19:16:19 +03:00
Motiejus Jakštys
69008a26f2 better wm_debug 2021-05-01 16:20:01 +03:00
Motiejus Jakštys
a2ceba3809 wm_elimination tests like on paper now 2021-05-01 15:48:32 +03:00
Motiejus Jakštys
b9d8d23948 wm_elimination bugfixes 2021-05-01 15:47:44 +03:00
Motiejus Jakštys
d71b8dbcc9 retain zero-sized bends 2021-05-01 14:19:03 +03:00
Motiejus Jakštys
d7e9371d3c always order wm_debug by insertion time 2021-05-01 13:26:19 +03:00
Motiejus Jakštys
761f0f5c68 add dbggen everywhere 2021-05-01 11:23:08 +03:00
Motiejus Jakštys
6ca37116ff wm_elimination does not break existing tests 2021-05-01 10:38:30 +03:00
Motiejus Jakštys
4e5056d16d prefix functions and types with wm_ 2021-04-30 15:34:17 +03:00
Motiejus Jakštys
2e5535e0bd wip elimination 2021-04-30 15:26:22 +03:00
Motiejus Jakštys
10d55c4a5b better formulae 2021-04-30 14:30:12 +03:00
Motiejus Jakštys
b680ba630d re-enable integ tests 2021-04-30 10:23:11 +03:00
Motiejus Jakštys
65428aa649 pdf keywords 2021-04-29 23:12:48 +03:00
Motiejus Jakštys
302184be87 automatic "editorial version" when creating the zipfile 2021-04-29 23:08:58 +03:00
Motiejus Jakštys
6ce9b01f94 image captions 2021-04-29 21:43:56 +03:00
Motiejus Jakštys
75a19468ff labeled code listings 2021-04-29 21:40:15 +03:00
Motiejus Jakštys
997bf9583a newpage before listoffigures 2021-04-29 21:34:41 +03:00
Motiejus Jakštys
194d5f260e better abstract 2021-04-29 21:33:44 +03:00
Motiejus Jakštys
dc510ce44a better abstract 2021-04-29 21:03:22 +03:00
Motiejus Jakštys
d2e231b2ac add generated vu.pdf
this happens only once and is smaller (24k vs 12k)
2021-04-29 19:02:54 +03:00
Motiejus Jakštys
81f964b53c add vu.svg 2021-04-29 19:01:53 +03:00
Motiejus Jakštys
22d2819119 consistent small caps 2021-04-29 18:55:43 +03:00
Motiejus Jakštys
1fc0019475 update title page #2 2021-04-29 18:42:39 +03:00
Motiejus Jakštys
17d3f7d98e update title 2021-04-29 18:37:44 +03:00
Motiejus Jakštys
4b465c158f more structure 2021-04-29 18:22:27 +03:00
Motiejus Jakštys
0b650005b5 amalgamation 2021-04-29 18:08:21 +03:00
Motiejus Jakštys
8b6af72d72 problem areas 2021-04-29 16:51:30 +03:00
Motiejus Jakštys
50d0afdef7 use a different quadrant 2021-04-28 19:10:21 +03:00
Motiejus Jakštys
dad53daa80 zoom quadrants 2021-04-28 17:23:26 +03:00
Motiejus Jakštys
6e7b096996 change title 2021-04-28 12:33:30 +03:00
Motiejus Jakštys
a26ae88e86 explain big-O notation better 2021-04-26 11:54:00 +03:00
Motiejus Jakštys
d10a7580f1 fix publisher of landau2000handbuch 2021-04-26 11:47:46 +03:00
Motiejus Jakštys
6c7d127d98 change title 2021-04-26 11:21:36 +03:00
Motiejus Jakštys
33172da873 add "problems" with DP and VW 2021-04-26 10:16:20 +03:00
Motiejus Jakštys
5b355be795 douglas-peucker and visvalingam examples 2021-04-26 10:12:46 +03:00
Motiejus Jakštys
5937f94669 disable red borders around links 2021-04-25 16:18:20 +03:00
Motiejus Jakštys
d8e111b093 bring back proper salvis 2021-04-25 15:53:39 +03:00
Motiejus Jakštys
03ce9fce6d simplify polygon drawing
if it's a polygon, it's always a CMAP.
2021-04-25 12:48:02 +03:00
Motiejus Jakštys
df9ba8592b gentler remove 2021-04-25 11:54:39 +03:00
Motiejus Jakštys
5db62e550f smaller extract-and-generatm 2021-04-25 11:52:59 +03:00
Motiejus Jakštys
fca2e93263 shorten extract-and-generate 2021-04-25 10:16:57 +03:00
Motiejus Jakštys
68f7bb4c06 word count 2021-04-24 23:54:08 +03:00
Motiejus Jakštys
70e3cbcdb6 some text updates 2021-04-24 23:45:03 +03:00
Motiejus Jakštys
a1bbdc19d7 lots of corrections 2021-04-24 17:56:13 +03:00
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