I am using osm2po v5.1.0

I have combined 6 country pbf extracts as such:

java -jar osm2po-core-5.1.0-signed.jar prefix=sk cmd=tj slovakia-latest.osm.pbf    
java -jar osm2po-core-5.1.0-signed.jar prefix=at cmd=tj austria-latest.osm.pbf    
java -jar osm2po-core-5.1.0-signed.jar prefix=cz cmd=tj czech-republic-latest.osm.pbf    
java -jar osm2po-core-5.1.0-signed.jar prefix=hu cmd=tj hungary-latest.osm.pbf    
java -jar osm2po-core-5.1.0-signed.jar prefix=pl cmd=tj poland-latest.osm.pbf    
java -jar osm2po-core-5.1.0-signed.jar prefix=ua cmd=tj ukraine-latest.osm.pbf    
java -jar osm2po-core-5.1.0-signed.jar prefix=slovakia-plus sk at cz hu pl ua cmd=m    
java -jar osm2po-core-5.1.0-signed.jar prefix=slovakia-plus cmd=sg

I have uncommented all these Ovl routes:


I have used this URL to try and route starting away from a vertex (mid-line), using routerClassID=4:


However, my results look exactly the same as using routerClassID=0 (DefaultRouter)

The end points of the routes are the same, lying on a vertex: enter image description here

Am I missing a configuration? What am I doing wrong?

1 Answer 1


Try this here:


The crucial param is routerId instead of routerClassId. However, I remember that I used the latter somewhere in the past but now cannot find it in my history or documentation anymore. Can you show me the location where you have it from?

  • I have been using osm2po on and off for many years now. I must have had an old URL that I used as a template, containing 'routerClassId' instead of the newer 'routerIDd'. Perhaps from version osm2po-4.5.25 or earlier? If you do a search in gis.stackexchange for 'routerClassId' you can find it hanging around. Many thanks for your quick response.
    – maw269
    Jul 28, 2017 at 16:17

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.