I have put my osm file in base thanks to osm2pgsql and I am looking for a way to get the contributor list. I have searched in my database and haven't found so much... and the osm wiki about the osm2pgsql schema does not contain a lot of details...

Is it possible?

  • not sure if this useful - its online and finds users contributions hdyc.neis-one.org
    – Mapperz
    Jun 22, 2011 at 18:37
  • Not useful for what I need, but it's an interesting online feature. Thanks for the tip.
    – lvictorino
    Jun 22, 2011 at 20:13

1 Answer 1


Unless you have used the -x switch then the database that osm2pgsql creates won't include any contributor information. The main use for those databases is rendering which doesn't normally need to know who created an object, and including that information makes the database much larger, so it is normally left out.

That information is in the planet file though - in the user and uid attributes on each object. You may find you are better off writing some custom software to read planet and build a database of that information.

  • I was thinking about customizing the osm2pgsql to add contributors... Anyway thank you for your answer.
    – lvictorino
    Jun 22, 2011 at 20:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.