Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/perliedman/elevation-service

Elevation data for your GeoJSON as a micro service
https://github.com/perliedman/elevation-service

elevation elevation-data geojson javascript srtm

Last synced: 5 days ago
JSON representation

Elevation data for your GeoJSON as a micro service

Awesome Lists containing this project

README

        

elevation-service
=================

[![Greenkeeper badge](https://badges.greenkeeper.io/perliedman/elevation-service.svg)](https://greenkeeper.io/)

Elevation data for your GeoJSON as a micro service. Yes, really!

You can try it out in [the elevation-service demo app](https://www.liedman.net/elevation-service/).

You might also be interested in [geojson-elevation](https://github.com/perliedman/geojson-elevation) and
[node-hgt](https://github.com/perliedman/node-hgt), which this module builds upon.

## Installation and running

Clone this repo, install dependencies:

```
npm install
```

and fire it up:

```
npm start
```

It runs on port 3000 for now.

Post a GeoJSON object to its only endpoint, `/`, and you will get the same object back, but its
coordinates will have a third component containing elevation added.