Skip to content

Golang implementation of QuadTile to work with OpenStreetMap API database.

License

Notifications You must be signed in to change notification settings

kasika-technologies/quad_tile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quad_tile

Golang implementation of QuadTile to work with OpenStreetMap API database.

Usage

package main

import (
	"fmt"
	"github.com/kasika-technologies/quad_tile"
)

func main() {
	tile := quad_tile.TileForPoint(139.734531, 35.607090)
	fmt.Println(tile)
	// 3977143975

	tiles := quad_tile.TilesForArea(139.73424, 35.60433, 139.73673, 35.60707)
	fmt.Println(tiles)
	// [3977143974 3977143975]
}

About

Golang implementation of QuadTile to work with OpenStreetMap API database.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages