Viewshed

ViewSHED is an open-source API for computing the visible area given a location and elevation.
Alternatives To Viewshed
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Seeker5,377
6 days ago15mitCSS
Accurately Locate Smartphones using Social Engineering
Arkit Corelocation5,280
238 months ago8August 23, 201945mitSwift
Combines the high accuracy of AR with the scale of GPS data.
Open Location Code3,843285 months ago2April 21, 202161apache-2.0Java
Open Location Code is a library to generate short codes, called "plus codes", that can be used as digital addresses where street addresses don't exist.
Geo Heatmap1,919
a year ago11mitPython
:world_map: Generate an interactive geo heatmap from your Google location data
Phpgeo1,494641612 days ago47July 25, 202216mitPHP
Simple Yet Powerful Geo Library for PHP
Locokit1,461
36 months ago41October 22, 201830lgpl-3.0Swift
Location, motion, and activity recording framework for iOS
Locationmanager797
1322 days ago25August 06, 20207Java
Simplify getting user's location for Android
Cordova Plugin Geolocation6291,532425 days ago28November 20, 202014apache-2.0JavaScript
Apache Cordova Plugin geolocation
Telegram Nearby Map600
3 days ago4gpl-3.0JavaScript
Discover the location of nearby Telegram users 📡🌍
Mad Location Manager491
6 days ago47mitJava
Mad Location Manager is a library for GPS and Accelerometer data "fusion" with Kalman filter
Alternatives To Viewshed
Select To Compare


Alternative Project Comparisons
Readme

ViewSHED

ViewSHED is an open-source API for computing the visible area given a location and elevation. It was built to aid in the construction of mesh networks and for use by amateur radio. The API currently supports GeoJSON and an HTML interface.

Calculating viewshed is not particularly hard but wrangling together the data and learning an appropriate GIS tool can be challenging. ViewSHED has an easy to use web interface and uses accurate (90 meter) global elevation data making calculating viewshed easy.

DEMO

API

ViewShed

Calculates the the viewshed given a location and elevation.

curl http://viewshed.mod64.net/api/v1/viewshed/{format}?lng={longitude}&lat={latitude}&altitude={altitude}&radius={radius}

Parameters:

Name Description
format The return type. Currently geojson and html are supported. If html is specified a map will be rendered, visualizing the viewshed
longitude longitude of location
latitude latitude of location
altitude altitude of location/tower in meters above ground level
radius radius of viewshed calculation in meters
abs_altitude if specified aka abs_altitude=1 altitude will be relative to sea level rather than ground level

Examples:

Elevation

Returns the elevation of the ground at a given location.

curl http://viewshed.mod64.net/api/v1/elevation/{format}?lng={longitude}&lat={latitude}

Top of Hill

Returns the elevation and lat/lng of the highest point in a given radius.

curl http://viewshed.mod64.net/api/v1/topofhill/{format}?lng={longitude}&lat={latitude}&radius=100

Parameters:

Name Description
format The return type. Currently geojson and html are supported. If html is specified a map will be rendered, visualizing the elevation
longitude longitude of location
latitude latitude of location

Examples:

Running

First, try the publicly hosted version and ensure it does what you want. The elevation data is approx. 30G and takes a while to download. Assuming you still wish to deploy your own server:

  1. Install docker.
  2. Download the ~30GB of data by running ./download-data.sh. This will probably take a while.
  3. Run the container with
docker run -it --rm -p 8080:8080 -v "$(pwd)/tiles.leveldb:/usr/local/viewshed/data/tiles.leveldb" viewshed:latest

Data Source & Quality

The calculations are currently based on SRTM Digital Elevation Database v4.1. Calculations are accurate worldwide to approx. 90m.

Popular Location Projects
Popular Gps Projects
Popular Libraries Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Location
Gps
Gis
Geojson
Satellite
Radius
Meter
Openstreetmap