1 # Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
3 @page dwx_tool_mapperception_download_client MapStream Download Tool
6 @section dwx_tool_mapperception_download_client_description Description
8 The NVIDIA<sup>®</sup> DriveWorks MapStream Download tool downloads MapStream data from NVIDIA's DRIVE Mapping Cloud.
10 @note SW Release Applicability: This tool is available in <b>NVIDIA DRIVE Software</b> releases.
12 @section dwx_tool_mapperception_download_client_prereqs Prerequisites
14 This tool is available on the x86 Host System, NVIDIA DRIVE<sup>™</sup> OS Linux, and NVIDIA DRIVE<sup>™</sup> OS QNX.
16 This tool creates output files that are placed into the current working directory by default. Please ensure the following for your convenience:
17 - Write permissions are enabled for the current working directory.
18 - Include the tools folder in the binary search path of the system.
19 - Execute from your home directory.
21 To get access to the NVIDIA MappingServices IP address and JWT token, please contact your NVIDIA account representative.
23 @section dwx_tool_mapperception_download_client_usage Running the Tool
25 Run the tool by executing:
27 ./tool_mapperception_download_client --path=[output_folder]
28 --ipaddress=[ip_address]
36 [--config=[config file]]
38 If you have a JSON file containing the non-bracketed parameters, you can also run the tool by executing:
40 ./tool_mapperception_download_client --config=[path to config file]
42 @subsection dwx_tool_mapperception_download_client_params Parameters
44 --path=[path to output folder]
45 Description: Folder path to serialize the MapStream data to.
47 --ipaddress=[IP address of service to download from]
48 Description: IP address of NVIDIA's DRIVE Mapping Cloud download service.
49 Example: --ipaddress=[localhost]
51 --port=[service port number]
52 Description: Port of NVIDIA's DRIVE Mapping Cloud download service.
53 Example: --port=[50051]
56 Description: The UUID of the MapStream to be downloaded.
58 --type=[mapstream|map|mapregion]
59 Description: The type of asset to download.
60 Example: '--type=mapstream' or '--type=mapregion'
62 --layer=[layer to download]
63 Description: Specifies which layer to download.
64 If the parameter is empty, all layers are downloaded.
65 If '--type=map' or '--type=mapregion', it specifies the layer to download.
67 --bounds=[<upper_left_lat>,<upper_left_lon>,<lower_right_lat>,<lower_right_lon>]
68 Description: Specifies the bounds for a map query if `--type=mapregion`.
69 This should be a list containing the following in degrees separated by commas:
70 - Upper left latitude (upper_left_lat).
71 - Upper left longitude (upper_left_lon).
72 - Lower right latitude (lower_right_lat).
73 - Lower right longitude (lower_right_lon).
74 Example: --bounds=[13.1, 46.3, 100.4, 147.8]
76 --token=[authorization token]
77 Description: Your authorization token.
79 --secret=[authorization secret]
80 Description: Your authorization secret.
82 --config=[path to config file]
83 Description: If this parameter is present, the program reads the configuration from a
84 JSON file containing the required parameters.
85 All other command line arguments are ignored.
87 @section dwx_tool_mapperception_download_client_example Examples
89 @subsection dwx_tool_mapperception_download_client_withoutconfig Running without the Config File
91 ./tool_mapperception_download_client --path=[output_folder]
92 --ipaddress=[ip_address]
101 @subsection dwx_tool_mapperception_download_client_withconfig Running with the Config File
103 ./tool_mapperception_download_client --config=../tools/maps/tool_mapperception_download_client_config.json