I looked into using getFlags() for this as described here,Get road type (clazz) in osm2pobut for some reason I'm getting 65551 instead of 15, and 65557 instead of 21. Seems like if I unset the 16th bit, I get the right value (rrs.getFlags() & ~(1