Commit Graph

131 Commits

Author SHA1 Message Date
5fda46533f bend attrs 2021-05-19 22:57:47 +03:00
77850b352b name all tables to wm_ 2021-05-19 22:57:47 +03:00
56d80516a4 add curvature 2021-05-19 22:57:47 +03:00
f973da1eb5 fix default types 2021-05-19 22:57:47 +03:00
878af3b2b2 less conditionals in bend_attrs 2021-05-19 22:57:47 +03:00
cf109dc454 fix integration tests 2021-05-19 22:57:47 +03:00
41a14a1ded style and comments 2021-05-19 22:57:47 +03:00
dc50ae173e fix the incorrect test 2021-05-19 22:57:47 +03:00
fb4a3eac6d fix bug in tests: detect_bends() works only on lines 2021-05-19 22:57:47 +03:00
e9d1587c8e improve observability 2021-05-19 22:57:47 +03:00
dc0a713f2e rename dbgname to name 2021-05-19 22:57:47 +03:00
fe289aa6ad rename columns 2021-05-19 22:57:46 +03:00
84d77a6102 less reliance on test tables 2021-05-19 22:57:46 +03:00
7a567f1b1a add i to ebendattrs 2021-05-19 22:57:46 +03:00
773bc97759 simplify debugging 2021-05-19 22:57:46 +03:00
a68cebcb4d minor: formatting 2021-05-19 22:57:46 +03:00
7ba61e6a41 it's a report, not an article 2021-05-19 22:57:46 +03:00
eea0509373 pi is a constant 2021-05-19 22:57:46 +03:00
ad28f9755b more 'inflection_angle' to its own function 2021-05-19 22:57:46 +03:00
9006899526 styling 2021-05-19 22:57:46 +03:00
f40407f494 update notes 2021-05-19 22:57:46 +03:00
c5b870b2ae bend_attrs now go to a dedicated type 2021-05-19 22:57:46 +03:00
b28755bbcd integration test demo 2021-05-19 22:57:46 +03:00
0de0a4204e build bend_attrs also for zero-area bendsarea 2021-05-19 22:57:46 +03:00
863b23f2ef calculate adjusted size too 2021-05-19 22:57:46 +03:00
711c050d53 prezentacija 2021-05-19 22:57:46 +03:00
269099d018 agg_rivers works for all rivers 2021-05-19 22:57:46 +03:00
8d4a1c1e60 fix bug in final line merging 2021-05-19 22:57:46 +03:00
5b805bde9c easier debugging 2021-05-19 22:57:46 +03:00
d1380ec907 more logging info 2021-05-19 22:57:46 +03:00
53dd8516c5 log sql statements 2021-05-19 22:57:46 +03:00
39d6cb22c4 drop table used to remove tables with data 2021-05-19 22:57:46 +03:00
b72905989e clean-tables target 2021-05-19 22:57:46 +03:00
8db38ac2a4 debugging goes on 2021-05-19 22:57:46 +03:00
a2ef0a06bd fix dumping of geometries 2021-05-19 22:57:46 +03:00
7a661f4dfa fix simple geometries 2021-05-19 22:57:46 +03:00
e78250df49 more explicit intermediate steps 2021-05-19 22:57:46 +03:00
9d7695bb33 debugging 2021-05-19 22:57:46 +03:00
4b0f214ef9 wip debug 2021-05-19 22:57:46 +03:00
6aa674a82f fix more syntax errors -- nemunas does not throw errors 2021-05-19 22:57:46 +03:00
c3321e5372 wip fix syntax errors 2021-05-19 22:57:46 +03:00
7c6f57a89b wip data import from OSM 2021-05-19 22:57:46 +03:00
e3f3a36e70 wip ST_SimplifyWM 2021-05-19 22:57:46 +03:00
5a076c32d3 return whether self_crossings mutated the bends 2021-05-19 22:57:46 +03:00
3c0fdd03e2 remove unused variable 2021-05-19 22:57:46 +03:00
1deefa4670 add excuses 2021-05-19 22:57:46 +03:00
bb38f52da0 unit tests for self-crossings 2021-05-19 22:57:46 +03:00
5657df8543 bugfix: remove leftover segment 2021-05-19 22:57:46 +03:00
3efef0864d remove incorrect direction approximation rules 2021-05-19 22:57:46 +03:00
dc4b352915 more debug statements 2021-05-19 22:57:46 +03:00
1aab0ac225 formatting 2021-05-19 22:57:46 +03:00
d6f90a3ffb somewhat similar result in one of the test cases 2021-05-19 22:57:45 +03:00
14eaa3a7d7 debugging 2021-05-19 22:57:45 +03:00
06314d77c0 (somewhat) fix index calculation 2021-05-19 22:57:45 +03:00
a37385e0d1 wip demo self-crossing: it's now incorrectly mutating things 2021-05-19 22:57:45 +03:00
87849132d1 more self-crossing and documentation 2021-05-19 22:57:45 +03:00
d66d1ac248 wip self-crossing 2021-05-19 22:57:45 +03:00
942cc4cc50 wip self-crossing 2021-05-19 22:57:45 +03:00
3afa2169c3 wip detecting crossings 2021-05-19 22:57:45 +03:00
d5eb0d7440 syntax shortening 2021-05-19 22:57:45 +03:00
5e47e90370 beginnings of self-crossing 2021-05-19 22:57:45 +03:00
e29761d2ef add some notes about self-line-crossing 2021-05-19 22:57:45 +03:00
2513567857 clean up debugging and test output 2021-05-19 22:57:45 +03:00
8cde484775 remove array_reverse() 2021-05-19 22:57:45 +03:00
a63a6c51a9 fix gentle inflections -- both tests pass 2021-05-19 22:57:45 +03:00
236d0bcbf0 trying to fix fig5 2021-05-19 22:57:45 +03:00
0e23fc0f7b tests for bends vs inflections 2021-05-19 22:57:45 +03:00
02f2ac3e60 add safety check 2021-05-19 22:57:45 +03:00
fab653ee3a inflections now work 2021-05-19 22:57:45 +03:00
87651369c8 debugging inflections 2021-05-19 22:57:45 +03:00
eaedce3976 docs and inflections 2021-05-19 22:57:45 +03:00
e76efda436 fix example inflection-1 2021-05-19 22:57:45 +03:00
198ea6d0e3 gentle inflection of a bend 2021-05-19 22:57:45 +03:00
4c6adcc71e 80 chars 2021-05-19 22:57:45 +03:00
cea1c6eb29 documentation 2021-05-19 22:57:45 +03:00
4e2cfd14ae a line is a full bend now 2021-05-19 22:57:45 +03:00
cc345c703a more elaborate test cases 2021-05-19 22:57:45 +03:00
35d9a5a4f5 bends are arrays now 2021-05-19 22:57:45 +03:00
1224fddcec add fig5 2021-05-19 22:57:45 +03:00
671a680277 unit tests + "last bend" bugfix 2021-05-19 22:57:45 +03:00
5c0f0d5c47 rename files 2021-05-19 22:57:45 +03:00