Skip to content

A golang package for for ingesting GPS positions and calculating their QuadTile IDs

License

Notifications You must be signed in to change notification settings

tmornini/quad-tile-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

These two Go packages implement the QuadTile hierarchichal binning algorithm described by the OpenStreetMap project.

  • github.com/tmornini/quad-tile-go/position

    • New(latitude, longitude, altitude float64) (position, error)
      • returns an error if co-ordinates are out of bounds
  • github.com/tmornini/quad-tile-go/quad-tile

    • method New(*position Position.position, level uint)
      • returns a *quadTile
    • method IdAsString(level) string
      • returns Id as a string
    • method IdAsUint32(level) uint32
      • returns Id as a uint32

About

A golang package for for ingesting GPS positions and calculating their QuadTile IDs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages