{"action":"created","comment":{"url":"https://api.github.com/repos/geotrellis/geotrellis/pulls/comments/40035433","id":40035433,"diff_hunk":"@@ -40,4 +45,25 @@ class EtlConf(args: Seq[String]) extends ScallopConf(args){\n \n   implicit def crsConverter: ValueConverter[CRS] = singleArgConverter[CRS](CRS.fromName)\n   implicit def storageLevelConvert: ValueConverter[StorageLevel] = singleArgConverter[StorageLevel](StorageLevel.fromString)\n-}\n\\ No newline at end of file\n+}\n+object EtlConf {\n+ val layoutSchemeConverter = new ValueConverter[LayoutSchemeProvider] {\n+   val validNames = List (\"tms\", \"floating\")\n+\n+   def parse(s : List[(String, List[String])]) = s match {\n+     case (_, schemeName :: Nil) :: Nil  if validNames contains schemeName =>\n+        Right(Some(schemeName match {\n+          case \"floating\" =>\n+            (crs: CRS, tileSize: Int) => FloatingLayoutScheme(tileSize)\n+          case \"tms\" =>\n+            (crs: CRS, tileSize: Int) => ZoomedLayoutScheme(crs, tileSize)\n+        }))\n+     case _ =>\n+       Left(\"wrong arguments format\")","path":"spark-etl/src/main/scala/geotrellis/spark/etl/EtlConf.scala","position":41,"original_position":41,"commit_id":"8404f1e9b9944bc174c6c1312c865cb633d300f9","original_commit_id":"8404f1e9b9944bc174c6c1312c865cb633d300f9","user":{"login":"lossyrob","id":2320142,"avatar_url":"https://avatars.githubusercontent.com/u/2320142?v=3","gravatar_id":"","url":"https://api.github.com/users/lossyrob","html_url":"https://github.com/lossyrob","followers_url":"https://api.github.com/users/lossyrob/followers","following_url":"https://api.github.com/users/lossyrob/following{/other_user}","gists_url":"https://api.github.com/users/lossyrob/gists{/gist_id}","starred_url":"https://api.github.com/users/lossyrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lossyrob/subscriptions","organizations_url":"https://api.github.com/users/lossyrob/orgs","repos_url":"https://api.github.com/users/lossyrob/repos","events_url":"https://api.github.com/users/lossyrob/events{/privacy}","received_events_url":"https://api.github.com/users/lossyrob/received_events","type":"User","site_admin":false},"body":"I get this error when I don't provide a layerFormat, even though it seems like it should default.","created_at":"2015-09-21T22:35:25Z","updated_at":"2015-09-21T22:35:25Z","html_url":"https://github.com/geotrellis/geotrellis/pull/1177#discussion_r40035433","pull_request_url":"https://api.github.com/repos/geotrellis/geotrellis/pulls/1177","_links":{"self":{"href":"https://api.github.com/repos/geotrellis/geotrellis/pulls/comments/40035433"},"html":{"href":"https://github.com/geotrellis/geotrellis/pull/1177#discussion_r40035433"},"pull_request":{"href":"https://api.github.com/repos/geotrellis/geotrellis/pulls/1177"}}},"pull_request":{"url":"https://api.github.com/repos/geotrellis/geotrellis/pulls/1177","id":44828133,"html_url":"https://github.com/geotrellis/geotrellis/pull/1177","diff_url":"https://github.com/geotrellis/geotrellis/pull/1177.diff","patch_url":"https://github.com/geotrellis/geotrellis/pull/1177.patch","issue_url":"https://api.github.com/repos/geotrellis/geotrellis/issues/1177","number":1177,"state":"closed","locked":false,"title":"Updates to ETL subproject","user":{"login":"echeipesh","id":1158084,"avatar_url":"https://avatars.githubusercontent.com/u/1158084?v=3","gravatar_id":"","url":"https://api.github.com/users/echeipesh","html_url":"https://github.com/echeipesh","followers_url":"https://api.github.com/users/echeipesh/followers","following_url":"https://api.github.com/users/echeipesh/following{/other_user}","gists_url":"https://api.github.com/users/echeipesh/gists{/gist_id}","starred_url":"https://api.github.com/users/echeipesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echeipesh/subscriptions","organizations_url":"https://api.github.com/users/echeipesh/orgs","repos_url":"https://api.github.com/users/echeipesh/repos","events_url":"https://api.github.com/users/echeipesh/events{/privacy}","received_events_url":"https://api.github.com/users/echeipesh/received_events","type":"User","site_admin":false},"body":"Simplified the construction to avoid ambiguous overloading errors and updated the README to reflect new features and syntax. ","created_at":"2015-09-11T20:56:06Z","updated_at":"2015-09-21T22:35:25Z","closed_at":"2015-09-18T16:33:45Z","merged_at":"2015-09-18T16:33:45Z","merge_commit_sha":"66a0b323c76d9d93caee71e62e497bace6669022","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/geotrellis/geotrellis/pulls/1177/commits","review_comments_url":"https://api.github.com/repos/geotrellis/geotrellis/pulls/1177/comments","review_comment_url":"https://api.github.com/repos/geotrellis/geotrellis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geotrellis/geotrellis/issues/1177/comments","statuses_url":"https://api.github.com/repos/geotrellis/geotrellis/statuses/8404f1e9b9944bc174c6c1312c865cb633d300f9","head":{"label":"echeipesh:fix/etl-construction","ref":"fix/etl-construction","sha":"8404f1e9b9944bc174c6c1312c865cb633d300f9","user":{"login":"echeipesh","id":1158084,"avatar_url":"https://avatars.githubusercontent.com/u/1158084?v=3","gravatar_id":"","url":"https://api.github.com/users/echeipesh","html_url":"https://github.com/echeipesh","followers_url":"https://api.github.com/users/echeipesh/followers","following_url":"https://api.github.com/users/echeipesh/following{/other_user}","gists_url":"https://api.github.com/users/echeipesh/gists{/gist_id}","starred_url":"https://api.github.com/users/echeipesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echeipesh/subscriptions","organizations_url":"https://api.github.com/users/echeipesh/orgs","repos_url":"https://api.github.com/users/echeipesh/repos","events_url":"https://api.github.com/users/echeipesh/events{/privacy}","received_events_url":"https://api.github.com/users/echeipesh/received_events","type":"User","site_admin":false},"repo":{"id":16413208,"name":"geotrellis","full_name":"echeipesh/geotrellis","owner":{"login":"echeipesh","id":1158084,"avatar_url":"https://avatars.githubusercontent.com/u/1158084?v=3","gravatar_id":"","url":"https://api.github.com/users/echeipesh","html_url":"https://github.com/echeipesh","followers_url":"https://api.github.com/users/echeipesh/followers","following_url":"https://api.github.com/users/echeipesh/following{/other_user}","gists_url":"https://api.github.com/users/echeipesh/gists{/gist_id}","starred_url":"https://api.github.com/users/echeipesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echeipesh/subscriptions","organizations_url":"https://api.github.com/users/echeipesh/orgs","repos_url":"https://api.github.com/users/echeipesh/repos","events_url":"https://api.github.com/users/echeipesh/events{/privacy}","received_events_url":"https://api.github.com/users/echeipesh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/echeipesh/geotrellis","description":"GeoTrellis is a geographic data processing engine for high performance applications.","fork":true,"url":"https://api.github.com/repos/echeipesh/geotrellis","forks_url":"https://api.github.com/repos/echeipesh/geotrellis/forks","keys_url":"https://api.github.com/repos/echeipesh/geotrellis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/echeipesh/geotrellis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/echeipesh/geotrellis/teams","hooks_url":"https://api.github.com/repos/echeipesh/geotrellis/hooks","issue_events_url":"https://api.github.com/repos/echeipesh/geotrellis/issues/events{/number}","events_url":"https://api.github.com/repos/echeipesh/geotrellis/events","assignees_url":"https://api.github.com/repos/echeipesh/geotrellis/assignees{/user}","branches_url":"https://api.github.com/repos/echeipesh/geotrellis/branches{/branch}","tags_url":"https://api.github.com/repos/echeipesh/geotrellis/tags","blobs_url":"https://api.github.com/repos/echeipesh/geotrellis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/echeipesh/geotrellis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/echeipesh/geotrellis/git/refs{/sha}","trees_url":"https://api.github.com/repos/echeipesh/geotrellis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/echeipesh/geotrellis/statuses/{sha}","languages_url":"https://api.github.com/repos/echeipesh/geotrellis/languages","stargazers_url":"https://api.github.com/repos/echeipesh/geotrellis/stargazers","contributors_url":"https://api.github.com/repos/echeipesh/geotrellis/contributors","subscribers_url":"https://api.github.com/repos/echeipesh/geotrellis/subscribers","subscription_url":"https://api.github.com/repos/echeipesh/geotrellis/subscription","commits_url":"https://api.github.com/repos/echeipesh/geotrellis/commits{/sha}","git_commits_url":"https://api.github.com/repos/echeipesh/geotrellis/git/commits{/sha}","comments_url":"https://api.github.com/repos/echeipesh/geotrellis/comments{/number}","issue_comment_url":"https://api.github.com/repos/echeipesh/geotrellis/issues/comments{/number}","contents_url":"https://api.github.com/repos/echeipesh/geotrellis/contents/{+path}","compare_url":"https://api.github.com/repos/echeipesh/geotrellis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/echeipesh/geotrellis/merges","archive_url":"https://api.github.com/repos/echeipesh/geotrellis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/echeipesh/geotrellis/downloads","issues_url":"https://api.github.com/repos/echeipesh/geotrellis/issues{/number}","pulls_url":"https://api.github.com/repos/echeipesh/geotrellis/pulls{/number}","milestones_url":"https://api.github.com/repos/echeipesh/geotrellis/milestones{/number}","notifications_url":"https://api.github.com/repos/echeipesh/geotrellis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/echeipesh/geotrellis/labels{/name}","releases_url":"https://api.github.com/repos/echeipesh/geotrellis/releases{/id}","created_at":"2014-01-31T16:22:08Z","updated_at":"2014-06-24T20:26:56Z","pushed_at":"2015-09-18T14:38:04Z","git_url":"git://github.com/echeipesh/geotrellis.git","ssh_url":"git@github.com:echeipesh/geotrellis.git","clone_url":"https://github.com/echeipesh/geotrellis.git","svn_url":"https://github.com/echeipesh/geotrellis","homepage":"http://www.azavea.com/geotrellis/","size":233392,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"geotrellis:master","ref":"master","sha":"53f8a78a9af475e60e287736816cfeebe506a797","user":{"login":"geotrellis","id":3129444,"avatar_url":"https://avatars.githubusercontent.com/u/3129444?v=3","gravatar_id":"","url":"https://api.github.com/users/geotrellis","html_url":"https://github.com/geotrellis","followers_url":"https://api.github.com/users/geotrellis/followers","following_url":"https://api.github.com/users/geotrellis/following{/other_user}","gists_url":"https://api.github.com/users/geotrellis/gists{/gist_id}","starred_url":"https://api.github.com/users/geotrellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geotrellis/subscriptions","organizations_url":"https://api.github.com/users/geotrellis/orgs","repos_url":"https://api.github.com/users/geotrellis/repos","events_url":"https://api.github.com/users/geotrellis/events{/privacy}","received_events_url":"https://api.github.com/users/geotrellis/received_events","type":"Organization","site_admin":false},"repo":{"id":3040675,"name":"geotrellis","full_name":"geotrellis/geotrellis","owner":{"login":"geotrellis","id":3129444,"avatar_url":"https://avatars.githubusercontent.com/u/3129444?v=3","gravatar_id":"","url":"https://api.github.com/users/geotrellis","html_url":"https://github.com/geotrellis","followers_url":"https://api.github.com/users/geotrellis/followers","following_url":"https://api.github.com/users/geotrellis/following{/other_user}","gists_url":"https://api.github.com/users/geotrellis/gists{/gist_id}","starred_url":"https://api.github.com/users/geotrellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geotrellis/subscriptions","organizations_url":"https://api.github.com/users/geotrellis/orgs","repos_url":"https://api.github.com/users/geotrellis/repos","events_url":"https://api.github.com/users/geotrellis/events{/privacy}","received_events_url":"https://api.github.com/users/geotrellis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geotrellis/geotrellis","description":"GeoTrellis is a geographic data processing engine for high performance applications.","fork":false,"url":"https://api.github.com/repos/geotrellis/geotrellis","forks_url":"https://api.github.com/repos/geotrellis/geotrellis/forks","keys_url":"https://api.github.com/repos/geotrellis/geotrellis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geotrellis/geotrellis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geotrellis/geotrellis/teams","hooks_url":"https://api.github.com/repos/geotrellis/geotrellis/hooks","issue_events_url":"https://api.github.com/repos/geotrellis/geotrellis/issues/events{/number}","events_url":"https://api.github.com/repos/geotrellis/geotrellis/events","assignees_url":"https://api.github.com/repos/geotrellis/geotrellis/assignees{/user}","branches_url":"https://api.github.com/repos/geotrellis/geotrellis/branches{/branch}","tags_url":"https://api.github.com/repos/geotrellis/geotrellis/tags","blobs_url":"https://api.github.com/repos/geotrellis/geotrellis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geotrellis/geotrellis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geotrellis/geotrellis/git/refs{/sha}","trees_url":"https://api.github.com/repos/geotrellis/geotrellis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geotrellis/geotrellis/statuses/{sha}","languages_url":"https://api.github.com/repos/geotrellis/geotrellis/languages","stargazers_url":"https://api.github.com/repos/geotrellis/geotrellis/stargazers","contributors_url":"https://api.github.com/repos/geotrellis/geotrellis/contributors","subscribers_url":"https://api.github.com/repos/geotrellis/geotrellis/subscribers","subscription_url":"https://api.github.com/repos/geotrellis/geotrellis/subscription","commits_url":"https://api.github.com/repos/geotrellis/geotrellis/commits{/sha}","git_commits_url":"https://api.github.com/repos/geotrellis/geotrellis/git/commits{/sha}","comments_url":"https://api.github.com/repos/geotrellis/geotrellis/comments{/number}","issue_comment_url":"https://api.github.com/repos/geotrellis/geotrellis/issues/comments{/number}","contents_url":"https://api.github.com/repos/geotrellis/geotrellis/contents/{+path}","compare_url":"https://api.github.com/repos/geotrellis/geotrellis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geotrellis/geotrellis/merges","archive_url":"https://api.github.com/repos/geotrellis/geotrellis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geotrellis/geotrellis/downloads","issues_url":"https://api.github.com/repos/geotrellis/geotrellis/issues{/number}","pulls_url":"https://api.github.com/repos/geotrellis/geotrellis/pulls{/number}","milestones_url":"https://api.github.com/repos/geotrellis/geotrellis/milestones{/number}","notifications_url":"https://api.github.com/repos/geotrellis/geotrellis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geotrellis/geotrellis/labels{/name}","releases_url":"https://api.github.com/repos/geotrellis/geotrellis/releases{/id}","created_at":"2011-12-23T14:56:54Z","updated_at":"2015-09-19T16:08:54Z","pushed_at":"2015-09-21T18:29:24Z","git_url":"git://github.com/geotrellis/geotrellis.git","ssh_url":"git@github.com:geotrellis/geotrellis.git","clone_url":"https://github.com/geotrellis/geotrellis.git","svn_url":"https://github.com/geotrellis/geotrellis","homepage":"http://geotrellis.io","size":251039,"stargazers_count":349,"watchers_count":349,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":90,"mirror_url":null,"open_issues_count":53,"forks":90,"open_issues":53,"watchers":349,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geotrellis/geotrellis/pulls/1177"},"html":{"href":"https://github.com/geotrellis/geotrellis/pull/1177"},"issue":{"href":"https://api.github.com/repos/geotrellis/geotrellis/issues/1177"},"comments":{"href":"https://api.github.com/repos/geotrellis/geotrellis/issues/1177/comments"},"review_comments":{"href":"https://api.github.com/repos/geotrellis/geotrellis/pulls/1177/comments"},"review_comment":{"href":"https://api.github.com/repos/geotrellis/geotrellis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geotrellis/geotrellis/pulls/1177/commits"},"statuses":{"href":"https://api.github.com/repos/geotrellis/geotrellis/statuses/8404f1e9b9944bc174c6c1312c865cb633d300f9"}}}}