Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have put my osm file in base thanks to osm2pgsql and I am looking 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 ?

Thank you.

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

1 Answer 1

up vote 11 down vote accepted

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.

share|improve this answer
    
I was thinking about customizing the osm2pgsql to add contributors... Anyway thank you for your answer. –  Rootosaurus Jun 22 '11 at 20:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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