makinacorpus/go-elevations

Name: go-elevations

Owner: Makina Corpus

Description: SRTM parser for golang

Forked from: tkrajina/go-elevations

Created: 2017-10-11 14:43:13.0

Updated: 2017-10-11 14:43:15.0

Pushed: 2017-11-09 17:54:12.0

Homepage: null

Size: 199

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.