 When Nicholas Meyer (qv) was asked to help with the script, the  first thing he wanted to do was change the location from San  Francisco to Paris because he had previously written and directed a  movie about time travel involving San Francisco called  _Time After Time (1979)_ (qv). But since Starfleet is supposed to be  located in San Francisco, he was overruled.