tkrajina/go-elevations

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

SRTM parser for golang

go-elevations is a parser for “The Shuttle Radar Topography Mission” data.

It is based on the existing library for python srtm.py

Usage
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)
}
License

This library is licensed under the Apache License, Version 2.0


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.