public void setProfileParams(final RoutingContext rctx, final Map<String, String> params) {
        if (params != null) {
            if (params.isEmpty()) {
                return;
            }
            if (rctx.keyValues == null) {
                rctx.keyValues = new HashMap<>();
            }
            for (Map.Entry<String, String> e : params.entrySet()) {
                final String key = e.getKey();
                final String value = e.getValue();
                if (DEBUG) {
                    System.out.println("params " + key + " " + value);
                }
                rctx.keyValues.put(key, value);
            }
        }
    }
fill profile parameter list

@param rctx    the routing context
@param params  the list of parameters
main/src/main/java/cgeo/geocaching/brouter/core/RoutingParamCollector.java