{"action":"created","issue":{"url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/2317","repository_url":"https://api.github.com/repos/geoadmin/mf-chsdi3","labels_url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/2317/labels{/name}","comments_url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/2317/comments","events_url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/2317/events","html_url":"https://github.com/geoadmin/mf-chsdi3/issues/2317","id":187691572,"number":2317,"title":"Search service: label positioning for ch.swisstopo-vd.ortschaftenverzeichnis_plz","user":{"login":"p1d1d1","id":1533649,"avatar_url":"https://avatars.githubusercontent.com/u/1533649?v=3","gravatar_id":"","url":"https://api.github.com/users/p1d1d1","html_url":"https://github.com/p1d1d1","followers_url":"https://api.github.com/users/p1d1d1/followers","following_url":"https://api.github.com/users/p1d1d1/following{/other_user}","gists_url":"https://api.github.com/users/p1d1d1/gists{/gist_id}","starred_url":"https://api.github.com/users/p1d1d1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p1d1d1/subscriptions","organizations_url":"https://api.github.com/users/p1d1d1/orgs","repos_url":"https://api.github.com/users/p1d1d1/repos","events_url":"https://api.github.com/users/p1d1d1/events{/privacy}","received_events_url":"https://api.github.com/users/p1d1d1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ltclm","id":5286659,"avatar_url":"https://avatars.githubusercontent.com/u/5286659?v=3","gravatar_id":"","url":"https://api.github.com/users/ltclm","html_url":"https://github.com/ltclm","followers_url":"https://api.github.com/users/ltclm/followers","following_url":"https://api.github.com/users/ltclm/following{/other_user}","gists_url":"https://api.github.com/users/ltclm/gists{/gist_id}","starred_url":"https://api.github.com/users/ltclm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltclm/subscriptions","organizations_url":"https://api.github.com/users/ltclm/orgs","repos_url":"https://api.github.com/users/ltclm/repos","events_url":"https://api.github.com/users/ltclm/events{/privacy}","received_events_url":"https://api.github.com/users/ltclm/received_events","type":"User","site_admin":false},"assignees":[{"login":"ltclm","id":5286659,"avatar_url":"https://avatars.githubusercontent.com/u/5286659?v=3","gravatar_id":"","url":"https://api.github.com/users/ltclm","html_url":"https://github.com/ltclm","followers_url":"https://api.github.com/users/ltclm/followers","following_url":"https://api.github.com/users/ltclm/following{/other_user}","gists_url":"https://api.github.com/users/ltclm/gists{/gist_id}","starred_url":"https://api.github.com/users/ltclm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltclm/subscriptions","organizations_url":"https://api.github.com/users/ltclm/orgs","repos_url":"https://api.github.com/users/ltclm/repos","events_url":"https://api.github.com/users/ltclm/events{/privacy}","received_events_url":"https://api.github.com/users/ltclm/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2016-11-07T11:47:24Z","updated_at":"2016-11-17T11:53:33Z","closed_at":null,"body":"From helpdesk:\r\n\r\n Bonjour,\r\nJ'ai été surpris de découvrir que vous mentionnez Couvet comme étant situé dans le canton de Vaud (voir capture d'écran en annexe) :-) Cela arrive quand on cherche par numéro postal (2108).\r\nMeilleures salutations,\r\n\r\nSo, use case:\r\n* open map.geo.admin.ch\r\n* search for 2108 --> the first entry is \"ZIP 2108 - Couver (VD)\"\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1533649/20056599/63a7b35e-a4e7-11e6-8558-994accef4a9a.png)\r\n\r\nThe PIN is positioned in VD:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1533649/20056648/a0c8e884-a4e7-11e6-9f12-b9cc749b1570.png)\r\n\r\nThe issue is that \"Couvet\" as locality is in NE. Now the positioning of the label in ch.swisstopo-vd.ortschaftenverzeichnis_plz is not really an issue, since it is in the polygon of ZIP 2108.\r\n\r\nWhat is strange is the text in the search result (Couvet (VD)).\r\n\r\nOne could:\r\n\r\n* delete the canton abbreviation beside the ZIP in the search result\r\n* or use the points available in the original data for the positioning of the labels.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/comments/261228329","html_url":"https://github.com/geoadmin/mf-chsdi3/issues/2317#issuecomment-261228329","issue_url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/2317","id":261228329,"user":{"login":"AFoletti","id":691243,"avatar_url":"https://avatars.githubusercontent.com/u/691243?v=3","gravatar_id":"","url":"https://api.github.com/users/AFoletti","html_url":"https://github.com/AFoletti","followers_url":"https://api.github.com/users/AFoletti/followers","following_url":"https://api.github.com/users/AFoletti/following{/other_user}","gists_url":"https://api.github.com/users/AFoletti/gists{/gist_id}","starred_url":"https://api.github.com/users/AFoletti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AFoletti/subscriptions","organizations_url":"https://api.github.com/users/AFoletti/orgs","repos_url":"https://api.github.com/users/AFoletti/repos","events_url":"https://api.github.com/users/AFoletti/events{/privacy}","received_events_url":"https://api.github.com/users/AFoletti/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T11:53:33Z","updated_at":"2016-11-17T11:53:33Z","body":"@ltclm I rapidly checked the data we use for the import and the needed label points are there indeed.\r\nWhat we missed is the fact that the point geometries for label placement are NOT in the same table as the labels themselves.\r\nIn the PLZ workbench we should add the PLZO_OSNAMEPOS table and merge it with the PLZO_OSNAME. The rest of the process can stay exactly the same, but we will maybe need to adapt the target table."}}
{"actor":{"display_login":"AFoletti"}}