I was thinking about the sentence
Es gibt zwei Supermärkte in meiner Stadt.
and I was stuck to whether Stadt would be dative or genitive.
I know meiner is the possessive adjective in this situation but I thought as the "Stadt" belongs to me, this would be the genitive case i.e. the "Supermärkte" belongs to "Stadt".
Is it genitive or dative?
And to add, if it is genitive (and I am right) why would you need the preposition "in" i.e. why not just write:
Es gibt zwei Supermärkte meiner Stadt.