A parking lot on public land along the East River waterfront in Manhattan has been closed and will be turned into an outdoor gym.