0

Using osm2po to extract traffic signal in the vertices used to provide the value 1 in the clazz column of the vertex table:

Add vertices costs to postgresql routable network

For some reason I keep getting the value -128 now. Is that supposed to be like this?

2
  • Can you give me a bit more background info? -128 looks like a barrier.
    – Carsten
    Commented Oct 27, 2015 at 15:25
  • In the osm2po.conf I've enabled the following line: postp.1.class = de.cm.osm2po.plugins.postp.PgVertexWriter. When I look at the data the only values are 0 and -128.
    – Yojimbo
    Commented Oct 28, 2015 at 15:42

1 Answer 1

0

I could fix the problem by enabling

nodeClazz.1.name=TrafficSignals nodeTagResolver.class=de.cm.osm2po.plugins.routing.TrafficSignalsNodeTagResolver

in the OSM2PO-Routing section

now both barriers and traffic signals (1,-128) are written

Your Answer

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

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