Class to help with handling of tile servers used for satellite image background tiles.
More...
#include <geoTiles.h>
|
| GeoTiles (std::string base_url, double width_meters) |
|
double | getWidthM () |
|
std::string | getURL (double xUTM, double yUTM) |
|
std::string | getURL (double X0, double Y0, double X1, double Y1, double res) |
|
std::string | getURL (std::pair< int, int > id) |
|
double | getCenterX (std::pair< int, int > id) |
|
double | getCenterY (std::pair< int, int > id) |
|
std::pair< int, int > | getTileID (double xUTM, double yUTM) |
|
bool | overlapsBox (std::pair< int, int > id, double xUTM0, double yUTM0, double xUTM1, double yUTM1) |
|
void | getVisibleRange (double xUTM0, double yUTM0, double xUTM1, double yUTM1, int &imin, int &jmin, int &imax, int &jmax) |
|
std::string | getPlotID (std::pair< int, int > id) |
|
|
bool | overlaps (double a0, double a1, double b0, double b1) |
|
Class to help with handling of tile servers used for satellite image background tiles.
◆ GeoTiles()
adore::PLOT::GeoTiles::GeoTiles |
( |
std::string |
base_url, |
|
|
double |
width_meters |
|
) |
| |
|
inline |
◆ getCenterX()
double adore::PLOT::GeoTiles::getCenterX |
( |
std::pair< int, int > |
id | ) |
|
|
inline |
◆ getCenterY()
double adore::PLOT::GeoTiles::getCenterY |
( |
std::pair< int, int > |
id | ) |
|
|
inline |
◆ getPlotID()
std::string adore::PLOT::GeoTiles::getPlotID |
( |
std::pair< int, int > |
id | ) |
|
|
inline |
◆ getTileID()
std::pair<int,int> adore::PLOT::GeoTiles::getTileID |
( |
double |
xUTM, |
|
|
double |
yUTM |
|
) |
| |
|
inline |
◆ getURL() [1/3]
std::string adore::PLOT::GeoTiles::getURL |
( |
double |
X0, |
|
|
double |
Y0, |
|
|
double |
X1, |
|
|
double |
Y1, |
|
|
double |
res |
|
) |
| |
|
inline |
◆ getURL() [2/3]
std::string adore::PLOT::GeoTiles::getURL |
( |
double |
xUTM, |
|
|
double |
yUTM |
|
) |
| |
|
inline |
◆ getURL() [3/3]
std::string adore::PLOT::GeoTiles::getURL |
( |
std::pair< int, int > |
id | ) |
|
|
inline |
◆ getVisibleRange()
void adore::PLOT::GeoTiles::getVisibleRange |
( |
double |
xUTM0, |
|
|
double |
yUTM0, |
|
|
double |
xUTM1, |
|
|
double |
yUTM1, |
|
|
int & |
imin, |
|
|
int & |
jmin, |
|
|
int & |
imax, |
|
|
int & |
jmax |
|
) |
| |
|
inline |
◆ getWidthM()
double adore::PLOT::GeoTiles::getWidthM |
( |
| ) |
|
|
inline |
◆ overlaps()
bool adore::PLOT::GeoTiles::overlaps |
( |
double |
a0, |
|
|
double |
a1, |
|
|
double |
b0, |
|
|
double |
b1 |
|
) |
| |
|
inlineprivate |
◆ overlapsBox()
bool adore::PLOT::GeoTiles::overlapsBox |
( |
std::pair< int, int > |
id, |
|
|
double |
xUTM0, |
|
|
double |
yUTM0, |
|
|
double |
xUTM1, |
|
|
double |
yUTM1 |
|
) |
| |
|
inline |
◆ base_url_
std::string adore::PLOT::GeoTiles::base_url_ |
|
private |
◆ width_meters_
double adore::PLOT::GeoTiles::width_meters_ |
|
private |
The documentation for this class was generated from the following file:
- /home/fascar/temp/adore/libadore/libadore/adore/apps/include/adore/apps/if_plotlab/geoTiles.h