I tried to visualize the graph generated by osm2po and rendered that graph in qgis. Now what I am trying to do is plot the vertices in the graph. So that I can visually see where the nodes/vertices are. I have attached a screenshot of the visualization I have up to now.

enter image description here

I want to actually see the nodes in this

I followed the suggestion as given by underdark. However, I could see that the number of nodes and edges is less than that in the database. In the database the number of nodes = 32 and the number of edges = 39. However in my case it is 31 nodes only and 38 edges only. What could be the reason?

enter image description here

  • do you want also the line start/end points? Jun 14, 2012 at 19:05

3 Answers 3


I guess you mean something like this:

enter image description here

Create a symbol with one line layer and two marker layers. Put the markers on the first and on the last vertex:

enter image description here

  • Hi underdark, I followed the same method you mentioned and I could see the nodes. However, the number of nodes is less that that available in the database. I have total of 32, but in the plot which I am attaching to the original question it is less than that. Also the number of edges are lower in number. What could be the reason?
    – user31820
    Jun 15, 2012 at 14:11
  • maybe duplicates with exactly the same geometry? it's hard to guess without being able to inspect the data.
    – underdark
    Jun 15, 2012 at 16:07

Another way is to enable the this line (by removing the leading #) in the config.

postp.2.class = de.cm.osm2po.plugins.PgVertexWriter

It's another osm2po-table which contains the vertices.


Go to the menu Vector -> Analysis tools -> Line intersections and you can create a point layer with some of the nodes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.