{"action":"created","comment":{"url":"https://api.github.com/repos/locationtech/geomesa/pulls/comments/22744633","id":22744633,"diff_hunk":"@@ -19,7 +19,13 @@ package org.locationtech.geomesa\n import org.calrissian.mango.types.LexiTypeEncoders\n \n package object raster {\n-  def lexiEncodeDoubleToString(number: Double): String = LexiTypeEncoders.LEXI_TYPES.encode(number)\n+  def lexiEncodeDoubleToString(number: Double): String = {\n+    val truncatedRes = BigDecimal(number).setScale(7, BigDecimal.RoundingMode.HALF_UP).toDouble\n+    LexiTypeEncoders.LEXI_TYPES.encode(truncatedRes)\n+  }\n \n-  def lexiDecodeStringToDouble(str: String): Double = LexiTypeEncoders.LEXI_TYPES.decode(\"double\", str).asInstanceOf[Double]\n+  def lexiDecodeStringToDouble(str: String): Double = {","path":"geomesa-raster/src/main/scala/org/locationtech/geomesa/raster/package.scala","position":11,"original_position":11,"commit_id":"36c9a53f165f4f1e3410badf774be1b5b645f70f","original_commit_id":"36c9a53f165f4f1e3410badf774be1b5b645f70f","user":{"login":"ronq","id":5257756,"avatar_url":"https://avatars.githubusercontent.com/u/5257756?v=3","gravatar_id":"","url":"https://api.github.com/users/ronq","html_url":"https://github.com/ronq","followers_url":"https://api.github.com/users/ronq/followers","following_url":"https://api.github.com/users/ronq/following{/other_user}","gists_url":"https://api.github.com/users/ronq/gists{/gist_id}","starred_url":"https://api.github.com/users/ronq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronq/subscriptions","organizations_url":"https://api.github.com/users/ronq/orgs","repos_url":"https://api.github.com/users/ronq/repos","events_url":"https://api.github.com/users/ronq/events{/privacy}","received_events_url":"https://api.github.com/users/ronq/received_events","type":"User","site_admin":false},"body":"Ditto as above","created_at":"2015-01-09T21:32:51Z","updated_at":"2015-01-09T21:32:51Z","html_url":"https://github.com/locationtech/geomesa/pull/424#discussion_r22744633","pull_request_url":"https://api.github.com/repos/locationtech/geomesa/pulls/424","_links":{"self":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/comments/22744633"},"html":{"href":"https://github.com/locationtech/geomesa/pull/424#discussion_r22744633"},"pull_request":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/424"}}},"pull_request":{"url":"https://api.github.com/repos/locationtech/geomesa/pulls/424","id":27108023,"html_url":"https://github.com/locationtech/geomesa/pull/424","diff_url":"https://github.com/locationtech/geomesa/pull/424.diff","patch_url":"https://github.com/locationtech/geomesa/pull/424.patch","issue_url":"https://api.github.com/repos/locationtech/geomesa/issues/424","number":424,"state":"open","locked":false,"title":"GEOMESA-582 Resolve Resolution questions between WCS plugin and SimpleRasterIngest","user":{"login":"jdk2pq","id":1759726,"avatar_url":"https://avatars.githubusercontent.com/u/1759726?v=3","gravatar_id":"","url":"https://api.github.com/users/jdk2pq","html_url":"https://github.com/jdk2pq","followers_url":"https://api.github.com/users/jdk2pq/followers","following_url":"https://api.github.com/users/jdk2pq/following{/other_user}","gists_url":"https://api.github.com/users/jdk2pq/gists{/gist_id}","starred_url":"https://api.github.com/users/jdk2pq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdk2pq/subscriptions","organizations_url":"https://api.github.com/users/jdk2pq/orgs","repos_url":"https://api.github.com/users/jdk2pq/repos","events_url":"https://api.github.com/users/jdk2pq/events{/privacy}","received_events_url":"https://api.github.com/users/jdk2pq/received_events","type":"User","site_admin":false},"body":"Upon ingest, resolution is calculated with the BBOX, width, and height of the data. Then in lexi-encode and -decode methods, the calculated resolution is truncated to gain a little flexibility in querying for tiles. Additionally, the closest acceptable GeoHash is added to the enumerated GeoHashes to query with.","created_at":"2015-01-09T15:48:28Z","updated_at":"2015-01-09T21:32:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea0c129efc1e501304d6501cc622418dff14343e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/locationtech/geomesa/pulls/424/commits","review_comments_url":"https://api.github.com/repos/locationtech/geomesa/pulls/424/comments","review_comment_url":"https://api.github.com/repos/locationtech/geomesa/pulls/comments/{number}","comments_url":"https://api.github.com/repos/locationtech/geomesa/issues/424/comments","statuses_url":"https://api.github.com/repos/locationtech/geomesa/statuses/36c9a53f165f4f1e3410badf774be1b5b645f70f","head":{"label":"jdk2pq:fcr_resolution","ref":"fcr_resolution","sha":"36c9a53f165f4f1e3410badf774be1b5b645f70f","user":{"login":"jdk2pq","id":1759726,"avatar_url":"https://avatars.githubusercontent.com/u/1759726?v=3","gravatar_id":"","url":"https://api.github.com/users/jdk2pq","html_url":"https://github.com/jdk2pq","followers_url":"https://api.github.com/users/jdk2pq/followers","following_url":"https://api.github.com/users/jdk2pq/following{/other_user}","gists_url":"https://api.github.com/users/jdk2pq/gists{/gist_id}","starred_url":"https://api.github.com/users/jdk2pq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdk2pq/subscriptions","organizations_url":"https://api.github.com/users/jdk2pq/orgs","repos_url":"https://api.github.com/users/jdk2pq/repos","events_url":"https://api.github.com/users/jdk2pq/events{/privacy}","received_events_url":"https://api.github.com/users/jdk2pq/received_events","type":"User","site_admin":false},"repo":{"id":21828819,"name":"geomesa","full_name":"jdk2pq/geomesa","owner":{"login":"jdk2pq","id":1759726,"avatar_url":"https://avatars.githubusercontent.com/u/1759726?v=3","gravatar_id":"","url":"https://api.github.com/users/jdk2pq","html_url":"https://github.com/jdk2pq","followers_url":"https://api.github.com/users/jdk2pq/followers","following_url":"https://api.github.com/users/jdk2pq/following{/other_user}","gists_url":"https://api.github.com/users/jdk2pq/gists{/gist_id}","starred_url":"https://api.github.com/users/jdk2pq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdk2pq/subscriptions","organizations_url":"https://api.github.com/users/jdk2pq/orgs","repos_url":"https://api.github.com/users/jdk2pq/repos","events_url":"https://api.github.com/users/jdk2pq/events{/privacy}","received_events_url":"https://api.github.com/users/jdk2pq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jdk2pq/geomesa","description":"","fork":true,"url":"https://api.github.com/repos/jdk2pq/geomesa","forks_url":"https://api.github.com/repos/jdk2pq/geomesa/forks","keys_url":"https://api.github.com/repos/jdk2pq/geomesa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdk2pq/geomesa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdk2pq/geomesa/teams","hooks_url":"https://api.github.com/repos/jdk2pq/geomesa/hooks","issue_events_url":"https://api.github.com/repos/jdk2pq/geomesa/issues/events{/number}","events_url":"https://api.github.com/repos/jdk2pq/geomesa/events","assignees_url":"https://api.github.com/repos/jdk2pq/geomesa/assignees{/user}","branches_url":"https://api.github.com/repos/jdk2pq/geomesa/branches{/branch}","tags_url":"https://api.github.com/repos/jdk2pq/geomesa/tags","blobs_url":"https://api.github.com/repos/jdk2pq/geomesa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdk2pq/geomesa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdk2pq/geomesa/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdk2pq/geomesa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdk2pq/geomesa/statuses/{sha}","languages_url":"https://api.github.com/repos/jdk2pq/geomesa/languages","stargazers_url":"https://api.github.com/repos/jdk2pq/geomesa/stargazers","contributors_url":"https://api.github.com/repos/jdk2pq/geomesa/contributors","subscribers_url":"https://api.github.com/repos/jdk2pq/geomesa/subscribers","subscription_url":"https://api.github.com/repos/jdk2pq/geomesa/subscription","commits_url":"https://api.github.com/repos/jdk2pq/geomesa/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdk2pq/geomesa/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdk2pq/geomesa/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdk2pq/geomesa/issues/comments/{number}","contents_url":"https://api.github.com/repos/jdk2pq/geomesa/contents/{+path}","compare_url":"https://api.github.com/repos/jdk2pq/geomesa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdk2pq/geomesa/merges","archive_url":"https://api.github.com/repos/jdk2pq/geomesa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdk2pq/geomesa/downloads","issues_url":"https://api.github.com/repos/jdk2pq/geomesa/issues{/number}","pulls_url":"https://api.github.com/repos/jdk2pq/geomesa/pulls{/number}","milestones_url":"https://api.github.com/repos/jdk2pq/geomesa/milestones{/number}","notifications_url":"https://api.github.com/repos/jdk2pq/geomesa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdk2pq/geomesa/labels{/name}","releases_url":"https://api.github.com/repos/jdk2pq/geomesa/releases{/id}","created_at":"2014-07-14T17:34:44Z","updated_at":"2014-12-09T14:56:16Z","pushed_at":"2015-01-09T15:47:27Z","git_url":"git://github.com/jdk2pq/geomesa.git","ssh_url":"git@github.com:jdk2pq/geomesa.git","clone_url":"https://github.com/jdk2pq/geomesa.git","svn_url":"https://github.com/jdk2pq/geomesa","homepage":null,"size":94007,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"accumulo1.5.x/1.x"}},"base":{"label":"locationtech:f_wcs_3","ref":"f_wcs_3","sha":"1156b275b21f2ff5f4ce583e6696ba3c25e18fca","user":{"login":"locationtech","id":1991411,"avatar_url":"https://avatars.githubusercontent.com/u/1991411?v=3","gravatar_id":"","url":"https://api.github.com/users/locationtech","html_url":"https://github.com/locationtech","followers_url":"https://api.github.com/users/locationtech/followers","following_url":"https://api.github.com/users/locationtech/following{/other_user}","gists_url":"https://api.github.com/users/locationtech/gists{/gist_id}","starred_url":"https://api.github.com/users/locationtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/locationtech/subscriptions","organizations_url":"https://api.github.com/users/locationtech/orgs","repos_url":"https://api.github.com/users/locationtech/repos","events_url":"https://api.github.com/users/locationtech/events{/privacy}","received_events_url":"https://api.github.com/users/locationtech/received_events","type":"Organization","site_admin":false},"repo":{"id":13226069,"name":"geomesa","full_name":"locationtech/geomesa","owner":{"login":"locationtech","id":1991411,"avatar_url":"https://avatars.githubusercontent.com/u/1991411?v=3","gravatar_id":"","url":"https://api.github.com/users/locationtech","html_url":"https://github.com/locationtech","followers_url":"https://api.github.com/users/locationtech/followers","following_url":"https://api.github.com/users/locationtech/following{/other_user}","gists_url":"https://api.github.com/users/locationtech/gists{/gist_id}","starred_url":"https://api.github.com/users/locationtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/locationtech/subscriptions","organizations_url":"https://api.github.com/users/locationtech/orgs","repos_url":"https://api.github.com/users/locationtech/repos","events_url":"https://api.github.com/users/locationtech/events{/privacy}","received_events_url":"https://api.github.com/users/locationtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/locationtech/geomesa","description":"","fork":false,"url":"https://api.github.com/repos/locationtech/geomesa","forks_url":"https://api.github.com/repos/locationtech/geomesa/forks","keys_url":"https://api.github.com/repos/locationtech/geomesa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/locationtech/geomesa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/locationtech/geomesa/teams","hooks_url":"https://api.github.com/repos/locationtech/geomesa/hooks","issue_events_url":"https://api.github.com/repos/locationtech/geomesa/issues/events{/number}","events_url":"https://api.github.com/repos/locationtech/geomesa/events","assignees_url":"https://api.github.com/repos/locationtech/geomesa/assignees{/user}","branches_url":"https://api.github.com/repos/locationtech/geomesa/branches{/branch}","tags_url":"https://api.github.com/repos/locationtech/geomesa/tags","blobs_url":"https://api.github.com/repos/locationtech/geomesa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/locationtech/geomesa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/locationtech/geomesa/git/refs{/sha}","trees_url":"https://api.github.com/repos/locationtech/geomesa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/locationtech/geomesa/statuses/{sha}","languages_url":"https://api.github.com/repos/locationtech/geomesa/languages","stargazers_url":"https://api.github.com/repos/locationtech/geomesa/stargazers","contributors_url":"https://api.github.com/repos/locationtech/geomesa/contributors","subscribers_url":"https://api.github.com/repos/locationtech/geomesa/subscribers","subscription_url":"https://api.github.com/repos/locationtech/geomesa/subscription","commits_url":"https://api.github.com/repos/locationtech/geomesa/commits{/sha}","git_commits_url":"https://api.github.com/repos/locationtech/geomesa/git/commits{/sha}","comments_url":"https://api.github.com/repos/locationtech/geomesa/comments{/number}","issue_comment_url":"https://api.github.com/repos/locationtech/geomesa/issues/comments/{number}","contents_url":"https://api.github.com/repos/locationtech/geomesa/contents/{+path}","compare_url":"https://api.github.com/repos/locationtech/geomesa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/locationtech/geomesa/merges","archive_url":"https://api.github.com/repos/locationtech/geomesa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/locationtech/geomesa/downloads","issues_url":"https://api.github.com/repos/locationtech/geomesa/issues{/number}","pulls_url":"https://api.github.com/repos/locationtech/geomesa/pulls{/number}","milestones_url":"https://api.github.com/repos/locationtech/geomesa/milestones{/number}","notifications_url":"https://api.github.com/repos/locationtech/geomesa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/locationtech/geomesa/labels{/name}","releases_url":"https://api.github.com/repos/locationtech/geomesa/releases{/id}","created_at":"2013-09-30T20:13:46Z","updated_at":"2015-01-08T18:50:52Z","pushed_at":"2015-01-09T20:59:49Z","git_url":"git://github.com/locationtech/geomesa.git","ssh_url":"git@github.com:locationtech/geomesa.git","clone_url":"https://github.com/locationtech/geomesa.git","svn_url":"https://github.com/locationtech/geomesa","homepage":null,"size":14450,"stargazers_count":42,"watchers_count":42,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":31,"mirror_url":null,"open_issues_count":7,"forks":31,"open_issues":7,"watchers":42,"default_branch":"accumulo1.5.x/1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/424"},"html":{"href":"https://github.com/locationtech/geomesa/pull/424"},"issue":{"href":"https://api.github.com/repos/locationtech/geomesa/issues/424"},"comments":{"href":"https://api.github.com/repos/locationtech/geomesa/issues/424/comments"},"review_comments":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/424/comments"},"review_comment":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/424/commits"},"statuses":{"href":"https://api.github.com/repos/locationtech/geomesa/statuses/36c9a53f165f4f1e3410badf774be1b5b645f70f"}}}}