Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to reassign the node's id value to something I generate?

I did try exposing the uid attribute in the write transformer however only produced a new attribute and did not affect the id value.

//The question has been changed. To clarify the question at hand, How can I/Can I assign a node's id with a specific value when fme starts to write an osm file?


share|improve this question
What is it that you are trying to do? Please add some more information, this question is too vague. – unicoletti Sep 21 '11 at 6:35
I think I should have asked this question instead. How can I/Can I assign the node's id value with a specific value? – Pat Sep 21 '11 at 23:53

A negative ID in an OSM file is normally a placeholder for a new object that needs to be created. Editors working against the OSM API will give each new object a unique negative ID, which allows it to be referred to by other objects, and then when they upload the data and the server allocates the real permanent ID they will replace the negative value with the one returned by the server.

How this relates to what FME is doing I don't know, especially as your example doesn't seem to have latitude of longitude information, but it is what negative IDs normally mean.

share|improve this answer
Thanks for responding. This is interesting. Does the new id bare any relation to the original negative id e.g (id*-1) or its a more global id from the server? – Pat Sep 22 '11 at 0:02
None at all, because an editor client has no way of knowing what ID the server might assign when it does the upload. – TomH Sep 22 '11 at 9:03

Your Answer


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.