osm2pgsql osm_timestamp is NULL

by Michael   Last Updated August 13, 2019 20:22 PM - source

I use osm2pgsql to load osm.pbf Data into a PostGIS database.

One objective is to store the osm_timestamp into a column. The flag "-x" is used in the cmd code. With the following line in the mapfeatures.style, the osm_timestamp is recognized:

node,way    osm_timestamp   timestamptz(0) linear

This results in a column "osm_timestamp", but all lines are "NULL".

I can't find a solution, because everything but NULL is expected.



Related Questions



Osm2pgsql Installation in CentOS

Updated August 10, 2017 17:22 PM