Skip to content

A Python script to generate a mesh grid in a Polygon and get Elevations from api.open-elevation.com

License

Notifications You must be signed in to change notification settings

alfurka/PolygonElevations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolygonElevations

A Python script to generate a mesh grid in a Polygon and get Elevations from api.open-elevation.com.

The purpose of this script is to generate a mesh grid within a Polygon. The coordinates of the mesh grid is then used to get elevation data from a public API: api.open-elevation.com. The current script can be easly adjusted for other APIs. The output of the script are (1) the coordinates within the polygon and (2) elevations of the coordinates. Data can be used for various purposes.

Requirements

The required Python packages: Pandas, Numpy, Matplotlib, and Shapely.

pip install pandas numpy matplotlib shapely

Examples

A Polygon from Istanbul:

Elevation map from Istanbul:

Documentation

See here for documentation and example.

About

A Python script to generate a mesh grid in a Polygon and get Elevations from api.open-elevation.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages