Jump to the following:

OS uses cookies to improve this website. Read about cookies

  • twitter
  • Google+
  • facebook

Data Surgery

Did you know that you can use QGIS to translate Ordnance Survey .GML data into many other formats?

[Deleted User]
  • Deleted user
  • Newbie
    • 12 August 2014 09:14AM
    • 8,579 Views
    • Visits: 9
    • Discussions: 1
    • Responses: 0
    • Registered: 6 August 2014 09:06AM
    • Last active: 28 August 2014 04:41PM

    Did you know that you can use QGIS to translate Ordnance Survey .GML data into ESRI Shapefile (and many other formats)?

    This means that for small areas of data you won’t need to purchase expensive translation software.

    Simply follow the steps below and you'll be on your way.

    1. Load Ordnance Survey .GML files into QGIS buy selecting ‘add vector layer’ and then select ‘.gz’ from the drop down list at the bottom.

    2. You can then select which layers you wish to add from the list;

    3. Once you have done that the .GML data will load into QGIS.

    4. Right click on that layer in the left hand window pane;

    5. Select ‘Save as...’ from the menu.

    6. You can now select from a range of different formats supported by QGIS. Select the format that you want first of all. Then select ‘browse’.

    7. Give the layer that you want to save a name and a location. Once you have the name and location specified click ’save’.

    8. Once the data is saved out. Click ‘OK’ to close the original window.

    9. You now have the data in the new format!

    Some formats are easier than .GML to interrogate and manipulate so this is a really useful tool in QGIS!

    If you have any other queries relating to the hints and tips above, please let us know and we'll try our best to help.



    3 responses

    mixedbredie
      • 14 November 2014 08:22PM
      • 8,488 Views
      • Visits: 3
      • Discussions: 2
      • Responses: 9
      • Registered: 14 November 2014 05:22PM
      • Last active: 19 April 2016 11:35AM

      QGIS is a fantastic multi-tool although, as you say, for processing larger areas a dedicated tool like Astun's Loader! or Snowflake's GoLoader makes life a lot easier.

      mixedbredie
        • 10 March 2015 03:10PM
        • 8,255 Views
        • Visits: 3
        • Discussions: 2
        • Responses: 9
        • Registered: 14 November 2014 05:22PM
        • Last active: 19 April 2016 11:35AM

        Lutra Consulting have just developed the OS Translator 2 plugin for QGIS which loads OS GML incredibly fast. It utilises all your computers processor cores and threads and in my case loaded 70K ITN records in less than 10 seconds. This is into a PostgreSQL/PostGIS database.

        MattH
          • 25 May 2018 08:54AM
          • 1,918 Views
          • Visits: 2
          • Discussions: 0
          • Responses: 0
          • Registered: 25 May 2018 08:49AM
          • Last active: 30 October 2018 08:56AM

          Is there a QGIS tool that doesn't rely on PostGIS, ideally into MIDMIF or TAB format? I've been looking but am struggling to find one!

          There may be responses for this discussion that are currently awaiting moderation and not visible yet.

          Please login or sign-up to respond to this discussion.

          © Ordnance Survey 2018