Partial withAttr(String key, Object value) {
          return new Partial(omit, MapUtil.with(attrs, key, value));
        }
Computes and returns the linear-scoped attributes of this line, and the geometry they apply to.
planetiler-core/src/main/java/com/onthegomap/planetiler/FeatureCollector.java