I wonder if ground-based starship construction sites are located in rural areas because people would think they’re a blight or eyesore if they’re in an large urban area like Chicago, San Francisco or NYC? Maybe they’re NIMBYs in Trek's 23rd century earth too, just as they are now? Though previous cannon states that the Enterprise was constructed in the San Francisco ship yards, there’s no on-screen evidence suggesting the construction yards are actually in San Francisco. In the late 20th century San Franciscoans were known for their NIMBYism when it came to freeways, especially these that are elevated and block the city view.. I’d hate to see the reaction to giant shipyards within the city if the NIMBY mindset still exists in the 23rd century. I think a rural area away from the major population area would be the best for a ground-based starship construction yard. It's a lot easier to acquire and develop land too in a rural setting without as much worry about the surrounding populace when compared to an urban city.