[OSM-dev] osm2pgsql and timestamp as data in Postgres?

Paul Norman penorman at mac.com
Tue Jul 9 07:35:58 UTC 2013


> From: Stefan Keller [mailto:sfkeller at gmail.com]
> Subject: [OSM-dev] osm2pgsql and timestamp as data in Postgres?
> 
> Hi,
> 
> Did anyone manage to configure osm2pgsql in order that it stores also
> the timestamp XML attribute in Postgres - either as separate field or as
> key/value in the hstore field? If yes, how can I do that?

The -x|--extra-attributes option will include this metadata. You may want to
add the columns to your .style file, and you will need to if you're not
using hstore.




More information about the dev mailing list