[Tile-serving] [osm2pgsql] osm_timestamp is empty (#560)

Tomas Straupis notifications at github.com
Mon Mar 21 20:40:25 UTC 2016


Column osm_timestamp in imported/created tables (planet_osm_point, planet_osm_polygon etc.) is null:

=> select count(1) from planet_osm_point where osm_timestamp is not null;
 count 
-------
     0
(1 row)

I'm importing lithuania pbf file from geofabrik. I've converted pbf to xml and confirmed that timestamp IS filled in pbf file. XML excerpt:
<node id="15389895" lat="54.7321714" lon="25.2436895" version="5" timestamp="2015-10-26T13:16:19Z" changeset="34881555" uid="1241595" user="xxx"/>

osm2pgsql provided by fedora rpm package on 64bit fedora OS
$ osm2pgsql --version
osm2pgsql SVN version 0.88.1 (64bit id space)

Import is done with the following call:
osm2pgsql -d gis -S osm2pgsql.style --extra-attributes lithuania-latest.osm.pbf

osm2pgsql.style file has these lines (among many others)
...
node,way   osm_user     text
node,way   osm_timestamp timestamptz(0)
...

Note: osm_user field IS filled in
Note: this used to work, but stopped two-three weeks ago or so, process is automated so I didn't noticed it right away.

I'm out of ides what to try/check...

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/560
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160321/ebdfad68/attachment.html>


More information about the Tile-serving mailing list