Is there a way to query the user id given a certain user display name? What about the other way around?

The display name can be changed any time, so the id seem to be the better solution to identify an account. Is it possible to link to the user page by id? (Something like http://www.openstreetmap.org/user?id=xxxx)

asked 22 Nov '11, 15:22

bastik's gravatar image

bastik
5612618
accept rate: 41%

Is there anything new on that topic. Is it still impossible to get a user name from its uid?

(03 Jun '14, 14:03) pgiraud
1

See new answer from me below.

(03 Jun '14, 14:47) SimonPoole ♦

You can't link by id (as Gnonthgol says), but if you want to find an id from a given display name, go to that user's edits page, select a changeset from the list, then view the Changeset XML to find the uid.

permanent link

answered 22 Nov '11, 16:10

EdLoach's gravatar image

EdLoach ♦
18.1k14148263
accept rate: 23%

Yes an UID is better. On Odbl here, they might as well have cumulated the merits for the same UID !!!

permanent link

answered 14 Sep '12, 20:45

GentilPapou's gravatar image

GentilPapou
161146
accept rate: 0%

The API has supported a call with the UID as argument for quite a while now. The call returns user information including the user name:

http://www.openstreetmap.org/api/0.6/user/the_uid

This will naturally only give you the current mapping uid->user name and not historic ones.

permanent link

answered 03 Jun '14, 14:47

SimonPoole's gravatar image

SimonPoole ♦
38.7k13287614
accept rate: 19%

edited 03 Jun '14, 15:17

Can't open the link?

(27 Jun '15, 01:37) marla729
(27 Jun '15, 07:05) BCNorwich

Do bear in mind that user names can change. If you want to do a search (by current or by historical name or by ID) you can use http://whosthat.osmz.ru .

permanent link

answered 03 Jun '14, 19:00

SomeoneElse's gravatar image

SomeoneElse ♦
32.3k63335756
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×181
×46
×39
×2

question asked: 22 Nov '11, 15:22

question was seen: 19,678 times

last updated: 27 Jun '15, 12:39

powered by OSQA