QGIS Change Attribute Type

From Tuflow
Revision as of 11:54, 15 May 2017 by Mitch3007 (talk | contribs)
Jump to navigation Jump to search
    This page shows you how to change an attribute data type in QGIS via Table Refactor Tool.

    QGIS Properties.png

    QGIS Field Pre Refactor.JPG

  1. Open your Shape in QGIS.
  2. Under the 'Table' dropdown menu goto Maintenance --> Table Structure as per the below image.
    QGIS Processing Toolbox.png

  3. Within the 'Modify Table Structure' you can select any of the attributes and modify the data type. Care needs to be taken to ensure that your data isn't truncated if you intend to use the existing data within that attribute. An example is shown below.
    QGIS Find Refactor.png]

  4. Once you've modified the attribute data type you can review it within the Type column as per the below. If happy with your modifications hit ok.
    QGIS Refactor.JPG]


  5. Once you've modified the attribute data type you can review it within the Type column as per the below. If happy with your modifications hit ok.
    QGIS Field Post Refactor.JPG]


    For more handy Mapinfo workflows, head back to the Mapinfo Tips and Tricks page.