![]() |
NDEVR
API Documentation
|
Contains the information for requesting a 2D top-down view of a geographic location to be used with a AerialImage service such as google earth. More...
Public Member Functions | |
| MercatorImageRequest () | |
| Default constructor. | |
| MercatorImageRequest (const ConstPointer< WebMercatorTileService > &service, Bounds< 2, fltp08 > bounds, Vector< 2, uint04 > size, WebMercatorTile::DPI dpi=WebMercatorTile::DPI::e_auto) | |
| Constructs a request from a tile service, geographic bounds, image size, and DPI. | |
| WebMercatorTile::DPI | getDPI () const |
| Returns the effective DPI setting for this request. | |
| WebMercatorTile::Resolution | getResolution () const |
| Returns the tile resolution appropriate for this request. | |
| fltp08 | getScaleFactor () const |
| Returns a scale factor derived from the DPI and resolution settings. | |
| UUID | getUUID () const |
| Computes a UUID that uniquely identifies this request based on its parameters. | |
| void | setBrushToDefault () |
| Resets all feature brush colors to their defaults. | |
Public Attributes | |
| Bounds< 2, fltp08 > | bounds_wgs84 |
| Geographic bounding box in WGS-84 coordinates. | |
| ArialColorTheme | color_theme [cast< uint04 >(ArialFeatureList::e_feature_list_size)] |
| Per-feature color theme array. | |
| WebMercatorTile::DPI | dpi = WebMercatorTile::DPI::e_auto |
| Requested DPI setting. | |
| String | generated_image |
| Path or identifier for the generated composite image. | |
| bool | include_labels = false |
| Whether to include text labels on tiles. | |
| LogPtr | log |
| Log pipe for status and error messages. | |
| UUID | request_id |
| Unique identifier for this request. | |
| ConstPointer< WebMercatorTileService > | service = nullptr |
| The tile service used for this request. | |
| Vector< 2, uint04 > | size |
| Desired output image size in pixels. | |
Contains the information for requesting a 2D top-down view of a geographic location to be used with a AerialImage service such as google earth.
Class: AerialImageRequest
=
Definition at line 194 of file MercatorImageManager.h.
| MercatorImageRequest::MercatorImageRequest | ( | const ConstPointer< WebMercatorTileService > & | service, |
| Bounds< 2, fltp08 > | bounds, | ||
| Vector< 2, uint04 > | size, | ||
| WebMercatorTile::DPI | dpi = WebMercatorTile::DPI::e_auto ) |
Constructs a request from a tile service, geographic bounds, image size, and DPI.
| [in] | service | The tile service to use for generating URLs. |
| [in] | bounds | The WGS-84 geographic bounding box for the request. |
| [in] | size | The desired output image dimensions in pixels. |
| [in] | dpi | The DPI setting (defaults to automatic selection). |
References dpi, WebMercatorTile::e_auto, service, and size.
| WebMercatorTile::DPI MercatorImageRequest::getDPI | ( | ) | const |
Returns the effective DPI setting for this request.
| WebMercatorTile::Resolution MercatorImageRequest::getResolution | ( | ) | const |
Returns the tile resolution appropriate for this request.
| fltp08 MercatorImageRequest::getScaleFactor | ( | ) | const |
Returns a scale factor derived from the DPI and resolution settings.
| UUID MercatorImageRequest::getUUID | ( | ) | const |