Wykres commitów

48 Commity (df70ac4d4e83cf0dc9a7c41bfcd465b72114dd3e)

Autor SHA1 Wiadomość Data
Taylor Smock 809c8016a6
Workaround for getting multiple (duplicated) ways from the server due to splitting up the download area into smaller chunks
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-28 11:38:03 -06:00
Taylor Smock 858e7ba8ca
Add mappings for bbox 110.5961125,1.0338971,110.6168029,1.0556834
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-28 08:49:36 -06:00
Taylor Smock 332c18002b
Only add source tags if something was actually added
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-28 07:38:12 -06:00
Taylor Smock e83e363f56
Use actual maximum dimensions that MapWithAI supports
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-28 07:28:38 -06:00
Taylor Smock a81bc7a62b
Fix availability due to change in JSON file
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-24 11:09:22 -06:00
Taylor Smock c5e09b2295
Increase timeouts
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-22 10:06:59 -06:00
Taylor Smock 7b082a7f93
Add mapping for https://github.com/facebookmicrosites/Open-Mapping-At-Facebook/raw/master/data/rapid_releases.geojson
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-22 07:46:52 -06:00
Taylor Smock 894bd44c09
Add an await to a test (to hopefully fix an issue with timeouts)
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-21 16:34:14 -06:00
Taylor Smock 2656173cc3
Add test for merging addresses to buildings
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-21 14:31:28 -06:00
Taylor Smock 4e8d4f929f
Move dupe/conn commands out to make it easier to add new commands
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-18 09:43:54 -06:00
Taylor Smock 0292641b3f
Add preference for merging building/addresses (does nothing right now)
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-17 12:14:44 -06:00
Taylor Smock 014d8cb049
Modify ForkJoinPool creation (hopefully avoiding security issues with Java Web Start) and add test for the Upload hook
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-17 08:26:47 -06:00
Taylor Smock 93246042a9
Add upload hook to add changeset tags
* Also remove default keys from preferences

Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-16 18:21:15 -06:00
Taylor Smock 95614e2e80
Add a wait for Availability tests
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-16 10:53:49 -06:00
Taylor Smock 8641bfc357
Improve threading and popups
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-15 15:56:08 -06:00
Taylor Smock 2ec09724e3
Modify locks on MapWithAILayer such that we don't have to lock/unlock the dataset. Also implement destroyable in the main plugin (for future restartless updates?).
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-15 13:54:06 -06:00
Taylor Smock 34ccc3a7f0
Use wiremock for network tests
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-14 16:56:01 -06:00
Taylor Smock d48ef81aae
Give indications if there may be data available in the region
Update dependencies, slight bump on minimum JOSM version (15229 -> 15233)

Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-14 15:37:54 -06:00
Taylor Smock 43a5995c6d
Mass rename of RapiD -> MapWithAI. Jar name stays the same (for now)
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-11 09:02:38 -06:00
Taylor Smock ceea886400
More work on Remote Control, and a refactor to use more JOSM code
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-10 14:02:53 -06:00
Taylor Smock cec488fb64
Fix issue where dupe node information wasn't deleted
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-07 16:04:14 -06:00
Taylor Smock 89cc8fe53c
Now allow cropping of data from MapWithAI[1]
* Also add method to get arbitrary data from RapiD
	* Decrease size of bboxes sent to server (originally maxed at
10km, now 1km due to some issues, and that is roughly what RapiD uses
(zoom level 16 tiles))

[1] The server backend requires that the crop area have connecting ways
(for roads, not needed for buildings)

Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-07 16:04:14 -06:00
Taylor Smock 2fd298a24c
Add method to get arbitrary data from RapiD
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-07 16:04:13 -06:00
Taylor Smock b8ad1c37f4
Remove a suppress warning annotation and fix the root cause
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-07 16:04:13 -06:00
Taylor Smock d86f126818
Initial work on detecting tasking manager bounds
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-07 16:04:13 -06:00
Taylor Smock 76d5c547b9
Initial work on detecting tasking manager bounds
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-07 16:04:13 -06:00
Taylor Smock 9db795435c
Add test for getting missing primitives
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-03 15:08:00 -06:00
Taylor Smock f1d2e064c6
More checkstyle and error prone fixes
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-03 14:16:52 -06:00
Taylor Smock c9f2201a16
Fix error prone issues and some pmd issues
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-03 12:09:26 -06:00
Taylor Smock d3ea8f2d82
Add tests for plugin initialization and versioning
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-03 10:45:26 -06:00
Taylor Smock 80f1b56a7b
More tests for add primitives
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-02 13:35:03 -06:00
Taylor Smock b87214b7ef
Check for random cases to ensure that they don't break
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-02 11:39:11 -06:00
Taylor Smock 9e0ef154c4
Fix issue with splitting bboxes
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-02 10:57:25 -06:00
Taylor Smock 93f619499c
Create explicit tests for creating connections
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-02 10:57:25 -06:00
Taylor Smock 1e7e2bf0d6
Set a maximum width/height for downloads from the service
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-01 16:32:03 -06:00
Taylor Smock b216200c38
Move commands to a subpackage (and their tests)
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-10-01 14:52:27 -06:00
Taylor Smock 8da3279198
Add undo/redo functionality
* Add various commands
2019-09-30 13:35:01 -06:00
Taylor Smock 42109b4533
Mass edit for formatting
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-09-30 08:15:07 -06:00
Taylor Smock 156004a9bb
Fix broken test (again -- the test areas keep on breaking)
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
2019-09-26 11:09:33 -06:00
Taylor Smock a40ffc10a4
Add methods to set and get preferences
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2019-09-23 19:54:19 -06:00
Taylor Smock 6be54ac3c9
Handle "dupe" nodes from RapiD
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2019-09-22 07:53:38 -06:00
Taylor Smock 35f1166357
Fix an issue with duplicate RapiD URL's being added
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2019-09-22 06:14:13 -06:00
Taylor Smock e03241cc06
Fix code duplication issues
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2019-09-21 07:48:33 -06:00
Taylor Smock 705e9b80ab
Get building data from RapiD
* Also move a method to RapiDDataUtils
	* Also fix Issue #2
	* Remove data from RapiD layer when added to OSM layer

Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2019-09-21 07:14:20 -06:00
Taylor Smock c2fafd48bb
Fix broken test (data was imported) and change a logging.error to logging.debug
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2019-09-20 14:12:40 -06:00
Taylor Smock a1fdeca369
Fix node placement in way issue
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2019-09-19 21:08:15 -06:00
Taylor Smock 55f34dd95c
Add data to data layer (left on RapiD layer for now)
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2019-09-19 20:54:05 -06:00
Taylor Smock f1d5417c67
Initial commit
* gitlab-ci copied from Mapillary and Wikipedia plugins
	* gradle setup information also copied from those plugins

Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
2019-09-14 08:25:04 -06:00