This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Osmosis warning “Data being output lacks metadata”

2

Osmosis is giving me this warning message

"WARNING: Attention: Data being output lacks metadata. Please use omitmetadata=true"

I am using a --write-pbf output and I see I can specify 'omitmetadata=true' to stop it outputting version number, timestamp, user name, and user id, but what is the cause of this warning?

asked 12 Nov '12, 00:48

Harry%20Wood's gravatar image

Harry Wood
9.5k2588128
accept rate: 14%


One Answer:

2

The cause of this warning is that some of your input data lacks metadata, and therefore the output data does, too. A clearer, but rather long, warning message would probably be: "WARNING! Some of your input data lacks metadata but you haven't specified omitmetadata=true which means that I am creating output partly with and partly without metadata! If you specified omitmetadata=true then at least my output would be consistent in not having any metadata."

The reason that some of your input data lacks metadata is likely that you're using a planet file and there are still a couple objects in there that have last been edited by an anonymous user and therefore lack user information.

answered 12 Nov '12, 07:05

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

edited 12 Nov '12, 07:06

Source code available on GitHub .