Documentation ¶
Index ¶
- Constants
- func OpenDatabase(path string, tileSize osgrid.Distance) (osdata.ImageDatabase, error)
- type Database
- type PixelScaleTag
- type TiePoint
- type TiePointTag
- type Tile
- func (t *Tile) BottomLeft() osgrid.GridRef
- func (t *Tile) GetImage() image.Image
- func (t *Tile) GetPixelCoord(ref osgrid.GridRef) (int, int, error)
- func (t *Tile) GridRef() osgrid.GridRef
- func (t *Tile) Height() osgrid.Distance
- func (t *Tile) Image() image.Image
- func (t *Tile) PixelPrecision() int
- func (t *Tile) Precision() osgrid.Distance
- func (t *Tile) String() string
- func (t *Tile) Width() osgrid.Distance
Constants ¶
View Source
const ( ModelPixelScaleTag uint16 = 33550 ModelTiepointTag uint16 = 33922 )
Variables ¶
This section is empty.
Functions ¶
func OpenDatabase ¶
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) GetImageTile ¶
type PixelScaleTag ¶
type PixelScaleTag struct {
ScaleX, ScaleY float64
}
type TiePointTag ¶
type TiePointTag struct {
TiePoints []TiePoint
}
type Tile ¶
type Tile struct {
// contains filtered or unexported fields
}
func (*Tile) BottomLeft ¶
func (*Tile) PixelPrecision ¶
Click to show internal directories.
Click to hide internal directories.