{"action":"created","comment":{"url":"https://api.github.com/repos/mapbox/raster-tile-query/pulls/comments/138954660","pull_request_review_id":62821075,"id":138954660,"diff_hunk":"@@ -2,4 +2,64 @@\n raster-tile-query\n =================\n \n-raster-tile-query allows you to query raster tiles and return pixel values at specific lng, lats\n+:warning: **This project is a proof of concept and not intended for production use.** :warning:\n+\n+If you are looking to just get pixel values from an image, we recommend using [Node Mapnik](http://mapnik.org/documentation/node-mapnik/) and [sphericalmercator](https://github.com/mapbox/sphericalmercator) directly instead of this library. This is explained below.\n+\n+To query raster tiles at particular longitudes and latitudes, you'll need to know the X, Y, Z, and pixel size of your image tile to be able to interpolate which relative pixel to get information from. XYZ info is generally found in the request URL of your tile like this:\n+\n+```\n+https://api.mapbox.com/v4/mapbox.streets/3/2/3.png?access_token={token}","path":"README.md","position":null,"original_position":12,"commit_id":"7cda3ffbfea5c0ae6c8dd246485b1a4a65694150","original_commit_id":"7d22e19152f8963981fa991a7b54df2d9e3e81d9","user":{"login":"mapsam","id":1943001,"avatar_url":"https://avatars2.githubusercontent.com/u/1943001?v=4","gravatar_id":"","url":"https://api.github.com/users/mapsam","html_url":"https://github.com/mapsam","followers_url":"https://api.github.com/users/mapsam/followers","following_url":"https://api.github.com/users/mapsam/following{/other_user}","gists_url":"https://api.github.com/users/mapsam/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsam/subscriptions","organizations_url":"https://api.github.com/users/mapsam/orgs","repos_url":"https://api.github.com/users/mapsam/repos","events_url":"https://api.github.com/users/mapsam/events{/privacy}","received_events_url":"https://api.github.com/users/mapsam/received_events","type":"User","site_admin":false},"body":"Great call - I had thought I put that URL in here actually. I've updated with the pngraw and a link to the Mapbox Terrain RGB blog post","created_at":"2017-09-14T17:09:19Z","updated_at":"2017-09-14T17:09:19Z","html_url":"https://github.com/mapbox/raster-tile-query/pull/16#discussion_r138954660","pull_request_url":"https://api.github.com/repos/mapbox/raster-tile-query/pulls/16","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mapbox/raster-tile-query/pulls/comments/138954660"},"html":{"href":"https://github.com/mapbox/raster-tile-query/pull/16#discussion_r138954660"},"pull_request":{"href":"https://api.github.com/repos/mapbox/raster-tile-query/pulls/16"}},"in_reply_to_id":138953882},"pull_request":{"url":"https://api.github.com/repos/mapbox/raster-tile-query/pulls/16","id":141125774,"html_url":"https://github.com/mapbox/raster-tile-query/pull/16","diff_url":"https://github.com/mapbox/raster-tile-query/pull/16.diff","patch_url":"https://github.com/mapbox/raster-tile-query/pull/16.patch","issue_url":"https://api.github.com/repos/mapbox/raster-tile-query/issues/16","number":16,"state":"open","locked":false,"title":"update README","user":{"login":"mapsam","id":1943001,"avatar_url":"https://avatars2.githubusercontent.com/u/1943001?v=4","gravatar_id":"","url":"https://api.github.com/users/mapsam","html_url":"https://github.com/mapsam","followers_url":"https://api.github.com/users/mapsam/followers","following_url":"https://api.github.com/users/mapsam/following{/other_user}","gists_url":"https://api.github.com/users/mapsam/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsam/subscriptions","organizations_url":"https://api.github.com/users/mapsam/orgs","repos_url":"https://api.github.com/users/mapsam/repos","events_url":"https://api.github.com/users/mapsam/events{/privacy}","received_events_url":"https://api.github.com/users/mapsam/received_events","type":"User","site_admin":false},"body":"Updating README to include an example function of how to do this without raster tile query, which is an experiment and does a great deal more than what most folks need.\r\n\r\ncc @dnomadb @malwoodsantoro ","created_at":"2017-09-14T16:51:51Z","updated_at":"2017-09-14T17:09:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62fc8254a698c71a310d4eeeff4eeca09a3c4a3a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"malwoodsantoro","id":19801577,"avatar_url":"https://avatars3.githubusercontent.com/u/19801577?v=4","gravatar_id":"","url":"https://api.github.com/users/malwoodsantoro","html_url":"https://github.com/malwoodsantoro","followers_url":"https://api.github.com/users/malwoodsantoro/followers","following_url":"https://api.github.com/users/malwoodsantoro/following{/other_user}","gists_url":"https://api.github.com/users/malwoodsantoro/gists{/gist_id}","starred_url":"https://api.github.com/users/malwoodsantoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malwoodsantoro/subscriptions","organizations_url":"https://api.github.com/users/malwoodsantoro/orgs","repos_url":"https://api.github.com/users/malwoodsantoro/repos","events_url":"https://api.github.com/users/malwoodsantoro/events{/privacy}","received_events_url":"https://api.github.com/users/malwoodsantoro/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/raster-tile-query/pulls/16/commits","review_comments_url":"https://api.github.com/repos/mapbox/raster-tile-query/pulls/16/comments","review_comment_url":"https://api.github.com/repos/mapbox/raster-tile-query/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/raster-tile-query/issues/16/comments","statuses_url":"https://api.github.com/repos/mapbox/raster-tile-query/statuses/7cda3ffbfea5c0ae6c8dd246485b1a4a65694150","head":{"label":"mapbox:bunk","ref":"bunk","sha":"7cda3ffbfea5c0ae6c8dd246485b1a4a65694150","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":25268002,"name":"raster-tile-query","full_name":"mapbox/raster-tile-query","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/raster-tile-query","description":"raster-tile-query allows you to query raster tiles and return pixel values at specific lng, lats","fork":false,"url":"https://api.github.com/repos/mapbox/raster-tile-query","forks_url":"https://api.github.com/repos/mapbox/raster-tile-query/forks","keys_url":"https://api.github.com/repos/mapbox/raster-tile-query/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/raster-tile-query/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/raster-tile-query/teams","hooks_url":"https://api.github.com/repos/mapbox/raster-tile-query/hooks","issue_events_url":"https://api.github.com/repos/mapbox/raster-tile-query/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/raster-tile-query/events","assignees_url":"https://api.github.com/repos/mapbox/raster-tile-query/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/raster-tile-query/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/raster-tile-query/tags","blobs_url":"https://api.github.com/repos/mapbox/raster-tile-query/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/raster-tile-query/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/raster-tile-query/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/raster-tile-query/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/raster-tile-query/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/raster-tile-query/languages","stargazers_url":"https://api.github.com/repos/mapbox/raster-tile-query/stargazers","contributors_url":"https://api.github.com/repos/mapbox/raster-tile-query/contributors","subscribers_url":"https://api.github.com/repos/mapbox/raster-tile-query/subscribers","subscription_url":"https://api.github.com/repos/mapbox/raster-tile-query/subscription","commits_url":"https://api.github.com/repos/mapbox/raster-tile-query/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/raster-tile-query/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/raster-tile-query/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/raster-tile-query/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/raster-tile-query/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/raster-tile-query/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/raster-tile-query/merges","archive_url":"https://api.github.com/repos/mapbox/raster-tile-query/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/raster-tile-query/downloads","issues_url":"https://api.github.com/repos/mapbox/raster-tile-query/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/raster-tile-query/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/raster-tile-query/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/raster-tile-query/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/raster-tile-query/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/raster-tile-query/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/raster-tile-query/deployments","created_at":"2014-10-15T18:33:57Z","updated_at":"2017-09-10T11:01:21Z","pushed_at":"2017-09-14T17:09:05Z","git_url":"git://github.com/mapbox/raster-tile-query.git","ssh_url":"git@github.com:mapbox/raster-tile-query.git","clone_url":"https://github.com/mapbox/raster-tile-query.git","svn_url":"https://github.com/mapbox/raster-tile-query","homepage":null,"size":894,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"1b5d6595522806852ae51e5232d8ba8445eafc46","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":25268002,"name":"raster-tile-query","full_name":"mapbox/raster-tile-query","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/raster-tile-query","description":"raster-tile-query allows you to query raster tiles and return pixel values at specific lng, lats","fork":false,"url":"https://api.github.com/repos/mapbox/raster-tile-query","forks_url":"https://api.github.com/repos/mapbox/raster-tile-query/forks","keys_url":"https://api.github.com/repos/mapbox/raster-tile-query/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/raster-tile-query/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/raster-tile-query/teams","hooks_url":"https://api.github.com/repos/mapbox/raster-tile-query/hooks","issue_events_url":"https://api.github.com/repos/mapbox/raster-tile-query/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/raster-tile-query/events","assignees_url":"https://api.github.com/repos/mapbox/raster-tile-query/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/raster-tile-query/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/raster-tile-query/tags","blobs_url":"https://api.github.com/repos/mapbox/raster-tile-query/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/raster-tile-query/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/raster-tile-query/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/raster-tile-query/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/raster-tile-query/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/raster-tile-query/languages","stargazers_url":"https://api.github.com/repos/mapbox/raster-tile-query/stargazers","contributors_url":"https://api.github.com/repos/mapbox/raster-tile-query/contributors","subscribers_url":"https://api.github.com/repos/mapbox/raster-tile-query/subscribers","subscription_url":"https://api.github.com/repos/mapbox/raster-tile-query/subscription","commits_url":"https://api.github.com/repos/mapbox/raster-tile-query/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/raster-tile-query/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/raster-tile-query/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/raster-tile-query/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/raster-tile-query/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/raster-tile-query/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/raster-tile-query/merges","archive_url":"https://api.github.com/repos/mapbox/raster-tile-query/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/raster-tile-query/downloads","issues_url":"https://api.github.com/repos/mapbox/raster-tile-query/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/raster-tile-query/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/raster-tile-query/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/raster-tile-query/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/raster-tile-query/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/raster-tile-query/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/raster-tile-query/deployments","created_at":"2014-10-15T18:33:57Z","updated_at":"2017-09-10T11:01:21Z","pushed_at":"2017-09-14T17:09:05Z","git_url":"git://github.com/mapbox/raster-tile-query.git","ssh_url":"git@github.com:mapbox/raster-tile-query.git","clone_url":"https://github.com/mapbox/raster-tile-query.git","svn_url":"https://github.com/mapbox/raster-tile-query","homepage":null,"size":894,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/raster-tile-query/pulls/16"},"html":{"href":"https://github.com/mapbox/raster-tile-query/pull/16"},"issue":{"href":"https://api.github.com/repos/mapbox/raster-tile-query/issues/16"},"comments":{"href":"https://api.github.com/repos/mapbox/raster-tile-query/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/raster-tile-query/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/raster-tile-query/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/raster-tile-query/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/raster-tile-query/statuses/7cda3ffbfea5c0ae6c8dd246485b1a4a65694150"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"mapsam"}}