2017 © Pedro Peláez
 

library laravel-hgt-reader

image

sleepcat/laravel-hgt-reader

  • Wednesday, July 19, 2017
  • by Roger-Chang
  • Repository
  • 1 Watchers
  • 2 Stars
  • 730 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 37 % Grown

The README.md

laravel-hgt-reader

Installation For Laravel

Require this package with Composer, (*1)

$ composer require sleepcat/laravel-hgt-reader

for laravel

your config/app.php, (*2)

'providers' => [
    SleepCat\LaravelHgtReader\ReaderServiceProvider::class,
]

Add the facade to your config/app.php file:, (*3)


'aliases' => array( //... 'HgtReader' => SleepCat\LaravelHgtReader\Facades\HgtReader::class, ),

Usage

Laravel usage


use HgtReader; // Set Hgt files path in /storage $hgtPath = "/hgt"; HgtReader::init($hgtPath, 3); // Get elevation $el = HgtReader::getElevation($lat, $lon);

Download htg files

Here, (*4)

Download xxx.hgt to storage/hgt, (*5)

The Versions

19/07 2017

dev-master

9999999-dev

  Sources   Download

by Avatar Roger-Chang

03/07 2017

1.0.2

1.0.2.0

  Sources   Download

by Avatar Roger-Chang

03/07 2017

1.0.1

1.0.1.0

  Sources   Download

by Avatar Roger-Chang