We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node coordinates written to file by SimpleWriter() differ from location I've passed when creating Node() instance.
from osmium import SimpleWriter from osmium.osm.mutable import Node n = Node(location=(30.46, 50.37), id=1) writer = SimpleWriter('osm.xml') writer = SimpleWriter('osm.xml') writer.add_node(n) writer.close()
Result:
$ cat osm.xml <?xml version='1.0' encoding='UTF-8'?> <osm version="0.6" generator="libosmium/2.14.2"> <node id="1" lat="50.3699989" lon="30.4599991"/> </osm>
Osmium version: osmium==2.14.3 Python: 3.5.2 OS: Ubuntu 16.04.5
The text was updated successfully, but these errors were encountered:
e285dd6
The conversion of the location coordinates didn't keep sufficient precision. Fixed on master.
Sorry, something went wrong.
Thank you! It works in master now.
No branches or pull requests
Node coordinates written to file by SimpleWriter() differ from location I've passed when creating Node() instance.
Result:
Osmium version: osmium==2.14.3
Python: 3.5.2
OS: Ubuntu 16.04.5
The text was updated successfully, but these errors were encountered: