96 std::cout<<url<<std::endl;
126 std::vector<std::pair<int,int>> remove;
131 remove.push_back(*it);
135 for(
auto it = remove.begin();it!=remove.end();it++)
144 for(
int i=i0;i<=i1;i++)
146 for(
int j=j0;j<=j1;j++)
148 auto id = std::make_pair(i,j);
155 std::cout<<url<<std::endl;
Class to help with handling of tile servers used for satellite image background tiles.
Definition: geoTiles.h:33
double getCenterY(std::pair< int, int > id)
Definition: geoTiles.h:99
double getWidthM()
Definition: geoTiles.h:48
double getCenterX(std::pair< int, int > id)
Definition: geoTiles.h:95
std::string getURL(double xUTM, double yUTM)
Definition: geoTiles.h:52
void getVisibleRange(double xUTM0, double yUTM0, double xUTM1, double yUTM1, int &imin, int &jmin, int &imax, int &jmax)
Definition: geoTiles.h:115
std::string getPlotID(std::pair< int, int > id)
Definition: geoTiles.h:122
bool overlapsBox(std::pair< int, int > id, double xUTM0, double yUTM0, double xUTM1, double yUTM1)
Definition: geoTiles.h:107
a optimzed plotting application to display satellite images in the background
Definition: plot_satimages.h:32
bool mapImageParamsSet_
Definition: plot_satimages.h:52
adore::PLOT::GeoTiles * geoTiles_
Definition: plot_satimages.h:41
std::set< std::pair< int, int > > visibleTiles_
Definition: plot_satimages.h:42
double X0_
Definition: plot_satimages.h:47
double res_
Definition: plot_satimages.h:51
std::string prefix_
Definition: plot_satimages.h:39
double fov_width_
Definition: plot_satimages.h:43
adore::mad::AReader< adore::env::VehicleMotionState9d > * positionReader_
Definition: plot_satimages.h:34
DLR_TS::PlotLab::AFigureStub * map_figure_
Definition: plot_satimages.h:37
int urlPreset_
Definition: plot_satimages.h:45
double Y1_
Definition: plot_satimages.h:50
double X1_
Definition: plot_satimages.h:49
double fov_height_
Definition: plot_satimages.h:44
void plotPosition(const std::string &name, double gX, double gY)
plotting a vehicle
Definition: plot_satimages.h:118
adore::env::VehicleMotionState9d position_
Definition: plot_satimages.h:38
~PlotSatImages()
Definition: plot_satimages.h:75
double Y0_
Definition: plot_satimages.h:48
void run()
Definition: plot_satimages.h:87
PlotSatImages(DLR_TS::PlotLab::AFigureStub *figure, std::string prefix, const adore::PLOT::GeoTilesConfig geoTiles_config)
Definition: plot_satimages.h:62
DLR_TS::PlotLab::AFigureStub * figure_
Definition: plot_satimages.h:36
void setMapImageParams(double X0, double Y0, double X1, double Y1, double res, DLR_TS::PlotLab::AFigureStub *value)
Definition: plot_satimages.h:79
virtual TVehicleMotionStateReader * getVehicleMotionStateReader()=0
static adore::env::AFactory * get()
Definition: afactory.h:236
virtual void getData(T &value)=0
virtual bool hasUpdate() const =0
Definition: areaofeffectconverter.h:20
Definition: geoTiles_config.h:24
std::string base_url
Definition: geoTiles_config.h:25
double tile_width_meters
Definition: geoTiles_config.h:26
Definition: plot_satimages.h:55
bool visible_
Definition: plot_satimages.h:57
info(bool visible, std::string name)
Definition: plot_satimages.h:58
std::string name_
Definition: plot_satimages.h:56
This struct holds the motion state of the vehicle in 9d.
Definition: vehiclemotionstate9d.h:39
double getX() const
Get the x-coordinate.
Definition: vehiclemotionstate9d.h:54
double getY() const
Get the y-coordinate.
Definition: vehiclemotionstate9d.h:60