pnorman/ogr2osm

Esri fileGDB to OSM direction error.

sophia-xll opened this issue · 1 comments

Hello everyone. I have use

python ogr2osm.py /root/PycharmProjects/GDB/aaa.gdb -f -o /root/PycharmProjects/GDB/a.osm"
It present as follow:
running with lxml.etree
Preparing to convert '/root/PycharmProjects/GDB/aaa.gdb' to '/root/PycharmProjects/GDB/a.osm'.
Will try to detect projection from source metadata, or fall back to EPSG:4326
Using default translations
Using default filterLayer
Using default filterFeature
Using default filterTags
Using default filterFeaturePost
Using default preOutputTransform
Parsing data
Detected projection metadata:
GEOGCS["GCS_WGS_1984",
    DATUM["WGS_1984",
        SPHEROID["WGS_84",6378137.0,298.257223563]],
    PRIMEM["Greenwich",0.0],
    UNIT["Degree",0.0174532925199433]]
Merging points
Making list
Checking list
Merging duplicate points in ways
Outputting XML

when open in Qgis ,I find the direction is error. Data in aaa.gdb is two cross line ,one is from west to east, the other is from north to south.

test

However,the a.osm reprsent two cross line like this:
screenshot

How can this happen? Thanks for any help.

I have try another .gdb data and It works well now .