{"action":"created","issue":{"url":"https://api.github.com/repos/graphhopper/graphhopper/issues/1353","repository_url":"https://api.github.com/repos/graphhopper/graphhopper","labels_url":"https://api.github.com/repos/graphhopper/graphhopper/issues/1353/labels{/name}","comments_url":"https://api.github.com/repos/graphhopper/graphhopper/issues/1353/comments","events_url":"https://api.github.com/repos/graphhopper/graphhopper/issues/1353/events","html_url":"https://github.com/graphhopper/graphhopper/issues/1353","id":319418623,"number":1353,"title":"should the DouglasPeucker be used for the whole geometry instead of only pillar nodes?","user":{"login":"zhiqiangZHAO","id":3761449,"avatar_url":"https://avatars3.githubusercontent.com/u/3761449?v=4","gravatar_id":"","url":"https://api.github.com/users/zhiqiangZHAO","html_url":"https://github.com/zhiqiangZHAO","followers_url":"https://api.github.com/users/zhiqiangZHAO/followers","following_url":"https://api.github.com/users/zhiqiangZHAO/following{/other_user}","gists_url":"https://api.github.com/users/zhiqiangZHAO/gists{/gist_id}","starred_url":"https://api.github.com/users/zhiqiangZHAO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhiqiangZHAO/subscriptions","organizations_url":"https://api.github.com/users/zhiqiangZHAO/orgs","repos_url":"https://api.github.com/users/zhiqiangZHAO/repos","events_url":"https://api.github.com/users/zhiqiangZHAO/events{/privacy}","received_events_url":"https://api.github.com/users/zhiqiangZHAO/received_events","type":"User","site_admin":false},"labels":[{"id":32202724,"url":"https://api.github.com/repos/graphhopper/graphhopper/labels/improvement","name":"improvement","color":"d7e102","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-02T05:57:21Z","updated_at":"2018-05-02T17:50:32Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I found in the OSMReader, \r\nsimplifyAlgo.simplify(pillarNodes);\r\n\r\nI feel it's better to apply DouglasPeucker to the whole edges.\r\nGuess it could reduce more unnecessary points."},"comment":{"url":"https://api.github.com/repos/graphhopper/graphhopper/issues/comments/386063744","html_url":"https://github.com/graphhopper/graphhopper/issues/1353#issuecomment-386063744","issue_url":"https://api.github.com/repos/graphhopper/graphhopper/issues/1353","id":386063744,"user":{"login":"zhiqiangZHAO","id":3761449,"avatar_url":"https://avatars3.githubusercontent.com/u/3761449?v=4","gravatar_id":"","url":"https://api.github.com/users/zhiqiangZHAO","html_url":"https://github.com/zhiqiangZHAO","followers_url":"https://api.github.com/users/zhiqiangZHAO/followers","following_url":"https://api.github.com/users/zhiqiangZHAO/following{/other_user}","gists_url":"https://api.github.com/users/zhiqiangZHAO/gists{/gist_id}","starred_url":"https://api.github.com/users/zhiqiangZHAO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhiqiangZHAO/subscriptions","organizations_url":"https://api.github.com/users/zhiqiangZHAO/orgs","repos_url":"https://api.github.com/users/zhiqiangZHAO/repos","events_url":"https://api.github.com/users/zhiqiangZHAO/events{/privacy}","received_events_url":"https://api.github.com/users/zhiqiangZHAO/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T17:50:32Z","updated_at":"2018-05-02T17:50:32Z","author_association":"CONTRIBUTOR","body":"I found this problem when I found a very rare case: duplicated lat/lon of the first node and second node . (anything could be true for OSM, 🤷‍♂️ ) Then I am curious why the DouglasPeucker doesn't remove the second node."}}
{"actor":{"display_login":"zhiqiangZHAO"}}