- Can be used one of three ways:
- Call from the command line. For example:
python slopefinder.py -lat 40.363124 -lon -74.173452
- Use the python function directly. For example:
slope_direction = slopefinder.find_slope_direction(40.363124, -74.173452)
(with the correct imports) - Run it as a Flask app.
python server.py
then "http://127.0.0.1:5000/find_slope_direction?lat=40.363124&lon=-74.173452"
- Call from the command line. For example:
- What's returned? The direction the ground surface slopes (aspect) in degrees clockwise from North (i.e. if your point was on a hill with uphill being west and downhill east, it will return
90
) - The dependencies (specifically GDAL) can be a bit finicky to install. The environment.yml file and conda get you most of the way there.
-
Notifications
You must be signed in to change notification settings - Fork 2
Azimuth1/slopefinder
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
find ground surface slope direction
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published