libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::OSMTile Class Reference

#include <OSMTile.h>

Static Public Member Functions

static uint32_t lat2tiley (double lat, uint32_t z)
 
static uint32_t lon2tilex (double lon, uint32_t z)
 
static double maxLat ()
 
static double maxLon ()
 
static double minLat ()
 
static double minLon ()
 
static int osmTileOriginalWidth ()
 
static osmscout::GeoBox tileBoundingBox (uint32_t zoomLevel, uint32_t xtile, uint32_t ytile)
 
static double tileDPI ()
 
static osmscout::GeoCoord tileRelativeCoord (uint32_t zoomLevel, double x, double y)
 
static osmscout::GeoCoord tileVisualCenter (uint32_t zoomLevel, uint32_t xtile, uint32_t ytile)
 
static double tilex2lon (uint32_t x, uint32_t z)
 
static double tiley2lat (uint32_t y, uint32_t z)
 
static uint32_t worldRes (uint32_t level)
 world resolution on given zoom level in OSM tiles More...
 

Member Function Documentation

◆ lat2tiley()

static uint32_t osmscout::OSMTile::lat2tiley ( double  lat,
uint32_t  z 
)
inlinestatic

References osmscout::log.

◆ lon2tilex()

static uint32_t osmscout::OSMTile::lon2tilex ( double  lon,
uint32_t  z 
)
inlinestatic

◆ maxLat()

static double osmscout::OSMTile::maxLat ( )
inlinestatic

◆ maxLon()

static double osmscout::OSMTile::maxLon ( )
inlinestatic

◆ minLat()

static double osmscout::OSMTile::minLat ( )
inlinestatic

◆ minLon()

static double osmscout::OSMTile::minLon ( )
inlinestatic

◆ osmTileOriginalWidth()

static int osmscout::OSMTile::osmTileOriginalWidth ( )
inlinestatic

◆ tileBoundingBox()

osmscout::GeoBox osmscout::OSMTile::tileBoundingBox ( uint32_t  zoomLevel,
uint32_t  xtile,
uint32_t  ytile 
)
static

◆ tileDPI()

static double osmscout::OSMTile::tileDPI ( )
inlinestatic

◆ tileRelativeCoord()

osmscout::GeoCoord osmscout::OSMTile::tileRelativeCoord ( uint32_t  zoomLevel,
double  x,
double  y 
)
static

◆ tileVisualCenter()

osmscout::GeoCoord osmscout::OSMTile::tileVisualCenter ( uint32_t  zoomLevel,
uint32_t  xtile,
uint32_t  ytile 
)
static

References tileRelativeCoord().

◆ tilex2lon()

static double osmscout::OSMTile::tilex2lon ( uint32_t  x,
uint32_t  z 
)
inlinestatic

Referenced by tileBoundingBox().

◆ tiley2lat()

static double osmscout::OSMTile::tiley2lat ( uint32_t  y,
uint32_t  z 
)
inlinestatic

References n.

Referenced by tileBoundingBox().

◆ worldRes()

static uint32_t osmscout::OSMTile::worldRes ( uint32_t  level)
inlinestatic

world resolution on given zoom level in OSM tiles

Referenced by osmscout::TiledRenderingHelper::RenderTiles(), tileBoundingBox(), and tileRelativeCoord().


The documentation for this class was generated from the following files: