Skip to content
New issue

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

Format error when the Longitude or Latitude is small such as : 0.000007589 #5

Open
wants to merge 138 commits into
base: master
Choose a base branch
from

Conversation

gzqlovemxq
Copy link

When the Longitude or Latitude is small such as: 0.000007589, the output will be like 7.589e-6, and it will also be stored as 7.589e-6 in the osm file, which will result in the coordinate errors.

pnorman and others added 30 commits March 25, 2012 00:47
Conflicts:
	ogr2osm.py
	translations/uvmtrans.py
…manipulation of the layers.

This can be disabled with the new flag --no-memory copy.

Benchmarking indicates no significant speed difference between the options.
… tag even though all relations generated are MPs
By default use 1 nanodegree. The OSM API uses 100 nanodegrees
By default any points which will be considered as the same by the OSM API are considered the same for merging.
Corrected python-gdal install instructions.
jerry73204 and others added 30 commits October 1, 2018 16:04
Create setuputils script for PyPl distribution.
Add arguments for JOSM's upload=never, download=never, and locked=true options
Fix axis swapping with GDAL 3.0
option --add-timestamp causing error:

Traceback (most recent call last):
  File "/home/andrzej/PycharmProjects/offline_riskzones/venv/bin/ogr2osm", line 11, in <module>
    load_entry_point('ogr2osm', 'console_scripts', 'ogr2osm')()
  File "/home/andrzej/PycharmProjects/offline_riskzones/venv/src/ogr2osm/ogr2osm.py", line 781, in main
    output()
  File "/home/andrzej/PycharmProjects/offline_riskzones/venv/src/ogr2osm/ogr2osm.py", line 505, in output
    attributes.update({'timestamp':datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')})
NameError: name 'datetime' is not defined
"wb" is expecting b"" while 1 line lower there is casting to string
fixed bugs for --saveID and --add-timestamp
Seeking a new maintainer banner in README.md
add a LICENSE file containing the MIT license text, as is necessary
Add CI tests from pnorman's master branch
Improve performance by eliminating mergePoints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.