From f7fc177ea4baa5590cd41ca8d79b1a4d9b3aac2d Mon Sep 17 00:00:00 2001 From: Famlam Date: Sun, 18 Aug 2024 20:59:41 +0200 Subject: [PATCH] Update OsmPbf_libosmbf.py --- modules/OsmPbf_libosmbf.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/OsmPbf_libosmbf.py b/modules/OsmPbf_libosmbf.py index 2219aefc3..0580012ff 100644 --- a/modules/OsmPbf_libosmbf.py +++ b/modules/OsmPbf_libosmbf.py @@ -85,35 +85,35 @@ def CopyTo(self, output): osm_pbf_parser.read_osm_pbf(self._pbf_file, self) - def node(self, osmid, lon, lat, tags): + def node(self, osmid, lon, lat, tags, timestamp): data = { 'id': osmid, 'lon': lon, 'lat': lat, 'tag': tags, #'version' - #'timestamp' + 'timestamp': timestamp, #'uid' } self._output.NodeCreate(data) - def way(self, osmid, tags, refs): + def way(self, osmid, tags, refs, timestamp): data = { 'id': osmid, 'tag': tags, 'nd': refs, #'version' - #'timestamp' + 'timestamp': timestamp, #'uid' } self._output.WayCreate(data) - def relation(self, osmid, tags, ref): + def relation(self, osmid, tags, ref, timestamp): data = { 'id': osmid, 'tag': tags, #'version' - #'timestamp' + 'timestamp': timestamp, #'uid' 'member': ref, }