[Qgis-user] is it possible to change field type

Alexandre Neto senhor.neto at gmail.com
Wed Feb 11 08:16:27 PST 2015


Following Richard advice, if the filed order matter to you, you can also
use the table manager plugin to rename and sort the fields so they look
exactly like the original shapefile.

Best regards

Alexandre Neto

On Wed, Feb 11, 2015 at 4:10 PM, Richard Duivenvoorde <rdmailings at duif.net>
wrote:

> On 11-02-15 16:49, Michael.Dodd wrote:
> > When creating polygons I suddenly realised that I need to change the
> > field type from integer to text, however this does not seem possible in
> > layer properties and the help does not mention this.  Is there some
> > other way of changing the type or is it fixed once you have started
> > entering data?
>
> Thinking you are talking about shape file here...
>
> The 'definition' of which type every column has is IN the shape file, so
> you cannot change that anymore to my knowledge.
>
> Best is to use the field calculator, to create a new text column based
> on the values of your integer column, and then throw away your int column.
>
>
> http://docs.qgis.org/2.6/en/docs/user_manual/working_with_vector/field_calculator.html
>
> Regards,
>
> Richard
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150211/e5aa7798/attachment.html>


More information about the Qgis-user mailing list