{"action":"created","comment":{"url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/comments/90010601","pull_request_review_id":10535781,"id":90010601,"diff_hunk":"@@ -3,6 +3,12 @@\n ## OpenStreetMap data\n You need OpenStreetMap data loaded into a PostGIS database (see below for [dependencies](#dependencies)). These stylesheets currently work only with the osm2pgsql defaults (i.e. database name is `gis`, table names are `planet_osm_point`, etc).\n \n+Before loading the data, install the hstore extension into the database:\n+\n+```\n+psql -d gis -c \"CREATE EXTENSION hstore;\"\n+```\n+\n It's probably easiest to grab an PBF of OSM data from [Mapzen](https://mapzen.com/metro-extracts/) or [geofabrik](http://download.geofabrik.de/). Once you've set up your PostGIS database, import with osm2pgsql:","path":"INSTALL.md","position":10,"original_position":10,"commit_id":"9a1dbe9ea114f26e38eec9044cc71a5f27ab9b8c","original_commit_id":"9a1dbe9ea114f26e38eec9044cc71a5f27ab9b8c","user":{"login":"kocio-pl","id":5439713,"avatar_url":"https://avatars.githubusercontent.com/u/5439713?v=3","gravatar_id":"","url":"https://api.github.com/users/kocio-pl","html_url":"https://github.com/kocio-pl","followers_url":"https://api.github.com/users/kocio-pl/followers","following_url":"https://api.github.com/users/kocio-pl/following{/other_user}","gists_url":"https://api.github.com/users/kocio-pl/gists{/gist_id}","starred_url":"https://api.github.com/users/kocio-pl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kocio-pl/subscriptions","organizations_url":"https://api.github.com/users/kocio-pl/orgs","repos_url":"https://api.github.com/users/kocio-pl/repos","events_url":"https://api.github.com/users/kocio-pl/events{/privacy}","received_events_url":"https://api.github.com/users/kocio-pl/received_events","type":"User","site_admin":false},"body":"I also don't understand. IMO installing extensions is part of setting up the database, so importing is just what follows this step.","created_at":"2016-11-29T13:44:14Z","updated_at":"2016-11-29T13:44:14Z","html_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/2456#discussion_r90010601","pull_request_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/2456","_links":{"self":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/comments/90010601"},"html":{"href":"https://github.com/gravitystorm/openstreetmap-carto/pull/2456#discussion_r90010601"},"pull_request":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/2456"}}},"pull_request":{"url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/2456","id":94539785,"html_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/2456","diff_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/2456.diff","patch_url":"https://github.com/gravitystorm/openstreetmap-carto/pull/2456.patch","issue_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/2456","number":2456,"state":"open","locked":false,"title":"Mention that hstore should be installed","user":{"login":"math1985","id":5251909,"avatar_url":"https://avatars.githubusercontent.com/u/5251909?v=3","gravatar_id":"","url":"https://api.github.com/users/math1985","html_url":"https://github.com/math1985","followers_url":"https://api.github.com/users/math1985/followers","following_url":"https://api.github.com/users/math1985/following{/other_user}","gists_url":"https://api.github.com/users/math1985/gists{/gist_id}","starred_url":"https://api.github.com/users/math1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/math1985/subscriptions","organizations_url":"https://api.github.com/users/math1985/orgs","repos_url":"https://api.github.com/users/math1985/repos","events_url":"https://api.github.com/users/math1985/events{/privacy}","received_events_url":"https://api.github.com/users/math1985/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-21T00:26:24Z","updated_at":"2016-11-29T13:44:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b487af18f1e600ffafb35d9354687bd883f74776","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/2456/commits","review_comments_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/2456/comments","review_comment_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/2456/comments","statuses_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/statuses/9a1dbe9ea114f26e38eec9044cc71a5f27ab9b8c","head":{"label":"math1985:lua-documentation","ref":"lua-documentation","sha":"9a1dbe9ea114f26e38eec9044cc71a5f27ab9b8c","user":{"login":"math1985","id":5251909,"avatar_url":"https://avatars.githubusercontent.com/u/5251909?v=3","gravatar_id":"","url":"https://api.github.com/users/math1985","html_url":"https://github.com/math1985","followers_url":"https://api.github.com/users/math1985/followers","following_url":"https://api.github.com/users/math1985/following{/other_user}","gists_url":"https://api.github.com/users/math1985/gists{/gist_id}","starred_url":"https://api.github.com/users/math1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/math1985/subscriptions","organizations_url":"https://api.github.com/users/math1985/orgs","repos_url":"https://api.github.com/users/math1985/repos","events_url":"https://api.github.com/users/math1985/events{/privacy}","received_events_url":"https://api.github.com/users/math1985/received_events","type":"User","site_admin":false},"repo":{"id":12184725,"name":"openstreetmap-carto","full_name":"math1985/openstreetmap-carto","owner":{"login":"math1985","id":5251909,"avatar_url":"https://avatars.githubusercontent.com/u/5251909?v=3","gravatar_id":"","url":"https://api.github.com/users/math1985","html_url":"https://github.com/math1985","followers_url":"https://api.github.com/users/math1985/followers","following_url":"https://api.github.com/users/math1985/following{/other_user}","gists_url":"https://api.github.com/users/math1985/gists{/gist_id}","starred_url":"https://api.github.com/users/math1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/math1985/subscriptions","organizations_url":"https://api.github.com/users/math1985/orgs","repos_url":"https://api.github.com/users/math1985/repos","events_url":"https://api.github.com/users/math1985/events{/privacy}","received_events_url":"https://api.github.com/users/math1985/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/math1985/openstreetmap-carto","description":"A project to re-implement the standard OpenStreetMap mapnik style, in CartoCSS","fork":true,"url":"https://api.github.com/repos/math1985/openstreetmap-carto","forks_url":"https://api.github.com/repos/math1985/openstreetmap-carto/forks","keys_url":"https://api.github.com/repos/math1985/openstreetmap-carto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/math1985/openstreetmap-carto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/math1985/openstreetmap-carto/teams","hooks_url":"https://api.github.com/repos/math1985/openstreetmap-carto/hooks","issue_events_url":"https://api.github.com/repos/math1985/openstreetmap-carto/issues/events{/number}","events_url":"https://api.github.com/repos/math1985/openstreetmap-carto/events","assignees_url":"https://api.github.com/repos/math1985/openstreetmap-carto/assignees{/user}","branches_url":"https://api.github.com/repos/math1985/openstreetmap-carto/branches{/branch}","tags_url":"https://api.github.com/repos/math1985/openstreetmap-carto/tags","blobs_url":"https://api.github.com/repos/math1985/openstreetmap-carto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/math1985/openstreetmap-carto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/math1985/openstreetmap-carto/git/refs{/sha}","trees_url":"https://api.github.com/repos/math1985/openstreetmap-carto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/math1985/openstreetmap-carto/statuses/{sha}","languages_url":"https://api.github.com/repos/math1985/openstreetmap-carto/languages","stargazers_url":"https://api.github.com/repos/math1985/openstreetmap-carto/stargazers","contributors_url":"https://api.github.com/repos/math1985/openstreetmap-carto/contributors","subscribers_url":"https://api.github.com/repos/math1985/openstreetmap-carto/subscribers","subscription_url":"https://api.github.com/repos/math1985/openstreetmap-carto/subscription","commits_url":"https://api.github.com/repos/math1985/openstreetmap-carto/commits{/sha}","git_commits_url":"https://api.github.com/repos/math1985/openstreetmap-carto/git/commits{/sha}","comments_url":"https://api.github.com/repos/math1985/openstreetmap-carto/comments{/number}","issue_comment_url":"https://api.github.com/repos/math1985/openstreetmap-carto/issues/comments{/number}","contents_url":"https://api.github.com/repos/math1985/openstreetmap-carto/contents/{+path}","compare_url":"https://api.github.com/repos/math1985/openstreetmap-carto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/math1985/openstreetmap-carto/merges","archive_url":"https://api.github.com/repos/math1985/openstreetmap-carto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/math1985/openstreetmap-carto/downloads","issues_url":"https://api.github.com/repos/math1985/openstreetmap-carto/issues{/number}","pulls_url":"https://api.github.com/repos/math1985/openstreetmap-carto/pulls{/number}","milestones_url":"https://api.github.com/repos/math1985/openstreetmap-carto/milestones{/number}","notifications_url":"https://api.github.com/repos/math1985/openstreetmap-carto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/math1985/openstreetmap-carto/labels{/name}","releases_url":"https://api.github.com/repos/math1985/openstreetmap-carto/releases{/id}","deployments_url":"https://api.github.com/repos/math1985/openstreetmap-carto/deployments","created_at":"2013-08-17T19:53:56Z","updated_at":"2016-11-18T23:38:54Z","pushed_at":"2016-11-21T00:26:06Z","git_url":"git://github.com/math1985/openstreetmap-carto.git","ssh_url":"git@github.com:math1985/openstreetmap-carto.git","clone_url":"https://github.com/math1985/openstreetmap-carto.git","svn_url":"https://github.com/math1985/openstreetmap-carto","homepage":null,"size":7637,"stargazers_count":1,"watchers_count":1,"language":"CartoCSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"gravitystorm:lua","ref":"lua","sha":"ac5976acea253848b42f5031e361f31ec95db3ae","user":{"login":"gravitystorm","id":360803,"avatar_url":"https://avatars.githubusercontent.com/u/360803?v=3","gravatar_id":"","url":"https://api.github.com/users/gravitystorm","html_url":"https://github.com/gravitystorm","followers_url":"https://api.github.com/users/gravitystorm/followers","following_url":"https://api.github.com/users/gravitystorm/following{/other_user}","gists_url":"https://api.github.com/users/gravitystorm/gists{/gist_id}","starred_url":"https://api.github.com/users/gravitystorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravitystorm/subscriptions","organizations_url":"https://api.github.com/users/gravitystorm/orgs","repos_url":"https://api.github.com/users/gravitystorm/repos","events_url":"https://api.github.com/users/gravitystorm/events{/privacy}","received_events_url":"https://api.github.com/users/gravitystorm/received_events","type":"User","site_admin":false},"repo":{"id":6707453,"name":"openstreetmap-carto","full_name":"gravitystorm/openstreetmap-carto","owner":{"login":"gravitystorm","id":360803,"avatar_url":"https://avatars.githubusercontent.com/u/360803?v=3","gravatar_id":"","url":"https://api.github.com/users/gravitystorm","html_url":"https://github.com/gravitystorm","followers_url":"https://api.github.com/users/gravitystorm/followers","following_url":"https://api.github.com/users/gravitystorm/following{/other_user}","gists_url":"https://api.github.com/users/gravitystorm/gists{/gist_id}","starred_url":"https://api.github.com/users/gravitystorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravitystorm/subscriptions","organizations_url":"https://api.github.com/users/gravitystorm/orgs","repos_url":"https://api.github.com/users/gravitystorm/repos","events_url":"https://api.github.com/users/gravitystorm/events{/privacy}","received_events_url":"https://api.github.com/users/gravitystorm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gravitystorm/openstreetmap-carto","description":"A general-purpose OpenStreetMap mapnik style, in CartoCSS","fork":false,"url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto","forks_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/forks","keys_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/teams","hooks_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/hooks","issue_events_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/events{/number}","events_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/events","assignees_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/assignees{/user}","branches_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/branches{/branch}","tags_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/tags","blobs_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/git/refs{/sha}","trees_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/statuses/{sha}","languages_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/languages","stargazers_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/stargazers","contributors_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/contributors","subscribers_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/subscribers","subscription_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/subscription","commits_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/commits{/sha}","git_commits_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/git/commits{/sha}","comments_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/comments{/number}","issue_comment_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/comments{/number}","contents_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/contents/{+path}","compare_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/merges","archive_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/downloads","issues_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues{/number}","pulls_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls{/number}","milestones_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/milestones{/number}","notifications_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/labels{/name}","releases_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/releases{/id}","deployments_url":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/deployments","created_at":"2012-11-15T16:06:16Z","updated_at":"2016-11-28T12:52:23Z","pushed_at":"2016-11-29T13:36:03Z","git_url":"git://github.com/gravitystorm/openstreetmap-carto.git","ssh_url":"git@github.com:gravitystorm/openstreetmap-carto.git","clone_url":"https://github.com/gravitystorm/openstreetmap-carto.git","svn_url":"https://github.com/gravitystorm/openstreetmap-carto","homepage":"","size":12175,"stargazers_count":490,"watchers_count":490,"language":"CartoCSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":246,"mirror_url":null,"open_issues_count":388,"forks":246,"open_issues":388,"watchers":490,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/2456"},"html":{"href":"https://github.com/gravitystorm/openstreetmap-carto/pull/2456"},"issue":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/2456"},"comments":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/issues/2456/comments"},"review_comments":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/2456/comments"},"review_comment":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/pulls/2456/commits"},"statuses":{"href":"https://api.github.com/repos/gravitystorm/openstreetmap-carto/statuses/9a1dbe9ea114f26e38eec9044cc71a5f27ab9b8c"}}}}
{"actor":{"display_login":"kocio-pl"}}