the file path or S2PMTilesReader to read from
if non-zero its the max zoom to read all tiles in the FeatureIterator
Optionalconverter: ElevationConverter
the elevation converter
Optional Readonlyconverterthe elevation converter
Readonlyinputthe file path or S2PMTilesReader to read from
Readonlythresholdif non-zero its the max zoom to read all tiles in the FeatureIterator
Get the value of the given longitude and latitude
the zoom level
the longitude
the latitude
in pixels
Get the value of the given longitude and latitude
the zoom level
the longitude
the latitude
in pixels
Get the metadata of the archive
Grab the tile at the given (face, zoom, x, y) coordinates
the Open S2 projection face
the zoom level of the tile
the x coordinate of the tile
the y coordinate of the tile
Grab the tile at the given zoom-x-y coordinates.
This function adds the ability to pull from surrounding images and add them as padding
This function is also useful for just expanding the zoom level up. So if the image is 256x256, you can use this function to get a 512x512 image
the zoom level of the tile
the x coordinate of the tile
the y coordinate of the tile
the amount of padding to add to each side of the tile
the size of each tile width and height.
the size of the rendered center tile. For example if you want a 512x512 tile, but the source is 256x256, you can set this to 512.
Grab the tile at the given zoom-x-y coordinates
the zoom level of the tile
the x coordinate of the tile
the y coordinate of the tile
Return true if the tile exists
the Open S2 projection face
the zoom level of the tile
the x coordinate of the tile
the y coordinate of the tile
Return true if the tile exists
the zoom level of the tile
the x coordinate of the tile
the y coordinate of the tile
Iterate over all the tiles in the tileset and yield their positions
Raster Tiles File Reader
Description
Read an entire archive of raster tiles, where the max zoom data is iterated upon
Supports reading either RGB(A) data and/or RGB(A) encoded elevation data.
Usage
Links