Documentation
¶
Overview ¶
package tile_system is a collection of conversion utilities to go between geo/pixel/tile/quadkey space This package uses WGS84 coordinates and a mercator projection
Index ¶
Constants ¶
Variables ¶
View Source
var TileSize uint = 256
Functions ¶
Types ¶
type Coords ¶
type Coords struct {
Lat, Lon float64
}
WGS-84 Lat Lon coordindates in degrees
func ClippedCoords ¶
Coords that have been clipped to Max/Min Lat/Lon
type Pixel ¶
type Pixel struct {
X, Y, Z uint
}
Pixel in a WGS84 Mercator map projection with a NW origin (0,0) of the projection
type Tile ¶
type Tile struct {
X, Y, Z uint
}
func TileFromQuadKey ¶
func (Tile) ToPixelWithOffset ¶
Click to show internal directories.
Click to hide internal directories.