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 an existing pgrouting network topology that I would like to add a road to. The road is a linestring from a shapefile and will intersect several roads in the existing network. Is there an easy way to add the road into 'ways' so it is segmented properly and new vertices are created at the intersections?

share|improve this question

1 Answer 1

I don't think there is an easy way. You need to

  • split the roads at intersections with existing roads as you said
  • Use source/target ID's when "connecting" to existing road segments
  • create unique source/target ID's for segments that don't connect to existing ones.
share|improve this answer

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.