Name: go-elevations
Description: SRTM parser for golang
Created: 2014-08-28 04:43:15.0
Updated: 2017-11-13 14:46:49.0
Pushed: 2016-02-03 19:25:52.0
Homepage: null
Size: 198
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
go-elevations is a parser for “The Shuttle Radar Topography Mission” data.
It is based on the existing library for python srtm.py
package main
import (
"fmt"
"github.com/tkrajina/go-elevations/geoelevations"
)
func main() {
srtm, err := geoelevations.NewSrtm()
if err != nil {
panic(err.Error())
}
elevation, err := srtm.GetElevation(45.2775, 13.726111)
if err != nil {
panic(err.Error())
}
fmt.Println("Vi?njan elevation is", elevation)
}
This library is licensed under the Apache License, Version 2.0