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

I trying to integrate pgrouting 2.x. I am now using pgrouting 1.x. In version 1 I used assign_vertex_id. It already dropped in version 2 and became pgr_createTopology function

SELECT pgr_createTopology('roads_r', 0.00001, 'the_geom', 'gid')

It returning query result OK but its not populating source and target field of my road data. Is there any bug in this function?

share|improve this question

This is hard to tell because I can't reproduce your problem without some sample data. Would it be possible for you to send a small sample data set to the developer mailing list?

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.