Fitting a Driveway Gate to a Sloped Lot

Two driveways that both measure sixteen feet across can need completely different gates once one of them climbs four inches over that width. On a hillside lot in Carlsbad the drop is what decides the build, as the notes at carlsbad iron gates new trouble describe.
Why the ground line matters more than the opening

A level gate hung across a sloped drive leaves a wedge-shaped gap at the bottom that is tight on the uphill side and wide on the downhill side. Lots near La Costa and Buena Vista Lagoon often fall toward the street, so the low corner of the leaf is the one that scrapes first. Measure the rise from hinge post to latch post along the actual pavement line and write that number on the drawing.
Swing arc on an uphill approach

A single swing gate that opens inward over rising pavement will catch the concrete long before it reaches ninety degrees. The fix is either a hinge point set higher on the post or a leaf cut on an angle so the bottom rail follows the slope. A dual swing pair splits that problem in half, because each leaf only has to clear its own half of the rise, and the shorter leaves put less twist on the posts.
When a slide gate suits the grade better
A slide gate rides a track or a cantilever frame instead of arcing across the drive, so the slope matters only along the line of travel. A cantilever gate needs no ground track at all, which keeps debris off the runway, but it needs a counterweight tail roughly half the opening width behind the post. Many Carlsbad, CA lots near Encinitas and Oceanside have a retaining wall exactly where that tail would sit, so check the wall before choosing.
Hinge posts and bottom clearance
Set the hinge post on the high side of the slope when the leaf opens inward and the low side when it opens outward, because the leaf has to rise or fall through its arc with the pavement. Leave two to four inches of clearance under the lowest point and stagger the pickets so the bottom rail still reads straight against the grade. Heavy wrought iron wants a post tube of at least four inches square with a footing that goes below the slope line, not the top of the soil.
Finish and hardware on a tilted gate
Steel tubing frames take a weld at each corner, and a tilted leaf puts extra load on the lower hinge, so use an adjustable pin hinge there. Galvanized hardware followed by powder coat holds up to the salt air that moves through San Diego County, and a drop rod anchors the leaf when it is parked open against a slope. Plan a stop post, since gravity swings a loose leaf downhill.