DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/tools/mapperception/cloud/download_client/README-tool_mapperception_download_client.md
Go to the documentation of this file.
1 # Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_tool_mapperception_download_client MapStream Download Tool
4 @tableofcontents
5 
6 @section dwx_tool_mapperception_download_client_description Description
7 
8 The NVIDIA<sup>&reg;</sup> DriveWorks MapStream Download tool downloads MapStream data from NVIDIA's DRIVE Mapping Cloud.
9 
10 @note SW Release Applicability: This tool is available in <b>NVIDIA DRIVE Software</b> releases.
11 
12 @section dwx_tool_mapperception_download_client_prereqs Prerequisites
13 
14 This tool is available on the x86 Host System, NVIDIA DRIVE<sup>&trade;</sup> OS Linux, and NVIDIA DRIVE<sup>&trade;</sup> OS QNX.
15 
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.
20 
21 To get access to the NVIDIA MappingServices IP address and JWT token, please contact your NVIDIA account representative.
22 
23 @section dwx_tool_mapperception_download_client_usage Running the Tool
24 
25 Run the tool by executing:
26 
27  ./tool_mapperception_download_client --path=[output_folder]
28  --ipaddress=[ip_address]
29  --port=[port]
30  --uuid=[uuid]
31  --type=[type]
32  --layer=[layer]
33  --bounds=[bounds]
34  --token=[token]
35  --secret=[secret]
36  [--config=[config file]]
37 
38 If you have a JSON file containing the non-bracketed parameters, you can also run the tool by executing:
39 
40  ./tool_mapperception_download_client --config=[path to config file]
41 
42 @subsection dwx_tool_mapperception_download_client_params Parameters
43 
44  --path=[path to output folder]
45  Description: Folder path to serialize the MapStream data to.
46 
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]
50 
51  --port=[service port number]
52  Description: Port of NVIDIA's DRIVE Mapping Cloud download service.
53  Example: --port=[50051]
54 
55  --uuid=[uuid]
56  Description: The UUID of the MapStream to be downloaded.
57 
58  --type=[mapstream|map|mapregion]
59  Description: The type of asset to download.
60  Example: '--type=mapstream' or '--type=mapregion'
61 
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.
66 
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]
75 
76  --token=[authorization token]
77  Description: Your authorization token.
78 
79  --secret=[authorization secret]
80  Description: Your authorization secret.
81 
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.
86 
87 @section dwx_tool_mapperception_download_client_example Examples
88 
89 @subsection dwx_tool_mapperception_download_client_withoutconfig Running without the Config File
90 
91  ./tool_mapperception_download_client --path=[output_folder]
92  --ipaddress=[ip_address]
93  --port=[port]
94  --uuid=[uuid]
95  --type=[type]
96  --layer=[layer]
97  --bounds=[bounds]
98  --token=[token]
99  --secret=[secret]
100 
101 @subsection dwx_tool_mapperception_download_client_withconfig Running with the Config File
102 
103  ./tool_mapperception_download_client --config=../tools/maps/tool_mapperception_download_client_config.json