The corporation needs to consider location, possible competition, available workforce, need in the community, traffic and transportation considerations and costs in the area. We think of Walmarts as identical when the reality is that each store is carefully planned to meet the specific needs of the location by what they sell and where they place the store, etc.
The community needs to consider if the addition of a place like Walmart is going to be a boon or a bust. Can the towns other businesses survive the competition? Is the town large enough to "need" a Walmart? Will it create more jobs than it will take? How will Walmart add to the needs of the community? How will Walmart change the community in economic and social terms?