{"action":"created","issue":{"url":"https://api.github.com/repos/osmcode/pyosmium/issues/83","repository_url":"https://api.github.com/repos/osmcode/pyosmium","labels_url":"https://api.github.com/repos/osmcode/pyosmium/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/osmcode/pyosmium/issues/83/comments","events_url":"https://api.github.com/repos/osmcode/pyosmium/issues/83/events","html_url":"https://github.com/osmcode/pyosmium/issues/83","id":384400111,"node_id":"MDU6SXNzdWUzODQ0MDAxMTE=","number":83,"title":"Wrong coordinates written by SimpleWriter","user":{"login":"ruzhytskyi","id":2143579,"node_id":"MDQ6VXNlcjIxNDM1Nzk=","avatar_url":"https://avatars1.githubusercontent.com/u/2143579?v=4","gravatar_id":"","url":"https://api.github.com/users/ruzhytskyi","html_url":"https://github.com/ruzhytskyi","followers_url":"https://api.github.com/users/ruzhytskyi/followers","following_url":"https://api.github.com/users/ruzhytskyi/following{/other_user}","gists_url":"https://api.github.com/users/ruzhytskyi/gists{/gist_id}","starred_url":"https://api.github.com/users/ruzhytskyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruzhytskyi/subscriptions","organizations_url":"https://api.github.com/users/ruzhytskyi/orgs","repos_url":"https://api.github.com/users/ruzhytskyi/repos","events_url":"https://api.github.com/users/ruzhytskyi/events{/privacy}","received_events_url":"https://api.github.com/users/ruzhytskyi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-26T16:07:26Z","updated_at":"2018-11-27T10:11:24Z","closed_at":"2018-11-26T19:41:41Z","author_association":"NONE","body":"Node coordinates written to file by SimpleWriter() differ from location I've passed when creating Node() instance.\r\n```\r\nfrom osmium import SimpleWriter\r\nfrom osmium.osm.mutable import Node\r\n\r\nn = Node(location=(30.46, 50.37), id=1)\r\nwriter = SimpleWriter('osm.xml')\r\nwriter = SimpleWriter('osm.xml')\r\nwriter.add_node(n)\r\nwriter.close()\r\n```\r\nResult:\r\n```\r\n$ cat osm.xml \r\n<?xml version='1.0' encoding='UTF-8'?>\r\n<osm version=\"0.6\" generator=\"libosmium/2.14.2\">\r\n  <node id=\"1\" lat=\"50.3699989\" lon=\"30.4599991\"/>\r\n</osm>\r\n```\r\nOsmium version: osmium==2.14.3\r\nPython: 3.5.2\r\nOS: Ubuntu 16.04.5"},"comment":{"url":"https://api.github.com/repos/osmcode/pyosmium/issues/comments/442002360","html_url":"https://github.com/osmcode/pyosmium/issues/83#issuecomment-442002360","issue_url":"https://api.github.com/repos/osmcode/pyosmium/issues/83","id":442002360,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjAwMjM2MA==","user":{"login":"ruzhytskyi","id":2143579,"node_id":"MDQ6VXNlcjIxNDM1Nzk=","avatar_url":"https://avatars1.githubusercontent.com/u/2143579?v=4","gravatar_id":"","url":"https://api.github.com/users/ruzhytskyi","html_url":"https://github.com/ruzhytskyi","followers_url":"https://api.github.com/users/ruzhytskyi/followers","following_url":"https://api.github.com/users/ruzhytskyi/following{/other_user}","gists_url":"https://api.github.com/users/ruzhytskyi/gists{/gist_id}","starred_url":"https://api.github.com/users/ruzhytskyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruzhytskyi/subscriptions","organizations_url":"https://api.github.com/users/ruzhytskyi/orgs","repos_url":"https://api.github.com/users/ruzhytskyi/repos","events_url":"https://api.github.com/users/ruzhytskyi/events{/privacy}","received_events_url":"https://api.github.com/users/ruzhytskyi/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T10:11:24Z","updated_at":"2018-11-27T10:11:24Z","author_association":"NONE","body":"Thank you! It works in master now."}}
{"actor":{"display_login":"ruzhytskyi"}}