Documentation ¶
Index ¶
Constants ¶
View Source
const ( REX_OSM_TILE_NAME = "^osm-(\\d*)-(\\d*)-(\\d*)\\.png$" MAX_TILE_SIZE = 1048576 MAX_ZOOM_LEVEL = 19 MODE_DIR = 0755 MODE_FILE = 0644 SIZE_BUFFER = 8096 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TileUtil ¶
type TileUtil interface { Cleanup() error Export(w io.Writer, creationTime time.Time) error Fetch(server tileserver.OSMTileServer, id tile.Id) (tile.Image, error) Import(r io.Reader) error Prefetch(server tileserver.OSMTileServer, maxZoom uint8) }
* Utility for accessing a tile database.
func CreateTileUtil ¶
func CreateTileUtil(idxdb tiledb.IndexDatabase, imgdb tiledb.ImageDatabase) TileUtil
* Create a new util for handling tiles.
Click to show internal directories.
Click to hide internal directories.