Maria GDK 5.0.0.737
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::TileCacheSpec Class Reference

Public Member Functions

 TileCacheSpec (double min_n=-180.0, double min_e=-180.0, double max_n=180.0, double max_e=180.0, int tile_size=256, double root_nominal_scale=256000000, const std::string &proj_id="#mercator", bool pointPixels=false)
 
const std::string & getProjectorId () const
 
void setProjectorId (const std::string &projector_id)
 
double getBaseSizeX () const
 
void setBaseSizeX (double base_size_x)
 
double getBaseSizeY () const
 
void setBaseSizeY (double base_size_y)
 
double getOriginX () const
 Origin (center) of the tile cache spec.
 
void setOriginX (double origin_x)
 Origin (center) of the tile cache spec.
 
double getOriginY () const
 Origin (center) of the tile cache spec.
 
void setOriginY (double origin_y)
 Origin (center) of the tile cache spec.
 
void setRootNominalScale (double scale)
 
double getRootNominalScale () const
 
void setTileSize (int tile_size)
 
int getTileSize () const
 
unsigned int getHashKey () const
 
void setPointPixels (bool pointPixels)
 
bool getPointPixels () const
 

Member Function Documentation

◆ setPointPixels()

void Maria::TileCacheSpec::setPointPixels ( bool  pointPixels)
inline

If the pointPixel flag is set, the tile raster projectors will be extended by a half pixel in all directions, so that the XY coordinate system is a set of grid nodes, instead of area pixels. This is useful when converting datasets from area grids to point pixel grids, but should not be used on general datasets.


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