{"action":"closed","issue":{"url":"https://api.github.com/repos/azavea/hot-osm-population/issues/11","repository_url":"https://api.github.com/repos/azavea/hot-osm-population","labels_url":"https://api.github.com/repos/azavea/hot-osm-population/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/azavea/hot-osm-population/issues/11/comments","events_url":"https://api.github.com/repos/azavea/hot-osm-population/issues/11/events","html_url":"https://github.com/azavea/hot-osm-population/issues/11","id":382674433,"node_id":"MDU6SXNzdWUzODI2NzQ0MzM=","number":11,"title":"error in make docker","user":{"login":"willemarcel","id":666291,"node_id":"MDQ6VXNlcjY2NjI5MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/666291?v=4","gravatar_id":"","url":"https://api.github.com/users/willemarcel","html_url":"https://github.com/willemarcel","followers_url":"https://api.github.com/users/willemarcel/followers","following_url":"https://api.github.com/users/willemarcel/following{/other_user}","gists_url":"https://api.github.com/users/willemarcel/gists{/gist_id}","starred_url":"https://api.github.com/users/willemarcel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willemarcel/subscriptions","organizations_url":"https://api.github.com/users/willemarcel/orgs","repos_url":"https://api.github.com/users/willemarcel/repos","events_url":"https://api.github.com/users/willemarcel/events{/privacy}","received_events_url":"https://api.github.com/users/willemarcel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-20T13:56:12Z","updated_at":"2018-12-21T18:18:21Z","closed_at":"2018-12-21T18:18:21Z","author_association":"NONE","body":"First I had a problem to install the geotrellis packages, so I uncommented the snapshot repository and I was able to install it.\r\n\r\nBut then when running `make docker` I had this error:\r\n\r\n```\r\n[wille@sailboat hot-osm-population]$ make docker\r\n./sbt assembly\r\n[info] Loading project definition from /home/wille/projetos/HOT/hot-osm-population/project\r\n[info] Set current project to hotosmpopulation (in build file:/home/wille/projetos/HOT/hot-osm-population/)\r\n[info] Compiling 11 Scala sources to /home/wille/projetos/HOT/hot-osm-population/target/scala-2.11/classes...\r\n[error] /home/wille/projetos/HOT/hot-osm-population/src/main/scala/FootprintGenerator.scala:168: value getDouble is not a member of geotrellis.raster.Raster[geotrellis.raster.Tile]\r\n[error]       val v = buildings.getDouble(x, y)\r\n[error]                         ^\r\n[warn] /home/wille/projetos/HOT/hot-osm-population/src/main/scala/LabeledPredictApp.scala:68: discarded non-Unit value\r\n[warn]       Output.generateJsonFromTiles(assembled, model, outputUri)\r\n[warn]                                   ^\r\n[warn] /home/wille/projetos/HOT/hot-osm-population/src/main/scala/Predict.scala:74: discarded non-Unit value\r\n[warn]       Output.generateJsonFromTiles(assembled, model, outputUri)\r\n[warn]                                   ^\r\n[error] /home/wille/projetos/HOT/hot-osm-population/src/main/scala/Utils.scala:154: too many arguments for method fromLayerRDD: (rdd: org.apache.spark.rdd.RDD[(K, V)] with geotrellis.spark.Metadata[geotrellis.spark.TileLayerMetadata[K]], baseZoom: Int, minZoom: Option[Int], options: geotrellis.spark.io.cog.COGLayerWriter.Options)(implicit evidence$1: geotrellis.spark.SpatialComponent[K], implicit evidence$2: Ordering[K], implicit evidence$3: spray.json.JsonFormat[K], implicit evidence$4: scala.reflect.ClassTag[K], implicit evidence$5: scala.reflect.ClassTag[V], implicit evidence$6: V => geotrellis.raster.merge.TileMergeMethods[V], implicit evidence$7: V => geotrellis.raster.prototype.TilePrototypeMethods[V], implicit evidence$8: V => geotrellis.raster.crop.TileCropMethods[V], implicit evidence$9: geotrellis.raster.io.geotiff.GeoTiffBuilder[V])geotrellis.spark.io.cog.COGLayer[K,V]\r\n[error]       COGLayer.fromLayerRDD(\r\n[error]                            ^\r\n[error] /home/wille/projetos/HOT/hot-osm-population/src/main/scala/WorldPop.scala:95: overloaded method value readSingleband with alternatives:\r\n[error]   (byteReader: geotrellis.util.ByteReader,streaming: Boolean,withOverviews: Boolean,byteReaderExternal: Option[geotrellis.util.ByteReader])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader,streaming: Boolean)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader,e: Option[geotrellis.vector.Extent])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader,e: geotrellis.vector.Extent)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (bytes: Array[Byte],streaming: Boolean)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (bytes: Array[Byte])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String,streaming: Boolean)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String,e: Option[geotrellis.vector.Extent])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String,e: geotrellis.vector.Extent)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String)geotrellis.raster.io.geotiff.SinglebandGeoTiff\r\n[error]  cannot be applied to (geotrellis.util.RangeReader, decompress: Boolean, streaming: Boolean)\r\n[error]       GeoTiffReader.readSingleband(rr, decompress = false, streaming = true)\r\n[error]                     ^\r\n[error] /home/wille/projetos/HOT/hot-osm-population/src/main/scala/WorldPop.scala:117: overloaded method value readSingleband with alternatives:\r\n[error]   (byteReader: geotrellis.util.ByteReader,streaming: Boolean,withOverviews: Boolean,byteReaderExternal: Option[geotrellis.util.ByteReader])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader,streaming: Boolean)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader,e: Option[geotrellis.vector.Extent])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader,e: geotrellis.vector.Extent)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (bytes: Array[Byte],streaming: Boolean)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (bytes: Array[Byte])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String,streaming: Boolean)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String,e: Option[geotrellis.vector.Extent])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String,e: geotrellis.vector.Extent)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String)geotrellis.raster.io.geotiff.SinglebandGeoTiff\r\n[error]  cannot be applied to (geotrellis.util.RangeReader, decompress: Boolean, streaming: Boolean)\r\n[error] Error occurred in an application involving default arguments.\r\n[error]         GeoTiffReader.readSingleband(rr, decompress = false, streaming = true)\r\n[error]                       ^\r\n[error] /home/wille/projetos/HOT/hot-osm-population/src/main/scala/WorldPop.scala:154: overloaded method value readSingleband with alternatives:\r\n[error]   (byteReader: geotrellis.util.ByteReader,streaming: Boolean,withOverviews: Boolean,byteReaderExternal: Option[geotrellis.util.ByteReader])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader,streaming: Boolean)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader,e: Option[geotrellis.vector.Extent])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader,e: geotrellis.vector.Extent)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (bytes: Array[Byte],streaming: Boolean)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (bytes: Array[Byte])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String,streaming: Boolean)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String,e: Option[geotrellis.vector.Extent])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String,e: geotrellis.vector.Extent)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String)geotrellis.raster.io.geotiff.SinglebandGeoTiff\r\n[error]  cannot be applied to (geotrellis.util.RangeReader, decompress: Boolean, streaming: Boolean)\r\n[error]       GeoTiffReader.readSingleband(rr, decompress = false, streaming = true)\r\n[error]                     ^\r\n[error] /home/wille/projetos/HOT/hot-osm-population/src/main/scala/WorldPop.scala:179: overloaded method value readSingleband with alternatives:\r\n[error]   (byteReader: geotrellis.util.ByteReader,streaming: Boolean,withOverviews: Boolean,byteReaderExternal: Option[geotrellis.util.ByteReader])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader,streaming: Boolean)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader,e: Option[geotrellis.vector.Extent])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader,e: geotrellis.vector.Extent)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (byteReader: geotrellis.util.ByteReader)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (bytes: Array[Byte],streaming: Boolean)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (bytes: Array[Byte])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String,streaming: Boolean)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String,e: Option[geotrellis.vector.Extent])geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String,e: geotrellis.vector.Extent)geotrellis.raster.io.geotiff.SinglebandGeoTiff <and>\r\n[error]   (path: String)geotrellis.raster.io.geotiff.SinglebandGeoTiff\r\n[error]  cannot be applied to (geotrellis.util.RangeReader, decompress: Boolean, streaming: Boolean)\r\n[error] Error occurred in an application involving default arguments.\r\n[error]           GeoTiffReader.readSingleband(rr, decompress = false, streaming = true)\r\n[error]                         ^\r\n[warn] two warnings found\r\n[error] 6 errors found\r\n[error] (compile:compileIncremental) Compilation failed\r\n[error] Total time: 25 s, completed 20/11/2018 10:53:57\r\nmake: *** [Makefile:13: target/scala-2.11/hot-osm-population-assembly.jar] Error 1\r\n```"}}
{"actor":{"display_login":"willemarcel"}}