def layer_id_from_name(shortname)
      layer = layers.find { |l| l.shortname == shortname }
      raise "Layer #{layer} not found" unless layer
      layer.id
    end
def layer_id_from_name(shortname)
      layer = layers.find { |l| l.shortname == shortname }
      raise "Layer #{layer} not found" unless layer
      layer.id
    end
rubocop:enable Eval