Class MapRouletteUploadCommand
- java.lang.Object
-
- org.openstreetmap.atlas.utilities.runtime.Command
-
- org.openstreetmap.atlas.geography.atlas.AtlasLoadingCommand
-
- org.openstreetmap.atlas.checks.maproulette.MapRouletteCommand
-
- org.openstreetmap.atlas.checks.maproulette.MapRouletteUploadCommand
-
public class MapRouletteUploadCommand extends MapRouletteCommand
Given a directory of log files created by atlas-checks, upload those files to MapRoulette.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstreetmap.atlas.geography.atlas.AtlasLoadingCommand
org.openstreetmap.atlas.geography.atlas.AtlasLoadingCommand.AcceptableInputFileFilter
-
Nested classes/interfaces inherited from class org.openstreetmap.atlas.utilities.runtime.Command
org.openstreetmap.atlas.utilities.runtime.Command.Flag, org.openstreetmap.atlas.utilities.runtime.Command.Optionality, org.openstreetmap.atlas.utilities.runtime.Command.Switch<T extends java.lang.Object>, org.openstreetmap.atlas.utilities.runtime.Command.SwitchList
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.atlas.checks.maproulette.MapRouletteCommand
OUTPUT_PATH
-
-
Constructor Summary
Constructors Constructor Description MapRouletteUploadCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecute(org.openstreetmap.atlas.utilities.runtime.CommandMap commandMap, MapRouletteConfiguration configuration)java.lang.StringgetCountryDisplayName(java.lang.String countryCode)Returns a comma separated string of country display namesstatic voidmain(java.lang.String[] args)org.openstreetmap.atlas.utilities.runtime.Command.SwitchListswitches()-
Methods inherited from class org.openstreetmap.atlas.checks.maproulette.MapRouletteCommand
addTask, addTask, checkUploadTasks, getClient, getMapRouletteClient, onRun, onRun, uploadTasks
-
Methods inherited from class org.openstreetmap.atlas.geography.atlas.AtlasLoadingCommand
loadAtlas, loadAtlas
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
getCountryDisplayName
public java.lang.String getCountryDisplayName(java.lang.String countryCode)
Returns a comma separated string of country display names- Parameters:
countryCode- - iso3 country code string. Can contain more than one country i.e (USA,MEX)- Returns:
- comma separated String of iso3 country codes
-
switches
public org.openstreetmap.atlas.utilities.runtime.Command.SwitchList switches()
- Overrides:
switchesin classMapRouletteCommand
-
execute
protected void execute(org.openstreetmap.atlas.utilities.runtime.CommandMap commandMap, MapRouletteConfiguration configuration)- Specified by:
executein classMapRouletteCommand
-
-