The Direccion Hidrografica (1787 - 1927) was the Spanish equivalent of the British Admiralty or the U.S. Coast Survey. This organization, founded in 1787, was commissioned to produce accurate nautical charts of all waters frequented by Spanish vessels. In essence, it replaced the Casa de Contratción, which closed its doors in 1790. Like most such organizations, the Direccion Hidrografica marked a new age in cartography. Rather than compile charts created by navigators, explorers, and merchants, the Direccion Hidrografica worked closely with naval and military personnel to actually visit the sites directly in pursuit of the most accurate hydrographical, astronomical, and geodetic measurements. The Direccion Hidrografica created a massive library of nautical charts that, though not nearly as common as similar nautical charts by the U.S. Coast Survey and British Admiralty, are highly desirable for the beauty of their manufacture as well as their accuracy and detail. The office was originally located on Calle Ballesta, but relocated to 36 Alcala, both in Madrid. After 1908 the Dirección was subsumed into other governmental agencies. In 1927 the Direccion was absorbed into the Institute and Observatory of San Fernando, located in Cadiz. The library of original maps, charts, and journals was transferred to the Naval Museum of Madrid - where it resides to this day.