@Override
    public int cost() {
      return 1 + tags.size() + nodes.size() + (info == null ? 0 : Info.COST);
    }
An ordered list of 2-2,000 nodes that define a polyline.
planetiler-core/src/main/java/com/onthegomap/planetiler/reader/osm/OsmElement.java