WikiWatershed / mmw-geoprocessing

A Spark Job Server job for Model My Watershed geoprocessing.
Apache License 2.0
6 stars 6 forks source link

Update Geotrellis Version to 0.10.0-177004b #20

Closed jamesmcclain closed 8 years ago

jamesmcclain commented 8 years ago

Some incompatible changes to the S3LayerReader interface were introduced sometime around Geotrellis version 2d2bdde.

The present commit updates the code to be compilable with newer versions of Geotrellis.

Limited testing shows that these changes produce the same results as before. Since the polygon rasterizer in Geotrellis has been replaced with a (hopefully) more correct implementation, the possibility of differences is not inconceivable.

Connects #19

To Test

  1. Pull down this branch
  2. Build the code './sbt assembly'
  3. Copy the jar to the worker VM scp ./summary/target/scala-2.10/mmw-geoprocessing-assembly-0.3.2.jar vagrant@33.33.34.20:
  4. ssh into the worker VM vagrant ssh worker or ssh vagrant@33.33.34.20
  5. Overwrite the existing geoprocessing jar, /opt/geoprocessing/mmw-geoprocessing-0.3.2.jar, with the new one.
  6. Reload the worker VM
hectcastro commented 8 years ago

:+1:

jamesmcclain commented 8 years ago

Many thanks!