Ovinomancer
No flips for you!
Here is an idea -- a gate that opens horizontally, OUTSIDE of the city, because it is actually located underwater on the other side. Water floods up from the swamp side of the gate and on the arid side the gate sits open at the bottom of a very small lake that is used for crop irrigation. Travel through the gate is possible but inconvenient, as you have to swim down a short distance and get soaking wet.
If this is actually going to be a source of a lot of trade or travel, I bet you the enterprising residents of both sides with access to building materials and maybe even magic, have a lovely and roomy bridge and ramp built that would avoid the nasty wetness and facilitate trade.
Honestly, while this is a cool visual, it adds complication of access to something that you'd probably be happier using as a story element rather than something you have to play out any time the party is transitioning. And, again, the benefits of trade would be such that the City, being on both sides and relying on gate traffic, would expend a lot of effort and civil engineering to ease.
Now, a smaller settlement than a city, maybe two very different towns on each side, with occasional trade through the challenging gate would make an more interesting and explainable setting. Although, I have to say, the huge metropolis -- on side with aqueducts and adobe and sandstone buildings with a desert view and the other on stilts with few stone buildings and essentially built on top of itself over and over again as sections keep sinking, but easily traversed by a central gate... I like that better. Your game, though, but I'm stealing that idea and it's going in the maybe future game setting book. Theft now with sound effects:
Yoink.