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

Does anybody knows if vertex (source, target columns) in osm2po tables are always the same?

I have my dr_2po_4pgr table with routing data and dr_matrix with routes already made. In this table I have source,target,cost columns. This is for avoid pgrouting functions that penalize the performance (I need to make many calls to these functions).

My question is, if when I generate an updated dr_2po_4pgr (osm2po routing table) table with a new osm file should also update my table dr_matrix or if source,target id's are always the same.

Thanks in advance!!

Pd: excuse my english

share|improve this question
up vote 4 down vote accepted

It's the nature of osm that everyone can modify things. Hence you cannot rely on IDs.

share|improve this answer

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.