{"action":"opened","number":425,"pull_request":{"url":"https://api.github.com/repos/mapzen/vector-datasource/pulls/425","id":52878861,"html_url":"https://github.com/mapzen/vector-datasource/pull/425","diff_url":"https://github.com/mapzen/vector-datasource/pull/425.diff","patch_url":"https://github.com/mapzen/vector-datasource/pull/425.patch","issue_url":"https://api.github.com/repos/mapzen/vector-datasource/issues/425","number":425,"state":"open","locked":false,"title":"Add beach AOIs","user":{"login":"zerebubuth","id":271360,"avatar_url":"https://avatars.githubusercontent.com/u/271360?v=3","gravatar_id":"","url":"https://api.github.com/users/zerebubuth","html_url":"https://github.com/zerebubuth","followers_url":"https://api.github.com/users/zerebubuth/followers","following_url":"https://api.github.com/users/zerebubuth/following{/other_user}","gists_url":"https://api.github.com/users/zerebubuth/gists{/gist_id}","starred_url":"https://api.github.com/users/zerebubuth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerebubuth/subscriptions","organizations_url":"https://api.github.com/users/zerebubuth/orgs","repos_url":"https://api.github.com/users/zerebubuth/repos","events_url":"https://api.github.com/users/zerebubuth/events{/privacy}","received_events_url":"https://api.github.com/users/zerebubuth/received_events","type":"User","site_admin":false},"body":"Add beach to landuse and POI functions, and expose the surface tag on landuses for use in determining beach type.\r\n\r\nRequires a migration. I've been using:\r\n\r\n```SQL\r\nBEGIN;\r\n\r\nCREATE OR REPLACE FUNCTION mz_calculate_is_landuse(\r\n    landuse_val text, leisure_val text, natural_val text, highway_val text,\r\n    amenity_val text, aeroway_val text, tourism_val text, man_made_val text,\r\n    power_val text, boundary_val text)\r\nRETURNS BOOLEAN AS $$\r\nBEGIN\r\n    RETURN\r\n        landuse_val IN ('park', 'forest', 'residential', 'retail', 'commercial',\r\n                        'industrial', 'railway', 'cemetery', 'grass', 'farmyard',\r\n                        'farm', 'farmland', 'wood', 'meadow', 'village_green',\r\n                        'recreation_ground', 'allotments', 'quarry', 'urban', 'rural'\r\n                        'military')\r\n     OR leisure_val IN ('park', 'garden', 'playground', 'golf_course', 'sports_centre',\r\n                        'pitch', 'stadium', 'common', 'nature_reserve')\r\n     OR natural_val IN ('wood', 'land', 'scrub', 'wetland', 'glacier', 'beach')\r\n     OR highway_val IN ('pedestrian', 'footway')\r\n     OR amenity_val IN ('university', 'school', 'college', 'library', 'fuel',\r\n                        'parking', 'cinema', 'theatre', 'place_of_worship', 'hospital')\r\n     OR aeroway_val IN ('runway', 'taxiway', 'apron', 'aerodrome')\r\n     OR tourism_val IN ('zoo')\r\n     OR man_made_val IN ('pier', 'wastewater_plant', 'works', 'bridge', 'tower',\r\n                         'breakwater', 'water_works', 'groyne', 'dike', 'cutline')\r\n     OR power_val IN   ('plant', 'generator', 'substation', 'station', 'sub_station')\r\n     OR boundary_val IN ('national_park', 'protected_area');\r\nEND;\r\n$$ LANGUAGE plpgsql IMMUTABLE;\r\n\r\n-- calculate the collapse of several properties onto one string\r\n-- 'kind'. this involves a series of precedence choices, as\r\n-- it's possible for a feature to have values in several of\r\n-- these categories. in general, the \"most important\" should go\r\n-- first, or its presence should modify the later.\r\n--\r\n-- IF YOU UPDATE THIS, PLEASE UPDATE mz_calculate_is_landuse\r\n-- ABOVE!\r\nCREATE OR REPLACE FUNCTION mz_calculate_landuse_kind(\r\n  landuse_val text,\r\n  leisure_val text,\r\n  natural_val text,\r\n  highway_val text,\r\n  aeroway_val text,\r\n  amenity_val text,\r\n  tourism_val text,\r\n  man_made_val text,\r\n  power_val text,\r\n  boundary_val text)\r\nRETURNS text AS $$\r\nBEGIN\r\n  RETURN\r\n    CASE\r\n      WHEN boundary_val IN (\r\n        'national_park', 'protected_area')\r\n\tTHEN boundary_val\r\n      -- promote this above landuse as it's more specific, and we\r\n      -- don't want to lump nature reserves in with all of the\r\n      -- generic forests.\r\n      WHEN leisure_val = 'nature_reserve'\r\n        THEN leisure_val\r\n      WHEN landuse_val IN (\r\n        'park', 'forest', 'residential', 'retail', 'commercial', 'industrial',\r\n\t'railway', 'cemetery', 'grass', 'farmyard', 'farm', 'farmland', 'wood',\r\n\t'meadow', 'village_green', 'recreation_ground', 'allotments', 'quarry',\r\n\t'urban', 'rural', 'military')\r\n        THEN landuse_val\r\n      WHEN leisure_val IN (\r\n        'park', 'garden', 'playground', 'golf_course', 'sports_centre', 'pitch',\r\n\t'stadium', 'common')\r\n\tTHEN leisure_val\r\n      WHEN natural_val IN (\r\n        'wood', 'land', 'scrub', 'wetland', 'glacier', 'beach')\r\n\tTHEN natural_val\r\n      WHEN highway_val IN (\r\n        'pedestrian', 'footway')\r\n\tTHEN highway_val\r\n      WHEN amenity_val IN (\r\n        'university', 'school', 'college', 'library', 'fuel', 'parking',\r\n\t'cinema', 'theatre', 'place_of_worship', 'hospital')\r\n\tTHEN amenity_val\r\n      WHEN aeroway_val IN (\r\n        'runway', 'taxiway', 'apron', 'aerodrome')\r\n\tTHEN aeroway_val\r\n      WHEN tourism_val IN (\r\n        'zoo')\r\n\tTHEN tourism_val\r\n      WHEN man_made_val IN (\r\n        'pier', 'wastewater_plant', 'works', 'bridge', 'tower', 'breakwater',\r\n\t'water_works', 'groyne', 'dike', 'cutline')\r\n\tTHEN man_made_val\r\n      WHEN power_val IN (\r\n        'plant', 'generator', 'substation', 'station', 'sub_station')\r\n\tTHEN power_val\r\n      ELSE NULL END;\r\nEND;\r\n$$ LANGUAGE plpgsql IMMUTABLE;\r\n\r\nCREATE OR REPLACE FUNCTION mz_calculate_poi_level(\r\n    aerialway_val text,\r\n    aeroway_val text,\r\n    amenity_val text,\r\n    barrier_val text,\r\n    craft_val text,\r\n    highway_val text,\r\n    historic_val text,\r\n    leisure_val text,\r\n    lock_val text,\r\n    man_made_val text,\r\n    natural_val text,\r\n    office_val text,\r\n    power_val text,\r\n    railway_val text,\r\n    shop_val text,\r\n    tourism_val text,\r\n    waterway_val text,\r\n    way_area real\r\n)\r\nRETURNS REAL AS $$\r\nDECLARE\r\n  zoom REAL;\r\nBEGIN\r\n  zoom = mz_one_pixel_zoom(way_area);\r\n  RETURN\r\n    CASE\r\n      WHEN aeroway_val IN ('aerodrome', 'airport')\r\n        THEN LEAST(zoom + 4.12, 13)\r\n      WHEN amenity_val = 'hospital'\r\n        THEN LEAST(zoom + 3.32, 14)\r\n\r\n      WHEN natural_val IN ('peak', 'volcano')\r\n        THEN 11 -- these are generally point features\r\n      WHEN railway_val IN ('station')\r\n        THEN LEAST(zoom + 0.38, 13)\r\n      WHEN tourism_val = 'zoo'\r\n        THEN LEAST(zoom + 3.00, 15)\r\n      WHEN (natural_val IN ('spring')\r\n            OR railway_val IN ('level_crossing'))\r\n        THEN 14 -- these are generally points\r\n      WHEN amenity_val IN ('bank', 'cinema', 'courthouse', 'embassy',\r\n          'fire_station', 'fuel', 'library', 'police', 'post_office',\r\n\t  'theatre')\r\n        THEN LEAST(zoom + 2.7, 16)\r\n      WHEN amenity_val IN ('biergarten', 'pub', 'bar', 'restaurant',\r\n          'fast_food', 'cafe')\r\n        THEN LEAST(zoom + 2.50, 17)\r\n      WHEN (amenity_val IN ('pharmacy', 'veterinary')\r\n            OR craft_val IN ('brewery', 'carpenter', 'confectionery', 'dressmaker',\r\n                'electrician', 'gardener', 'handicraft', 'hvac', 'metal_construction',\r\n                'painter', 'photographer', 'photographic_laboratory', 'plumber',\r\n                'pottery', 'sawmill', 'shoemaker', 'stonemason', 'tailor', 'winery'))\r\n        THEN LEAST(zoom + 3.3, 17)\r\n      WHEN amenity_val  = 'nursing_home'     THEN LEAST(zoom + 1.25, 16)\r\n      WHEN shop_val     = 'music'            THEN LEAST(zoom + 1.27, 17)\r\n      WHEN amenity_val  = 'community_centre' THEN LEAST(zoom + 3.98, 17)\r\n      WHEN shop_val     = 'sports'           THEN LEAST(zoom + 1.53, 17)\r\n      WHEN amenity_val  = 'college'          THEN LEAST(zoom + 2.35, 16)\r\n      WHEN shop_val     = 'mall'             THEN LEAST(zoom + 2.74, 17)\r\n      WHEN leisure_val  = 'stadium'          THEN LEAST(zoom + 2.30, 15)\r\n      WHEN amenity_val  = 'university'       THEN LEAST(zoom + 2.55, 15)\r\n      WHEN tourism_val  = 'museum'           THEN LEAST(zoom + 1.43, 16)\r\n      WHEN historic_val = 'landmark'         THEN LEAST(zoom + 1.76, 15)\r\n      WHEN leisure_val  = 'marina'           THEN LEAST(zoom + 3.45, 17)\r\n      WHEN amenity_val  = 'place_of_worship' THEN LEAST(2 * zoom - 9.55, 17)\r\n      WHEN amenity_val  = 'townhall'         THEN LEAST(zoom + 1.85, 16)\r\n      WHEN shop_val     = 'laundry'          THEN LEAST(zoom + 4.90, 17)\r\n      WHEN shop_val     = 'dry_cleaning'     THEN LEAST(zoom + 4.90, 17)\r\n      WHEN amenity_val  = 'ferry_terminal'   THEN LEAST(zoom + 3.20, 15)\r\n      WHEN amenity_val  = 'school'           THEN LEAST(zoom + 2.30, 15)\r\n      WHEN natural_val  = 'beach'            THEN LEAST(zoom + 3.20, 14)\r\n      WHEN (barrier_val IN ('gate')\r\n            OR craft_val IN ('sawmill')\r\n            OR highway_val IN ('gate', 'mini_roundabout')\r\n            OR lock_val IN ('yes')\r\n            OR man_made_val IN ('lighthouse', 'power_wind')\r\n            OR natural_val IN ('cave_entrance')\r\n            OR power_val IN ('generator')\r\n            OR waterway_val IN ('lock')\r\n            OR aerialway_val IN ('station')\r\n            OR railway_val IN ('halt', 'tram_stop')\r\n            OR tourism_val IN ('alpine_hut'))\r\n        THEN 15\r\n      WHEN (aeroway_val IN ('helipad')\r\n                   OR amenity_val IN ('bus_station', 'car_sharing',\r\n                                      'picnic_site',\r\n                                      'prison', 'recycling', 'shelter')\r\n                   OR barrier_val IN ('block', 'bollard', 'lift_gate')\r\n                   OR craft_val IN ('brewery', 'winery', 'sawmill')\r\n                   OR highway_val IN ('ford')\r\n                   OR historic_val IN ('archaeological_site')\r\n                   OR man_made_val IN ('windmill')\r\n                   OR natural_val IN ('tree')\r\n                   OR shop_val IN ('department_store', 'supermarket')\r\n                   OR tourism_val IN ('camp_site', 'caravan_site', 'information', 'viewpoint')) THEN 16\r\n             WHEN (aeroway_val IN ('gate')\r\n                   OR amenity_val IN (\r\n                 'atm', 'bicycle_rental', 'bicycle_parking', 'bus_stop',\r\n                 'drinking_water', 'emergency_phone',\r\n                 'parking', 'post_box', 'telephone', 'theatre',\r\n                 'toilets')\r\n                   OR highway_val IN ('bus_stop', 'traffic_signals')\r\n                   OR historic_val IN ('memorial')\r\n                   OR leisure_val IN ('playground', 'slipway')\r\n                   OR man_made_val IN ('mast', 'water_tower')\r\n                   OR office_val IN ('accountant', 'administrative', 'advertising_agency',\r\n                'architect', 'association', 'company', 'consulting', 'educational_institution',\r\n                'employment_agency', 'estate_agent', 'financial', 'foundation', 'government',\r\n                'insurance', 'it', 'lawyer', 'newspaper', 'ngo', 'notary', 'physician',\r\n                'political_party', 'religion', 'research', 'tax_advisor', 'telecommunication',\r\n                'therapist', 'travel_agent', 'yes')\r\n                   OR shop_val IN ('bakery', 'bicycle', 'books', 'butcher', 'car', 'car_repair',\r\n                                 'clothes', 'computer', 'convenience',\r\n                                 'doityourself', 'dry_cleaning', 'fashion', 'florist', 'gift',\r\n                                 'greengrocer', 'hairdresser', 'jewelry', 'mobile_phone',\r\n                                 'optician', 'pet')\r\n                   OR tourism_val IN ('bed_and_breakfast', 'chalet', 'guest_house',\r\n                                    'hostel', 'hotel', 'motel')\r\n                   OR railway_val IN ('subway_entrance')) THEN 17\r\n             WHEN (amenity_val IN ('bench', 'waste_basket')) THEN 18\r\n             ELSE NULL END;\r\nEND;\r\n$$ LANGUAGE plpgsql IMMUTABLE;\r\n\r\nUPDATE planet_osm_point SET\r\n    mz_poi_min_zoom = mz_calculate_poi_level(\"aerialway\", \"aeroway\", \"amenity\", \"barrier\", \"craft\", \"highway\", \"historic\", \"leisure\", \"lock\", \"man_made\", \"natural\", \"office\", \"power\", \"railway\", \"shop\", \"tourism\", \"waterway\", 0::real)\r\n    WHERE \"natural\" = 'beach';\r\n\r\nUPDATE planet_osm_polygon SET\r\n    mz_is_landuse = TRUE,\r\n    mz_landuse_min_zoom = mz_calculate_landuse_min_zoom(\"landuse\", \"leisure\", \"natural\", \"highway\", \"amenity\", \"aeroway\", \"tourism\", \"man_made\", \"power\", \"boundary\", way_area),\r\n    mz_poi_min_zoom = mz_calculate_poi_level(\"aerialway\", \"aeroway\", \"amenity\", \"barrier\", \"craft\", \"highway\", \"historic\", \"leisure\", \"lock\", \"man_made\", \"natural\", \"office\", \"power\", \"railway\", \"shop\", \"tourism\", \"waterway\", way_area)\r\n    WHERE \"natural\" = 'beach';\r\n\r\nCOMMIT;\r\n```\r\n\r\nConnects to #366.\r\n\r\n@rmarianski could you review, please?\r\n","created_at":"2015-12-07T18:01:18Z","updated_at":"2015-12-07T18:01:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapzen/vector-datasource/pulls/425/commits","review_comments_url":"https://api.github.com/repos/mapzen/vector-datasource/pulls/425/comments","review_comment_url":"https://api.github.com/repos/mapzen/vector-datasource/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapzen/vector-datasource/issues/425/comments","statuses_url":"https://api.github.com/repos/mapzen/vector-datasource/statuses/d516db92009856a79894a00e7cf4e183e208c494","head":{"label":"mapzen:366-add-beach-aois","ref":"366-add-beach-aois","sha":"d516db92009856a79894a00e7cf4e183e208c494","user":{"login":"mapzen","id":5435747,"avatar_url":"https://avatars.githubusercontent.com/u/5435747?v=3","gravatar_id":"","url":"https://api.github.com/users/mapzen","html_url":"https://github.com/mapzen","followers_url":"https://api.github.com/users/mapzen/followers","following_url":"https://api.github.com/users/mapzen/following{/other_user}","gists_url":"https://api.github.com/users/mapzen/gists{/gist_id}","starred_url":"https://api.github.com/users/mapzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapzen/subscriptions","organizations_url":"https://api.github.com/users/mapzen/orgs","repos_url":"https://api.github.com/users/mapzen/repos","events_url":"https://api.github.com/users/mapzen/events{/privacy}","received_events_url":"https://api.github.com/users/mapzen/received_events","type":"Organization","site_admin":false},"repo":{"id":13446739,"name":"vector-datasource","full_name":"mapzen/vector-datasource","owner":{"login":"mapzen","id":5435747,"avatar_url":"https://avatars.githubusercontent.com/u/5435747?v=3","gravatar_id":"","url":"https://api.github.com/users/mapzen","html_url":"https://github.com/mapzen","followers_url":"https://api.github.com/users/mapzen/followers","following_url":"https://api.github.com/users/mapzen/following{/other_user}","gists_url":"https://api.github.com/users/mapzen/gists{/gist_id}","starred_url":"https://api.github.com/users/mapzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapzen/subscriptions","organizations_url":"https://api.github.com/users/mapzen/orgs","repos_url":"https://api.github.com/users/mapzen/repos","events_url":"https://api.github.com/users/mapzen/events{/privacy}","received_events_url":"https://api.github.com/users/mapzen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapzen/vector-datasource","description":"Mapzen vector tile service - OpenStreetMap vector tiles in several formats","fork":false,"url":"https://api.github.com/repos/mapzen/vector-datasource","forks_url":"https://api.github.com/repos/mapzen/vector-datasource/forks","keys_url":"https://api.github.com/repos/mapzen/vector-datasource/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapzen/vector-datasource/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapzen/vector-datasource/teams","hooks_url":"https://api.github.com/repos/mapzen/vector-datasource/hooks","issue_events_url":"https://api.github.com/repos/mapzen/vector-datasource/issues/events{/number}","events_url":"https://api.github.com/repos/mapzen/vector-datasource/events","assignees_url":"https://api.github.com/repos/mapzen/vector-datasource/assignees{/user}","branches_url":"https://api.github.com/repos/mapzen/vector-datasource/branches{/branch}","tags_url":"https://api.github.com/repos/mapzen/vector-datasource/tags","blobs_url":"https://api.github.com/repos/mapzen/vector-datasource/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapzen/vector-datasource/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapzen/vector-datasource/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapzen/vector-datasource/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapzen/vector-datasource/statuses/{sha}","languages_url":"https://api.github.com/repos/mapzen/vector-datasource/languages","stargazers_url":"https://api.github.com/repos/mapzen/vector-datasource/stargazers","contributors_url":"https://api.github.com/repos/mapzen/vector-datasource/contributors","subscribers_url":"https://api.github.com/repos/mapzen/vector-datasource/subscribers","subscription_url":"https://api.github.com/repos/mapzen/vector-datasource/subscription","commits_url":"https://api.github.com/repos/mapzen/vector-datasource/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapzen/vector-datasource/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapzen/vector-datasource/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapzen/vector-datasource/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapzen/vector-datasource/contents/{+path}","compare_url":"https://api.github.com/repos/mapzen/vector-datasource/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapzen/vector-datasource/merges","archive_url":"https://api.github.com/repos/mapzen/vector-datasource/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapzen/vector-datasource/downloads","issues_url":"https://api.github.com/repos/mapzen/vector-datasource/issues{/number}","pulls_url":"https://api.github.com/repos/mapzen/vector-datasource/pulls{/number}","milestones_url":"https://api.github.com/repos/mapzen/vector-datasource/milestones{/number}","notifications_url":"https://api.github.com/repos/mapzen/vector-datasource/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapzen/vector-datasource/labels{/name}","releases_url":"https://api.github.com/repos/mapzen/vector-datasource/releases{/id}","created_at":"2013-10-09T15:54:45Z","updated_at":"2015-12-07T06:06:20Z","pushed_at":"2015-12-07T18:00:07Z","git_url":"git://github.com/mapzen/vector-datasource.git","ssh_url":"git@github.com:mapzen/vector-datasource.git","clone_url":"https://github.com/mapzen/vector-datasource.git","svn_url":"https://github.com/mapzen/vector-datasource","homepage":"http://mapzen.com/vector","size":70187,"stargazers_count":188,"watchers_count":188,"language":"PLpgSQL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":101,"forks":44,"open_issues":101,"watchers":188,"default_branch":"master"}},"base":{"label":"mapzen:master","ref":"master","sha":"699ba79daa95b57e61dab34d18508d2ce6d050ea","user":{"login":"mapzen","id":5435747,"avatar_url":"https://avatars.githubusercontent.com/u/5435747?v=3","gravatar_id":"","url":"https://api.github.com/users/mapzen","html_url":"https://github.com/mapzen","followers_url":"https://api.github.com/users/mapzen/followers","following_url":"https://api.github.com/users/mapzen/following{/other_user}","gists_url":"https://api.github.com/users/mapzen/gists{/gist_id}","starred_url":"https://api.github.com/users/mapzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapzen/subscriptions","organizations_url":"https://api.github.com/users/mapzen/orgs","repos_url":"https://api.github.com/users/mapzen/repos","events_url":"https://api.github.com/users/mapzen/events{/privacy}","received_events_url":"https://api.github.com/users/mapzen/received_events","type":"Organization","site_admin":false},"repo":{"id":13446739,"name":"vector-datasource","full_name":"mapzen/vector-datasource","owner":{"login":"mapzen","id":5435747,"avatar_url":"https://avatars.githubusercontent.com/u/5435747?v=3","gravatar_id":"","url":"https://api.github.com/users/mapzen","html_url":"https://github.com/mapzen","followers_url":"https://api.github.com/users/mapzen/followers","following_url":"https://api.github.com/users/mapzen/following{/other_user}","gists_url":"https://api.github.com/users/mapzen/gists{/gist_id}","starred_url":"https://api.github.com/users/mapzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapzen/subscriptions","organizations_url":"https://api.github.com/users/mapzen/orgs","repos_url":"https://api.github.com/users/mapzen/repos","events_url":"https://api.github.com/users/mapzen/events{/privacy}","received_events_url":"https://api.github.com/users/mapzen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapzen/vector-datasource","description":"Mapzen vector tile service - OpenStreetMap vector tiles in several formats","fork":false,"url":"https://api.github.com/repos/mapzen/vector-datasource","forks_url":"https://api.github.com/repos/mapzen/vector-datasource/forks","keys_url":"https://api.github.com/repos/mapzen/vector-datasource/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapzen/vector-datasource/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapzen/vector-datasource/teams","hooks_url":"https://api.github.com/repos/mapzen/vector-datasource/hooks","issue_events_url":"https://api.github.com/repos/mapzen/vector-datasource/issues/events{/number}","events_url":"https://api.github.com/repos/mapzen/vector-datasource/events","assignees_url":"https://api.github.com/repos/mapzen/vector-datasource/assignees{/user}","branches_url":"https://api.github.com/repos/mapzen/vector-datasource/branches{/branch}","tags_url":"https://api.github.com/repos/mapzen/vector-datasource/tags","blobs_url":"https://api.github.com/repos/mapzen/vector-datasource/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapzen/vector-datasource/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapzen/vector-datasource/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapzen/vector-datasource/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapzen/vector-datasource/statuses/{sha}","languages_url":"https://api.github.com/repos/mapzen/vector-datasource/languages","stargazers_url":"https://api.github.com/repos/mapzen/vector-datasource/stargazers","contributors_url":"https://api.github.com/repos/mapzen/vector-datasource/contributors","subscribers_url":"https://api.github.com/repos/mapzen/vector-datasource/subscribers","subscription_url":"https://api.github.com/repos/mapzen/vector-datasource/subscription","commits_url":"https://api.github.com/repos/mapzen/vector-datasource/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapzen/vector-datasource/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapzen/vector-datasource/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapzen/vector-datasource/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapzen/vector-datasource/contents/{+path}","compare_url":"https://api.github.com/repos/mapzen/vector-datasource/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapzen/vector-datasource/merges","archive_url":"https://api.github.com/repos/mapzen/vector-datasource/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapzen/vector-datasource/downloads","issues_url":"https://api.github.com/repos/mapzen/vector-datasource/issues{/number}","pulls_url":"https://api.github.com/repos/mapzen/vector-datasource/pulls{/number}","milestones_url":"https://api.github.com/repos/mapzen/vector-datasource/milestones{/number}","notifications_url":"https://api.github.com/repos/mapzen/vector-datasource/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapzen/vector-datasource/labels{/name}","releases_url":"https://api.github.com/repos/mapzen/vector-datasource/releases{/id}","created_at":"2013-10-09T15:54:45Z","updated_at":"2015-12-07T06:06:20Z","pushed_at":"2015-12-07T18:00:07Z","git_url":"git://github.com/mapzen/vector-datasource.git","ssh_url":"git@github.com:mapzen/vector-datasource.git","clone_url":"https://github.com/mapzen/vector-datasource.git","svn_url":"https://github.com/mapzen/vector-datasource","homepage":"http://mapzen.com/vector","size":70187,"stargazers_count":188,"watchers_count":188,"language":"PLpgSQL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":101,"forks":44,"open_issues":101,"watchers":188,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapzen/vector-datasource/pulls/425"},"html":{"href":"https://github.com/mapzen/vector-datasource/pull/425"},"issue":{"href":"https://api.github.com/repos/mapzen/vector-datasource/issues/425"},"comments":{"href":"https://api.github.com/repos/mapzen/vector-datasource/issues/425/comments"},"review_comments":{"href":"https://api.github.com/repos/mapzen/vector-datasource/pulls/425/comments"},"review_comment":{"href":"https://api.github.com/repos/mapzen/vector-datasource/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapzen/vector-datasource/pulls/425/commits"},"statuses":{"href":"https://api.github.com/repos/mapzen/vector-datasource/statuses/d516db92009856a79894a00e7cf4e183e208c494"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":2,"changed_files":2}}