I've used ogr2osm command line tool to convert shapefile to .osm file while doing some editings in QGIS. The problem is after this convert, the updated OSM includes no feature and the attribute table is empty too. But using JOSM I can see data and attribute table. What is wrong with the OSM data? Is it possible that 'geometry' column has been deleted during the converting process or maybe'topology' missing?
python ogr2osm.py city_lines.shp
Also, the volume of the changed data decreases to 70MB from 2GB too!