Preheat the oven to 350 degrees F. Grease a 9-inch springform pan and line the bottom with a round of parchment paper, then grease the parchment lightly. In a medium bowl, whisk together 2 1/2 cups of flour, 2 teaspoons of baking powder, 1/2 teaspoon of baking soda, 1/2 teaspoon of salt, 1 teaspoon of cinnamon, and 1/4 teaspoon of nutmeg.
In a large bowl, beat 3/4 cup of softened butter with 1 1/2 cups of granulated sugar on medium speed for 3 to 4 minutes, until pale, fluffy, and almost white. Beat in 3 eggs one at a time, mixing well after each one, then beat in 1 tablespoon of orange zest, 2 teaspoons of vanilla extract, and 1/2 teaspoon of almond extract. Scrape down the sides of the bowl.
Add one-third of the flour mixture to the butter mixture and mix on low speed just until it disappears. Add half of the sour cream and all of the milk, and mix just until combined. Repeat with another third of the flour, the rest of the sour cream, and the last third of the flour, mixing on low after each addition. Stop as soon as the last streak of flour is gone.
Stir 1 teaspoon of orange zest into 1 cup of room-temperature cranberry sauce. Spread half of the batter into the prepared pan and smooth the top. Spoon the cranberry sauce over the batter in dollops, leaving a 1-inch border bare all around the edge. Drop the remaining batter over the sauce in spoonfuls, then smooth it gently to cover. Run a butter knife through the batter in slow figure-eights, about 6 to 8 strokes, no more.
Slide the pan into the 350 degree F oven and bake for 45 minutes, until the top is deep golden brown, the edges pull slightly away from the pan, and a toothpick inserted into the center comes out clean or with a few moist crumbs. If the top browns too fast, tent it loosely with foil for the last 10 minutes. Cool the cake in the pan on a wire rack for 15 minutes, then release the springform ring and cool completely, about 1 hour.
Whisk 1 cup of sifted powdered sugar with 2 tablespoons of orange juice and 1/2 teaspoon of vanilla extract until smooth and thick enough to ribbon off the spoon. Spoon the glaze over the completely cooled cake, letting it drip slowly down the sides. Scatter 1/2 cup of fresh cranberries over the top and tuck in a few rosemary sprigs. Let the glaze set for 15 minutes, then slice with a long, sharp knife, wiping the blade between cuts.