ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
basic_map_loading_from_wfs_test.cpp File Reference
#include <iostream>
#include <string>
#include <curl/curl.h>
#include <filesystem>
#include "adore_map/map_downloader.hpp"
#include "adore_map/config.hpp"
#include "helpers.hpp"
Include dependency graph for basic_map_loading_from_wfs_test.cpp:

Functions

int main (int argc, char *argv[])
 Test program to download map data from WFS and save as JSON files. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Test program to download map data from WFS and save as JSON files.

This program initializes a MapDownloader instance, downloads map layer data for reference lines and lane borders, and saves the data as JSON files. It demonstrates both simple and flexible methods for downloading map layer data. The program uses a configuration file to set parameters such as server URL, project name, layer names, and bounding box. A map cache is used to optimize repeated requests.

Returns
int Exit code indicating success or failure
Here is the call graph for this function: