The ban on foreign travel and the restrictions for foreigners entering Japan were not lifted until the late Tokugawa period.
People in Japan had ways to learn about the outside world. Maps including foreign countries and hinting at faraway travel destinations were produced as early as the late 1600s, reflecting a public curiosity towards what what lay beyond the sea. They became even more common by the early 1800s, as Japan was growingly pressured by foreign powers to re-open its borders.
Cartography was also a way for the public to learn about foreign sciences.
Members of the Dutch East India Company, the only Europeans allowed in the country, imported an array of surveying and cartographic techniques to Japan. This knowledge was at first only shared among members of the Tokugawa government, and their direct employees. In the early 1700s, laws on the translation and circulation of Dutch sources became more relaxed, and many educated commoners became interested in Rangaku (Dutch studies).