# Loading the data into a GIS

The data can be loaded into several geographic information systems (GIS). This section describes how to load the combined CSV output file (for more information on how to combine multiple CSV files, see the [CSV file processing page](https://docs.os.uk/os-downloads/products/areas-and-zones-portfolio/code-point-open/csv-file-processing#bookmark13)) into four commonly used GIS, including:

* [QGIS](#qgis)
* [ArcGIS Pro](#arcgis-pro)
* [ArcMap](#arcmap)
* [MapInfo Pro 2019](#mapinfo-pro-2019)

<details>

<summary>QGIS</summary>

The following step-by-step instructions outline how to load Code-Point Open CSV files into QGIS. They have been prepared using version 3.8.1-Zanzibar of QGIS Desktop – an open-source GIS in which you can create, edit and visualise and publish geographic information. You can download QGIS for free from the [Download QGIS for your platform page of the QGIS website](http://www.qgis.org/en/site/forusers/download.html).

### Loading and displaying the CSV supply <a href="#bookmark19" id="bookmark19"></a>

To load and display CSV data in QGIS:

1. Open an existing project in QGIS or create a new one.
2. In *Layer*, click *Add Layer* > *Add Delimited Text Layer…* or click on the *Add Delimited Text Layer symbol* in the Manage Layers Toolbar.<br>

   <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FL8RoZIn0NGeAWbWn8Mgc%2F4.jpeg?alt=media" alt="QGIS UI showing Layer > Add Layer > Add Delimited Text Layer... menu option." width="563"><figcaption><p>QGIS UI showing Layer > Add Layer > Add Delimited Text Layer... menu option.</p></figcaption></figure>

   \
   \&#xNAN;*This will open the Data Source Manager Delimited Text dialog.*
3. In the Data Source Manager Delimited Text dialog:
   * File name: Use the ellipsis button (*…*) to the right of the File name pane to navigate to the saved outputfile.csv.
   * File Format: Select *CSV (comma separated values)*.
   * Record and Fields Options: Select *First Record has field names*.
   * Geometry Definition:
     * Select *Point coordinates*.
     * X field: Choose *Eastings* (or *EA* if the abbreviated column header was selected).
     * Y field: Choose *Northings* (or *NO* if the abbreviated column header was selected).
     * Geometry CRS: Select *EPSG:27700 – OSGB 1936 / British National Grid*.
   * Click *Add*.<br>

     <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FH22LhypsZwlMD1SNkdvF%2F5.png?alt=media" alt="QGIS Data Source Manager Delimited Text dialog."><figcaption><p>QGIS Data Source Manager Delimited Text dialog.</p></figcaption></figure>

     \
     \&#xNAN;*It will take a minute or so to load the data into the map pane, but when it has finished, the map pane will look like the example below:*<br>

     <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FGoIi77SNt0HQGTuHVysp%2F6.jpeg?alt=media" alt="QGIS UI showing Code-Point Open CSV data displayed in the Layers Panel and map pane area, with OS Maps API Light 27700 as the background map for geographical context." width="563"><figcaption><p>QGIS UI showing Code-Point Open CSV data displayed in the Layers Panel and map pane area, with OS Maps API Light 27700 as the background map for geographical context.</p></figcaption></figure>

     \
     \&#xNAN;*OS Maps API Light 27700 is being used as the background map for geographic context*
4. The outputfile can now be saved out into any format of your choosing.\
   \&#xNAN;*It is best to do this, otherwise you will have to repeat the process of geoprocessing the outputfile.csv every time you need to use it.*

</details>

<details>

<summary>ArcGIS Pro</summary>

The following step-by-step instructions outline how to load Code-Point Open CSV files into ArcGIS Pro. They have been prepared using version 3.0.

### Loading and displaying the CSV supply <a href="#bookmark21" id="bookmark21"></a>

To load and display CSV data in ArcGIS Pro:

1. Open ArcGIS Pro.
2. Open a project and name it (in this example, the project will be called cpOpen).
   1. Browse to a memorable location in which to save the project and keep the ‘Create a new folder for this project’ option checked.

   2. Click *OK*.<br>

      <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FXGfWiBAhLKktIDRy7kuh%2F7.png?alt=media" alt="ArcGIS Pro Create a New Project dialog."><figcaption><p>ArcGIS Pro Create a New Project dialog.</p></figcaption></figure>

   3. Once the project opens, add a background map for geographic context (in this example, OS Maps API Light 27700 has been added as the background map).

   4. From the *Map tab*, click *Add Data* > *XY Point Data.*<br>

      <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FveEFOKjHa6MaoXfUiZSd%2F8.jpeg?alt=media" alt="ArcGIS Pro UI showing the Map > Add Data > XY Point Data menu option." width="473"><figcaption><p>ArcGIS Pro UI showing the Map > Add Data > XY Point Data menu option.</p></figcaption></figure>

      *A Geoprocessing pane will open on the right-hand side of the map pane.*

   5. Input Table: Use the folder symbol to the right of the field to navigate to the outputfile.csv.

      * Output Feature Class: This will auto-populate.
      * X Field: Select *Easting* (or *EA* if the abbreviated column headers were chosen).
      * Y Field: Select *Northing* (or *NO* if the abbreviated column headers were chosen).
      * Coordinate System: Select *Current Map \[Map]*. This will then populate with British National Grid (the OS Maps API Light 27700 map has already been chosen for the background context mapping in this example).
      * Click *Run* at the bottom right of the Geoprocessing pane.

      In the Geoprocessing pane:

      * Input Table: Use the folder symbol to the right of the field to navigate to the outputfile.csv.
      * Output Feature Class: This will auto-populate.
      * &#x20;X Field: Select *Easting* (or *EA* if the abbreviated column headers were chosen).
      * Y Field: Select *Northing* (or *NO* if the abbreviated column headers were chosen).
      * Coordinate System: Select *Current Map \[Map]*. This will then populate with British National Grid (the OS Maps API Light 27700 map has already been chosen for the background context mapping in this example).
      * Click *Run* at the bottom right of the Geoprocessing pane.<br>

        <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2F2bEcdyqSCcqjP6lIScXY%2F9.png?alt=media" alt="A screenshot showing the ArcGIS Pro Geoprocessing pane."><figcaption><p>ArcGIS Pro Geoprocessing pane.<br><br></p></figcaption></figure>

        <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2Fen0sz8IeVzIhpJaacFuI%2Fimage.png?alt=media&#x26;token=c9cceef0-5dd6-4a62-b194-b076896c61a2" alt="ArcGIS Pro Geoprocessing pane showing the Run button." width="352"><figcaption><p>ArcGIS Pro Geoprocessing pane showing the Run button.</p></figcaption></figure>

        \
        \&#xNAN;*It will take a minute or so to load the data into the map pane, but when the data has finished loading, the map pane will look like the example below:*<br>

        <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2F4bdBNXvGNdLrqvmBtnJM%2F11.jpeg?alt=media" alt="ArcGIS Pro UI showing Code-Point Open CSV data displayed as point data in the map pane area with OS Maps API Light 27700 as the background map for geographical context." width="563"><figcaption></figcaption></figure>

        *OS Maps API Light 27700 has been used as the background map for geographic context.*

        *As a result of this process, a new file geodatabase will have been created in the new folder that was created when the project was opened.*

</details>

<details>

<summary>ArcMap</summary>

The following step-by-step instructions outline how to load Code-Point Open CSV files into ArcMap. They have been prepared using version 10.7.1.

### Loading and displaying the CSV supply <a href="#bookmark23" id="bookmark23"></a>

To load and display CSV data in ArcMap:

1. Open ArcMap.

2. Click on the *Add Data button* from the top ribbon.<br>

   <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FP1cAAU8fjJ67e1PfyjJ8%2F12.jpeg?alt=media" alt="ArcMap UI showing the top ribbon, with the Add Data button circled in red."><figcaption><p>ArcMap toolbar and highlighted add data button</p></figcaption></figure>

3. In the Add Data dialog, browse to where you have saved your outputfile.csv, select the file and click Add.<br>

   <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FcFo760RFAGoeDUso2Hj2%2F13.png?alt=media" alt="ArcMap Add Data dialog showing outputfile.csv selected"><figcaption><p>ArcMap Add Data dialog.</p></figcaption></figure>

4. The file will now appear in the Table Of Contents.<br>

   <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FN6qRYzl5Z1red7Uz6gQl%2F14.png?alt=media" alt="ArcMap Table of Contents panel."><figcaption><p>ArcMap Table of Contents panel.</p></figcaption></figure>

5. Right-click on the *outputfile.csv* in the Table of Contents and select *Display XY data…*<br>

   <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FekOLqeqlmLYTOxhvSsG3%2F15.jpeg?alt=media" alt="ArcMap Table of Contents panel showing the outputfile.csv > Display XY Data... menu option." width="380"><figcaption></figcaption></figure>

6. In the Display XY Data dialog:

   1. X Field: Select *Eastings* (or *EA* if the abbreviated column headers have been chosen).
   2. Y Field: Select *Northings* (or *NO* if the abbreviated column headers have been chosen).
   3. Coordinate System of the Input Coordinates: Select *British National Grid*.
   4. Click *OK*.<br>

      <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2Ft0e85NrunEJsjwUPJaKe%2F16.png?alt=media" alt="ArcMap Display XY Data dialog." width="263"><figcaption><p>ArcMap Display XY Data dialog.</p></figcaption></figure>

7. Click *OK* in the following window which will automatically pop up:<br>

   <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FdVZANrcltP2DrnHGjg7H%2F17.png?alt=media" alt="ArcMap &#x27;Table Does Not Have Object-ID Field&#x27; warning window."><figcaption><p>ArcMap 'Table Does Not Have Object-ID Field' warning window.</p></figcaption></figure>

   \
   \&#xNAN;*The message warns you that the file resulting layer is only a temporary table and will need to be saved out.*

   *After a minute or so, the points will appear in the map pane; the map pane should look similar to the following example:*<br>

   <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FgI7HJCrtGYEvsgbPhgn7%2F18.jpeg?alt=media" alt="ArcMap UI showing Code-Point Open CSV data displayed in the Table of Contents panel and map pane area, with OS Maps API Light 27700as the background map for geographical context." width="563"><figcaption><p><em>OS Maps API Light 27700 has been used as the background map for geographic context.</em></p></figcaption></figure>

8. Before the points can be used meaningfully, you'll need to save the layer out as a shapefile:
   * Right-click on the *outputfile.csv Events* layer in the Layers panel.
   * Click *Export* from the drop-down menu.
   * In the Export Data dialog, browse to and select a file name for the data.
   * Click *OK*.<br>

     <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FLgCtami4l86zqCl3Pr2v%2F19.png?alt=media" alt="ArcMap Export Data dialog."><figcaption><p>ArcMap Export Data dialog.</p></figcaption></figure>

     *The shapefile will take several minutes to create, but progress can be monitored in the Export Progress window that will automatically pop up. This window will close when the export is complete.*

9. The following window will also pop up, giving you the option to add the newly created data to the workspace.\
   \&#xNAN;*If you click Yes, then a shapefile and associated files will be created at the chosen location.*

</details>

<details>

<summary>MapInfo Pro 2019</summary>

The following step-by-step instructions outline how to load Code-Point Open CSV files into MapInfo Pro. They have been prepared using version MapInfo Pro 2019, release build 58.

### Loading and displaying the CSV supply <a href="#bookmark25" id="bookmark25"></a>

To load and display CSV data in MapInfo Pro:

1. Open MapInfo Pro 2019.

2. Select *Open* > *Blank Workspace*.\
   ![MapInfo Pro UI showing the Open > Blank Workspace action.](https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FHZhviHnDoC3eq1PSCnzi%2Fimage.png?alt=media\&token=b2464659-c273-42ff-be4a-c6c93370233b)

3. Open a mapping background for geographic context (in this example, OS Maps API Light 27700 has been added as the background map).

4. From the *HOME tab*, click *Open Table*.<br>

   <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2F1bwHEq9SrP2aAdPKUbyA%2Fimage.png?alt=media&#x26;token=fe29cc9c-e511-4704-b9cf-2399d393f7c8" alt="MapInfo Pro UI showing the HOME > Open Table action." width="191"><figcaption></figcaption></figure>

5. In the Open dialog:
   * Files of type: Change from *MapInfo.tab* to *Comma delimited CSV (\*.csv)*.
   * Browse to *outputfile.csv* and click on it.
   * Click *Open*.<br>

     <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FRmE40ZyOGHiXcLxnLemq%2Fimage.png?alt=media&#x26;token=e9024207-970d-4a55-ad92-7e961664a216" alt="MapInfo Pro Open dialog." width="541"><figcaption></figcaption></figure>

6. In the Open dialog:
   * Files of type: Change from *MapInfo.tab* to *Comma delimited CSV (\*.csv)*.
   * Browse to *outputfile.csv* and click on it.
   * Click *Open*.\ <br>

     <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FYI3JYN3TuJP5LmY47M5v%2Fimage.png?alt=media&#x26;token=237764f3-63aa-47b9-9c62-445244c72668" alt="MapInfo Pro Comma Delimited CSV Information dialog." width="300"><figcaption></figcaption></figure>

     It will take several minutes for the table to load, but when it does, a window called outputfile Browser will open:<br>

     <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FrKorC2edbrBanfKQtiy5%2Fimage.png?alt=media&#x26;token=eef4174f-7bf4-4013-8b64-0121857e9696" alt="MapInfo Pro UI showing the outputfile Browser window."><figcaption></figcaption></figure>

7. To create the points from the table, click on the *SPATIAL tab* from the top ribbon > *Create* > *Create Points*.<br>

   <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2F59MmSeEicT91V2h5iCXp%2Fimage.png?alt=media&#x26;token=77af67d3-b612-4de7-8140-b0cedcfaffe9" alt="MapInfo Pro UI showing the SPATIAL > Create > Create Points action."><figcaption></figcaption></figure>

8. In the Create Points dialog:
   * Projection: Change this from *Longitude / Latitude (WGS 84)* to *British National Grid \[EPSG:27700]*. *The easiest way to do this is to click the ellipsis button next to Projection and then tap B on the keyboard 6 times, highlight British National Grid \[EPSG:27700] in the results and click OK.*
   * using Symbol: The default style in this dialog is a square. You can change this to something a bit more visible (for example, a red star) if you like by clicking on the ‘using Symbol’ button and following the instructions.
   * Leave all the other settings.
   * Click *OK*.<br>

     <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FBnpPOV0qABbX8uQ0eSkK%2Fimage.png?alt=media&#x26;token=6d95eebc-841d-4176-8acb-16a7344bd961" alt="MapInfo Pro Create Points dialog." width="380"><figcaption></figcaption></figure>

     *A progress bar will appear; it will disappear when the geoprocessing has finished:*<br>

     <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FYZGccn7B214e95vEBrmF%2Fimage.png?alt=media&#x26;token=fd81b914-d6db-4fd4-9e2f-bdbc781dda4a" alt="MapInfo Pro Status dialog showing the geoprocessing progress." width="382"><figcaption></figcaption></figure>

     *Once the process has finished, the points will appear in the map pane with your chosen point style. The map pane should look similar to the following example:*<br>

     <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2Fk558tqn2mhyNKEj74Vxa%2Fimage.png?alt=media&#x26;token=a8330eca-52bb-4d2f-88d9-317ff8da2a59" alt="" width="563"><figcaption></figcaption></figure>

     *A .tab file (and associated .MAP and .ID files) is automatically created in the same folder as the outputfile.csv. However, these are the temporary files that are created as part of the point creation process and they will be difficult to query.*

9. To save the output file layer as a true .tab file, click the *HOME tab* > *Save* > *Save Copy As*. In the Save Copy As dialog, select *outputfile* and click *Save As…*<br>

   <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FiImvvH1s67JUmEcWOjHu%2Fimage.png?alt=media&#x26;token=f2211e3c-d4ef-4651-a3b0-ffdc690be940" alt="MapInfo Pro Save Copy As dialog." width="561"><figcaption></figcaption></figure>

10. In the Save Copy of Table As dialog, navigate to where you would like to save the .tab file, give it a memorable name and click *Save*:<br>

    <figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FPStmizSlvUsZExFKqYmK%2Fimage.png?alt=media&#x26;token=87e810c5-f89c-4339-9812-367aecb27da3" alt="MapInfo Pro Save Copy of Table Aa dialog." width="563"><figcaption></figcaption></figure>

    *A progress bar will once again appear and then disappear when the save has completed. A more easily queryable .tab file will now be available to use in MapInfo.*

</details>
