Taylor Smock
b7a19df0cc
Correctly count nodes (for addresses)
...
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2020-02-05 19:32:46 -07:00
Taylor Smock
6f1f282605
Don't try to make a directory twice
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 16:21:04 -07:00
Taylor Smock
ac24eb7625
Tags don't know that they are on a branch for CI variables
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 16:18:02 -07:00
Taylor Smock
ddf360f8be
Modify gitlab-ci for more automation
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 16:07:54 -07:00
Taylor Smock
f48c951b59
Mark most tests as experimental
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 15:48:38 -07:00
Taylor Smock
9c839621c3
Fix javadoc issues
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 15:44:10 -07:00
Taylor Smock
c7a913ef0b
Fix warnings from various tools
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 15:35:57 -07:00
Taylor Smock
7e89da6b3f
Improve error output (point at the addresses that cause the issue)
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 15:12:27 -07:00
Taylor Smock
d0b7cc470d
Initial commit for checking street address order
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 14:45:46 -07:00
Taylor Smock
c1bc8ce95f
Add license information and change a static field to public
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 13:31:48 -07:00
Taylor Smock
e1bd79ca9c
Fix an issue where SwingUtilities.invokeAndWait is called in the EDT
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-02-03 10:11:39 -07:00
Taylor Smock
cbde7fb181
Fix some race conditions with EDT threads
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-31 08:03:00 -07:00
Taylor Smock
0c522d932c
Formatting fixes
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-31 08:02:59 -07:00
Taylor Smock
b798cef706
Use new Geometry.filterInsideAnyPolygon (JOSM r15730)
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-31 08:02:59 -07:00
Taylor Smock
9d4e7bdbf1
Initial address checking
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-31 08:02:59 -07:00
Taylor Smock
4666a5cff1
Revert "Ensure that the counter for unique ids is only ever advanced once"
...
This reverts commit 68a81a1e4e
.
2020-01-27 15:45:28 -07:00
Taylor Smock
40c7f3d59d
Fix tests
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-27 11:37:08 -07:00
Taylor Smock
7b26972dfc
Fix issue with external sources
...
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2020-01-23 20:03:33 -07:00
Taylor Smock
b50f85f4ff
Bump old versions
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-23 07:46:22 -07:00
Taylor Smock
68a81a1e4e
Ensure that the counter for unique ids is only ever advanced once
...
This fixes JOSM-18601, if the analysis was correct.
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-23 07:42:49 -07:00
Taylor Smock
582bf0c640
Bump old version
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 15:22:16 -07:00
Taylor Smock
292556f52e
Move node onto way, not way onto node
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 15:01:24 -07:00
Taylor Smock
31c9e4d890
Modify rules for gitlab-ci
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 10:53:52 -07:00
Taylor Smock
842cf1f180
Bump minimum JOSM version due to changing interface
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 09:40:49 -07:00
Taylor Smock
c6576cc8be
Fix some lint issues
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 09:36:17 -07:00
Taylor Smock
17bb7ed85f
Fix warning on Builder (use TestError.Builder instead)
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 09:26:35 -07:00
Taylor Smock
4e8eea63cb
Change when in gitlab-ci
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 09:20:09 -07:00
Taylor Smock
16c06e0bd9
Fix issue where stub end test would throw issues on nodes outside download area.
...
The nodes were pre-existing, which means that they may or may not be
connected to other ways.
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 09:18:16 -07:00
Taylor Smock
ed18321973
Modify ci to use rules
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 08:44:28 -07:00
Taylor Smock
70b624452d
Fix JOSM-18578 -- crash when adding MapWithAI layer multiple times.
...
The test looks at the last errors and warnings from the Logger, since
the issue was not being raised.
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-20 08:44:28 -07:00
Taylor Smock
51dc46d2c1
Revert "Only run layer creation in synchronized block."
...
This reverts commit 17959a4020
.
2020-01-17 08:23:56 -07:00
Taylor Smock
23608a429f
Add test for stub ends
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-17 08:00:54 -07:00
Taylor Smock
9ed527b36a
Checkstyle
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-16 17:15:37 -07:00
Taylor Smock
fdd4ce0b02
Use ChangeCommand to modify ways
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-16 17:03:22 -07:00
Taylor Smock
ee598b4b5e
Bump old versions
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-16 16:36:03 -07:00
Taylor Smock
827c780bef
Fix issue where a way would not be registered as modified when a node is added
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-16 16:36:03 -07:00
Taylor Smock
96ebe5ed98
Fix an NPE when a dupe node is deleted
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-16 10:00:52 -07:00
Taylor Smock
b79de5274f
Ensure that dupe keys aren't kept when nodes aren't merged
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-16 09:28:52 -07:00
Taylor Smock
a4f0f65cd2
Add test for merging addresses/buildings
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 16:59:04 -07:00
Taylor Smock
a2bde9603d
Don't throw warning if the conflation key should be in OSM
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 16:24:18 -07:00
Taylor Smock
d05eca89d8
Add new conflation command to merge address nodes onto buildings
...
Also some conflation commands can be undone without move the object back
to the MapWithAI layer.
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 16:14:42 -07:00
Taylor Smock
41105000c0
Convert conflation keys to just be KEY
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 13:46:02 -07:00
Taylor Smock
cc6aa7e600
Add test for remaining conflation keys
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 13:27:08 -07:00
Taylor Smock
b396b7c1a2
Modify test to use reflection for expected values
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 13:26:42 -07:00
Taylor Smock
1867c78162
Add test for conflation keys, don't autoremove (yet)
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 12:02:13 -07:00
Taylor Smock
2ac3edc1f0
Fix issue with some testing variables and methods
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 11:09:51 -07:00
Taylor Smock
80bd7daa87
Fix an EDT violation
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-15 08:30:46 -07:00
Taylor Smock
39b66da4e2
Ignore highways with non-routing tags
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-13 13:25:01 -07:00
Taylor Smock
49f6ff7527
Fix an issue where OSM servers couldn't be used as a mapwithai server
...
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-13 13:00:29 -07:00
Taylor Smock
4b0a07bb2f
This allows for continuous download of areas
...
Downloading data from OSM will trigger a download of MapWithAI data, if
continous download is enabled (per MapWithAI layer basis, don't
currently want to create another pref key).
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2020-01-13 10:42:53 -07:00