{"action":"created","issue":{"url":"https://api.github.com/repos/pelias/pelias/issues/236","repository_url":"https://api.github.com/repos/pelias/pelias","labels_url":"https://api.github.com/repos/pelias/pelias/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/pelias/pelias/issues/236/comments","events_url":"https://api.github.com/repos/pelias/pelias/issues/236/events","html_url":"https://github.com/pelias/pelias/issues/236","id":128238126,"number":236,"title":"Puerto Rico is (currently) part of the United States (not its own country)","user":{"login":"riordan","id":227472,"avatar_url":"https://avatars.githubusercontent.com/u/227472?v=3","gravatar_id":"","url":"https://api.github.com/users/riordan","html_url":"https://github.com/riordan","followers_url":"https://api.github.com/users/riordan/followers","following_url":"https://api.github.com/users/riordan/following{/other_user}","gists_url":"https://api.github.com/users/riordan/gists{/gist_id}","starred_url":"https://api.github.com/users/riordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riordan/subscriptions","organizations_url":"https://api.github.com/users/riordan/orgs","repos_url":"https://api.github.com/users/riordan/repos","events_url":"https://api.github.com/users/riordan/events{/privacy}","received_events_url":"https://api.github.com/users/riordan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pelias/pelias/labels/data","name":"data","color":"d4c5f9"},{"url":"https://api.github.com/repos/pelias/pelias/labels/outreach","name":"outreach","color":"e6e6e6"},{"url":"https://api.github.com/repos/pelias/pelias/labels/wof-related","name":"wof-related","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pelias/pelias/milestones/2","html_url":"https://github.com/pelias/pelias/milestones/Who's%20on%20First%20(Q1-16)","labels_url":"https://api.github.com/repos/pelias/pelias/milestones/2/labels","id":1497635,"number":2,"title":"Who's on First (Q1-16)","description":"Relying on Who's on First rather than Quattroshapes to power administrate areas and admin area reverse geocoding.\r\n\r\n* Import WOF data\r\n* Update schema to support changes made by/for WOF\r\n* Support multiple hierarchy structure (required by WOF)\r\n* Ingest and serve bounding boxes\r\n* Serve geometries from `/details` endpoint\r\n* Store parent ids (corresponding to WOF)\r\n* Support WOF ids\r\n* Investigate implications of decommissioning QS and GN\r\n* Query PIP service when doing coarse reverse","creator":{"login":"riordan","id":227472,"avatar_url":"https://avatars.githubusercontent.com/u/227472?v=3","gravatar_id":"","url":"https://api.github.com/users/riordan","html_url":"https://github.com/riordan","followers_url":"https://api.github.com/users/riordan/followers","following_url":"https://api.github.com/users/riordan/following{/other_user}","gists_url":"https://api.github.com/users/riordan/gists{/gist_id}","starred_url":"https://api.github.com/users/riordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riordan/subscriptions","organizations_url":"https://api.github.com/users/riordan/orgs","repos_url":"https://api.github.com/users/riordan/repos","events_url":"https://api.github.com/users/riordan/events{/privacy}","received_events_url":"https://api.github.com/users/riordan/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":32,"state":"open","created_at":"2016-01-11T16:21:50Z","updated_at":"2016-04-19T19:05:34Z","due_on":"2016-04-01T04:00:00Z","closed_at":null},"comments":1,"created_at":"2016-01-22T20:27:18Z","updated_at":"2016-04-20T19:59:22Z","closed_at":null,"body":"Martin Burch from the Wall Street Journal (hi @martinburch) flagged to me that Puerto Rico (definitely part of the United States at the time I write this) is listed as its own country.\r\n\r\nGranted, there are several [Puerto Rico nationalists](https://en.wikipedia.org/wiki/Independence_movement_in_Puerto_Rico) who'd be very happy with this situation, but for now, it's totally American territory.\r\n\r\nI'm flagging this because in [WoF, Puerto Rico](https://whosonfirst.mapzen.com/spelunker/id/85633729/) is listed as a dependency, and I want to make sure we're treating this appropriately.\r\n\r\n@thisisaaronland:\r\nWould you say it's safe to substitute Dependencies where Regions usually fall?\r\n\r\n\r\nHere's an [example](http://pelias.github.io/compare/#/v1/search%3Fsize=1&text=San%20Juan,%20Puerto%20Rico)\r\n```\r\n{\r\n  \"geocoding\": {\r\n    \"version\": \"0.1\",\r\n    \"attribution\": \"https://search.mapzen.com/v1/attribution\",\r\n    \"query\": {\r\n      \"text\": \"San Juan, Puerto Rico\",\r\n      \"parsed_text\": {\r\n        \"name\": \"San Juan\",\r\n        \"regions\": [\r\n          \"San Juan\",\r\n          \"Puerto Rico\"\r\n        ],\r\n        \"admin_parts\": \"Puerto Rico\"\r\n      },\r\n      \"size\": 1,\r\n      \"private\": false,\r\n      \"querySize\": 1\r\n    },\r\n    \"engine\": {\r\n      \"name\": \"Pelias\",\r\n      \"author\": \"Mapzen\",\r\n      \"version\": \"1.0\"\r\n    },\r\n    \"timestamp\": 1453493887212\r\n  },\r\n  \"type\": \"FeatureCollection\",\r\n  \"features\": [\r\n    {\r\n      \"type\": \"Feature\",\r\n      \"properties\": {\r\n        \"id\": \"14135:adm2:pr:pri:san_juan_municipio\",\r\n        \"gid\": \"qs:county:14135:adm2:pr:pri:san_juan_municipio\",\r\n        \"layer\": \"county\",\r\n        \"source\": \"qs\",\r\n        \"name\": \"San Juan Municipio\",\r\n        \"country_a\": \"PRI\",\r\n        \"country\": \"Puerto Rico\",\r\n        \"region\": \"Puerto Rico\",\r\n        \"county\": \"San Juan Municipio\",\r\n        \"confidence\": 0.54,\r\n        \"label\": \"San Juan Municipio, Puerto Rico\"\r\n      },\r\n      \"geometry\": {\r\n        \"type\": \"Point\",\r\n        \"coordinates\": [\r\n          -66.0683356208145,\r\n          18.422254382096\r\n        ]\r\n      }\r\n    }\r\n  ],\r\n  \"bbox\": [\r\n    -66.0683356208145,\r\n    18.422254382096,\r\n    -66.0683356208145,\r\n    18.422254382096\r\n  ]\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/pelias/pelias/issues/comments/212580319","html_url":"https://github.com/pelias/pelias/issues/236#issuecomment-212580319","issue_url":"https://api.github.com/repos/pelias/pelias/issues/236","id":212580319,"user":{"login":"dianashk","id":5446511,"avatar_url":"https://avatars.githubusercontent.com/u/5446511?v=3","gravatar_id":"","url":"https://api.github.com/users/dianashk","html_url":"https://github.com/dianashk","followers_url":"https://api.github.com/users/dianashk/followers","following_url":"https://api.github.com/users/dianashk/following{/other_user}","gists_url":"https://api.github.com/users/dianashk/gists{/gist_id}","starred_url":"https://api.github.com/users/dianashk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianashk/subscriptions","organizations_url":"https://api.github.com/users/dianashk/orgs","repos_url":"https://api.github.com/users/dianashk/repos","events_url":"https://api.github.com/users/dianashk/events{/privacy}","received_events_url":"https://api.github.com/users/dianashk/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T19:59:22Z","updated_at":"2016-04-20T19:59:22Z","body":"This looks to be fixed now.\n\nhttp://pelias.github.io/compare/#/v1/search%3Ftext=san%20juan,%20puerto%20rico\n\ncomes back with this on production:\n\n```\n1)\tPuerto Rico, USA\n 2)\tSan Juan, Puerto Rico, USA\n 3)\tSan Juan del Puerto, Spain\n 4)\tSan Juan, Argentina\n 5)\tSan Juan Province, Argentina\n 6)\tSan Juan, Dominican Republic\n 7)\tProvincia de San Juan, Dominican Republic\n 8)\tSan Juan, Philippines\n 9)\tSan Juan Sacatepéquez, Guatemala\n10)\tSan Juan de la Maguana, Dominican Republic\n```"}}