For a roof box, measure the crossbar spread and the clearance needed to open the hatch. Include the rack, box and cargo in the roof-load calculation. For a hitch carrier, check receiver size, tongue-weight rating and how far the carrier sticks out.
If a rack will carry a tent, check both pieces against the guidance in Vehicle Rooftop Tents.