{"action":"created","issue":{"url":"https://api.github.com/repos/komoot/photon/issues/30","labels_url":"https://api.github.com/repos/komoot/photon/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/komoot/photon/issues/30/comments","events_url":"https://api.github.com/repos/komoot/photon/issues/30/events","html_url":"https://github.com/komoot/photon/issues/30","id":33073126,"number":30,"title":"Many address features are missing?","user":{"login":"tommedema","id":331833,"avatar_url":"https://avatars.githubusercontent.com/u/331833?v=3","gravatar_id":"","url":"https://api.github.com/users/tommedema","html_url":"https://github.com/tommedema","followers_url":"https://api.github.com/users/tommedema/followers","following_url":"https://api.github.com/users/tommedema/following{/other_user}","gists_url":"https://api.github.com/users/tommedema/gists{/gist_id}","starred_url":"https://api.github.com/users/tommedema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommedema/subscriptions","organizations_url":"https://api.github.com/users/tommedema/orgs","repos_url":"https://api.github.com/users/tommedema/repos","events_url":"https://api.github.com/users/tommedema/events{/privacy}","received_events_url":"https://api.github.com/users/tommedema/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-05-08T10:47:49Z","updated_at":"2015-01-16T11:02:19Z","closed_at":null,"body":"Address geocoding on a worldwide level is complicated for many reasons, of which one is that every single country lists addresses in different ways. For example, in some countries provinces and states are important (Netherlands), whereas in others districts and sub-districts are more important (Thailand).\r\n\r\nWhen I query your API for a road in Bangkok, Thailand, like so:\r\n\r\n    http://photon.komoot.de/api/?q=sukhumvit\r\n\r\nI get the following:\r\n\r\n\t\t{\r\n\t\t  \"features\": [\r\n\t\t    {\r\n\t\t      \"properties\": {\r\n\t\t        \"name\": \"Sukhumvit\",\r\n\t\t        \"osm_value\": \"neighbourhood\",\r\n\t\t        \"country\": \"Thailand\",\r\n\t\t        \"osm_id\": 2203974487,\r\n\t\t        \"osm_key\": \"place\",\r\n\t\t        \"postcode\": \"10110\"\r\n\t\t      },\r\n\t\t      \"geometry\": {\r\n\t\t        \"coordinates\": [\r\n\t\t          100.565073,\r\n\t\t          13.73384\r\n\t\t        ],\r\n\t\t        \"type\": \"Point\"\r\n\t\t      },\r\n\t\t      \"type\": \"Feature\"\r\n\t\t    },\r\n\t\t    {\r\n\t\t      \"properties\": {\r\n\t\t        \"country\": \"Thailand\",\r\n\t\t        \"name\": \"Sukhumvit Road\",\r\n\t\t        \"osm_value\": \"tertiary\",\r\n\t\t        \"street\": \"Sukhumvit Road\",\r\n\t\t        \"osm_id\": 232865089,\r\n\t\t        \"osm_key\": \"highway\"\r\n\t\t      },\r\n\t\t      \"geometry\": {\r\n\t\t        \"coordinates\": [\r\n\t\t          102.45796,\r\n\t\t          12.18993\r\n\t\t        ],\r\n\t\t        \"type\": \"Point\"\r\n\t\t      },\r\n\t\t      \"type\": \"Feature\"\r\n\t\t    },\r\n\t\t    ... ETC ...\r\n\t\t  ],\r\n\t\t  \"type\": \"FeatureCollection\"\r\n\t\t}\r\n\r\nThe first entry is the one I need, but the problem is that there is a lot more data in the OSM database about this entry than your API shows. For example, it should return the following entries when available, just like Nominatim does:\r\n\r\n    - (Object) administrative\r\n    - (Object) attraction\r\n    - (Object) city\r\n    - (Object) city_district\r\n    - (Object) clothes\r\n    - (Object) commercial\r\n    - (Object) country\r\n    - (Object) country_code\r\n    - (Object) county\r\n    - (Object) house_number\r\n    - (Object) pedestrian\r\n    - (Object) place\r\n    - (Object) postcode\r\n    - (Object) road\r\n    - (Object) state\r\n    - (Object) state_district\r\n    - (Object) suburb\r\n    - (Object) town\r\n    - (Object) village\r\n\r\nIn the case of my query we already know this data: `postcode = 10110` (given), `country = thailand` (given), `district = Watthana District` (not given, but should be), `sub-district = Sukhumvit` (not given, but should be), `city = Bangkok`, `province = Bangkok Metropolitan Area` (not given, but should be), etc.\r\n\r\nCan I make this change myself to  let photon return all known data that is relevant to the query? If I would have queried a US street I want to know all data that is available too, so in that case it should return the state, among other fields.\r\n\r\nI hope I expressed my request clearly, if not, please tell me. ;)\r\n"},"comment":{"url":"https://api.github.com/repos/komoot/photon/issues/comments/70238703","html_url":"https://github.com/komoot/photon/issues/30#issuecomment-70238703","issue_url":"https://api.github.com/repos/komoot/photon/issues/30","id":70238703,"user":{"login":"christophlingg","id":2032443,"avatar_url":"https://avatars.githubusercontent.com/u/2032443?v=3","gravatar_id":"","url":"https://api.github.com/users/christophlingg","html_url":"https://github.com/christophlingg","followers_url":"https://api.github.com/users/christophlingg/followers","following_url":"https://api.github.com/users/christophlingg/following{/other_user}","gists_url":"https://api.github.com/users/christophlingg/gists{/gist_id}","starred_url":"https://api.github.com/users/christophlingg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophlingg/subscriptions","organizations_url":"https://api.github.com/users/christophlingg/orgs","repos_url":"https://api.github.com/users/christophlingg/repos","events_url":"https://api.github.com/users/christophlingg/events{/privacy}","received_events_url":"https://api.github.com/users/christophlingg/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T11:02:19Z","updated_at":"2015-01-16T11:02:19Z","body":"now, we are also returning state information"}}