Functionality to load Ordnance Survey 1:50000 Scale Gazetteer data files to SQL Server. The data files are available for download from: https://www.ordnancesurvey.co.uk/opendatadownload/products.html
Inheritance: OSDataImporter
Esempio n. 1
0
        /// <summary>
        /// Import 1:50000 Scale Gazetteer data.
        /// </summary>
        /// <param name="args">command line args</param>
        static void RunGazetteerDataImport(string[] args)
        {
            ScaleGazetteerArgParser argParser = new ScaleGazetteerArgParser();

            argParser.Parse(args);

            ScaleGazetteerDataImporter importer = new ScaleGazetteerDataImporter();

            importer.LoadData(argParser.ImportOptions);
        }
        /// <summary>
        /// Import 1:50000 Scale Gazetteer data.
        /// </summary>
        /// <param name="args">command line args</param>
        static void RunGazetteerDataImport(string[] args)
        {
            ScaleGazetteerArgParser argParser = new ScaleGazetteerArgParser();
            argParser.Parse(args);

            ScaleGazetteerDataImporter importer = new ScaleGazetteerDataImporter();
            importer.LoadData(argParser.ImportOptions);
        }