New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing osm_timestamp tag when using --extra-attributes and .pbf files #137
Comments
I also have seen this problem |
This must be a problem with handling pbf files. I tried with the |
Version? |
|
There is a TODO for timestamps in the pdf parser: https://github.com/openstreetmap/osm2pgsql/blob/master/parse-pbf.cpp#L216 |
Just to note, PBFs store timestamp as int32 in the info message but sint64 delta encoded in a denseinfo message. |
This should be fixed with the latest version using libosmium. Someone care to check? |
+1 for getting a PBF fix in. Was able to work around the bug by using the XML file instead. |
wfm |
When importing data from .pbf into the database, with --extra-attributes flag (and relevant settings in the style file) -- the metadata for osm_timestamp seems to be blank. I've checked the XML version of the file, and it seems to contain the timestamp metadata. Using an older version (0.83) returned blank for all metadata, while with v0.85 only the timestamp seems to be blank.
In order to recreate this issue:
run
with the following style file:
http://pastie.org/9121340
and the following OSM data file:
https://s3.amazonaws.com/metro-extracts.mapzen.com/austin.osm.pbf
This seems to be related to:
441bedb
The text was updated successfully, but these errors were encountered: