@Override
    public void handleWayTags(int edgeId, EdgeIntAccess edgeIntAccess, ReaderWay way, IntsRef relationFlags) {
        OSMValueExtractor.extractTons(edgeId, edgeIntAccess, way, maxAxleLoadEncoder, Collections.singletonList("maxaxleload"));
    }
@Test
    public void testRounding() {
        ReaderWay readerWay = new ReaderWay(1);
        EdgeIntAccess edgeIntAccess = new ArrayEdgeIntAccess(1);
        int edgeId = 0;
        readerWay.setTag("maxaxleload", "4.8");
        parser.handleWayTags(edgeId, edgeIntAccess, readerWay, relFlags);
        assertEquals(5.0, malEnc.getDecimal(false, edgeId, edgeIntAccess), .01);

        edgeIntAccess = new ArrayEdgeIntAccess(1);
        readerWay.setTag("maxaxleload", "3.6");
        parser.handleWayTags(edgeId, edgeIntAccess, readerWay, relFlags);
        assertEquals(3.5, malEnc.getDecimal(false, edgeId, edgeIntAccess), .01);

        edgeIntAccess = new ArrayEdgeIntAccess(1);
        readerWay.setTag("maxaxleload", "2.4");
        parser.handleWayTags(edgeId, edgeIntAccess, readerWay, relFlags);
        assertEquals(2.5, malEnc.getDecimal(false, edgeId, edgeIntAccess), .01);
    }