@Override
      public LinearRange setAttr(String key, Object value) {
        if (value instanceof ZoomFunction<?> || value instanceof Struct) {
          mustUnwrapValues = true;
        }
        return add(new Attr(range, key, value));
      }
A builder that can be used to configure linear-scoped attributes for a partial segment of a line feature.
planetiler-core/src/main/java/com/onthegomap/planetiler/FeatureCollector.java