Functionality to load Ordnance Survey Code-Point data files to SQL Server. The data files are available for download from: https://www.ordnancesurvey.co.uk/opendatadownload/products.html
Inheritance: OSDataImporter
        /// <summary>
        /// Import Code-Point data.
        /// </summary>
        /// <param name="args">command line args</param>
        static void RunCodePointDataImport(string[] args)
        {
            // This deals with parsing out the command line args specifically for Code-Point data importer.
            CodePointArgParser argParser = new CodePointArgParser();
            argParser.Parse(args);

            CodePointDataImporter importer = new CodePointDataImporter();
            importer.LoadData(argParser.ImportOptions);
        }
Beispiel #2
0
        /// <summary>
        /// Import Code-Point data.
        /// </summary>
        /// <param name="args">command line args</param>
        static void RunCodePointDataImport(string[] args)
        {
            // This deals with parsing out the command line args specifically for Code-Point data importer.
            CodePointArgParser argParser = new CodePointArgParser();

            argParser.Parse(args);

            CodePointDataImporter importer = new CodePointDataImporter();

            importer.LoadData(argParser.ImportOptions);
        }