locationtech-labs / geopyspark

GeoTrellis for PySpark
Other
179 stars 59 forks source link

tobler Method for TiledRasterLayer #567

Closed jbouffard closed 6 years ago

jbouffard commented 6 years ago

This PR adds the tobler method to TiledRasterLayer. The logic used create the tobler was taken from this PR: https://github.com/locationtech/geotrellis/pull/2432

Note: As mentioned in the linked PR, the tobler method assumes all sloped are up hill, and thus, this can result incorrect results. This will be fixed in a future update.