{"action":"created","issue":{"url":"https://api.github.com/repos/vugtk21/BetaNM/issues/11","labels_url":"https://api.github.com/repos/vugtk21/BetaNM/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/vugtk21/BetaNM/issues/11/comments","events_url":"https://api.github.com/repos/vugtk21/BetaNM/issues/11/events","html_url":"https://github.com/vugtk21/BetaNM/issues/11","id":65418832,"number":11,"title":"Umístění bodových značek na linii v QGIS-u","user":{"login":"raugustyn","id":3672235,"avatar_url":"https://avatars.githubusercontent.com/u/3672235?v=3","gravatar_id":"","url":"https://api.github.com/users/raugustyn","html_url":"https://github.com/raugustyn","followers_url":"https://api.github.com/users/raugustyn/followers","following_url":"https://api.github.com/users/raugustyn/following{/other_user}","gists_url":"https://api.github.com/users/raugustyn/gists{/gist_id}","starred_url":"https://api.github.com/users/raugustyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raugustyn/subscriptions","organizations_url":"https://api.github.com/users/raugustyn/orgs","repos_url":"https://api.github.com/users/raugustyn/repos","events_url":"https://api.github.com/users/raugustyn/events{/privacy}","received_events_url":"https://api.github.com/users/raugustyn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vugtk21/BetaNM/labels/Help%20wanted","name":"Help wanted","color":"159818"},{"url":"https://api.github.com/repos/vugtk21/BetaNM/labels/Otestovat","name":"Otestovat","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/vugtk21/BetaNM/milestones/1","html_url":"https://github.com/vugtk21/BetaNM/milestones/Vytvo%C5%99en%C3%AD%20zna%C4%8Dek%20SVG","labels_url":"https://api.github.com/repos/vugtk21/BetaNM/milestones/1/labels","id":1046566,"number":1,"title":"Vytvoření značek SVG","description":"","creator":{"login":"raugustyn","id":3672235,"avatar_url":"https://avatars.githubusercontent.com/u/3672235?v=3","gravatar_id":"","url":"https://api.github.com/users/raugustyn","html_url":"https://github.com/raugustyn","followers_url":"https://api.github.com/users/raugustyn/followers","following_url":"https://api.github.com/users/raugustyn/following{/other_user}","gists_url":"https://api.github.com/users/raugustyn/gists{/gist_id}","starred_url":"https://api.github.com/users/raugustyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raugustyn/subscriptions","organizations_url":"https://api.github.com/users/raugustyn/orgs","repos_url":"https://api.github.com/users/raugustyn/repos","events_url":"https://api.github.com/users/raugustyn/events{/privacy}","received_events_url":"https://api.github.com/users/raugustyn/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":5,"state":"open","created_at":"2015-03-31T09:39:02Z","updated_at":"2015-04-07T11:32:26Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-03-31T10:24:53Z","updated_at":"2015-04-23T05:16:45Z","closed_at":null,"body":"@rmakovec: Druhý hlavní problém je s SVG značkou na linii, zatím jsem zkoušel dřevený plot a drátěný plot a značka se špatně nandá na linii"},"comment":{"url":"https://api.github.com/repos/vugtk21/BetaNM/issues/comments/95437296","html_url":"https://github.com/vugtk21/BetaNM/issues/11#issuecomment-95437296","issue_url":"https://api.github.com/repos/vugtk21/BetaNM/issues/11","id":95437296,"user":{"login":"rmakovec","id":6359293,"avatar_url":"https://avatars.githubusercontent.com/u/6359293?v=3","gravatar_id":"","url":"https://api.github.com/users/rmakovec","html_url":"https://github.com/rmakovec","followers_url":"https://api.github.com/users/rmakovec/followers","following_url":"https://api.github.com/users/rmakovec/following{/other_user}","gists_url":"https://api.github.com/users/rmakovec/gists{/gist_id}","starred_url":"https://api.github.com/users/rmakovec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmakovec/subscriptions","organizations_url":"https://api.github.com/users/rmakovec/orgs","repos_url":"https://api.github.com/users/rmakovec/repos","events_url":"https://api.github.com/users/rmakovec/events{/privacy}","received_events_url":"https://api.github.com/users/rmakovec/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T05:16:45Z","updated_at":"2015-04-23T05:16:45Z","body":"Tak jelikož jsem s Marianou neuspěl, tak dávám sem jako podklad pro řešení.\r\nNa obrázku je to nejvíce vidět u linií s SVG značkou střídavě po obou stranách. Pro SVG značku na spodní straně linie je definováno odsazení na linii = poslední SVG značka na linii je za koncovým bodem linie.\r\n\r\nJe nutné mít odsazení i pro první značku SVG na linií z důvodu, aby nezasahovala do bodové značky na lomovém bodu linie. Takže se v určitých případech (délky linie) zobrazí značka za lomovým bodem.\r\n\r\nPokud se to v QGISU neudělá, tak se musí vytvořit funkce na umísťování SVG značek, která vezme délku linie, odečte krajní odsazení (aby značky nebyli přímo v lomovém bodu) pro dané měřítko a dopočítá umístění značek. Funkcionalita jak pro QGIS tak pro mobilní aplikaci.\r\n\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6359293/7290914/c4c2b8fe-e987-11e4-831c-b27178e618de.png)\r\n"}}