Skip to main content
Removed question from answer
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

What version of QGIS are you using?

When I run your code the only integer variable in the nc.shp on R side is CRESS_ID; and is intepreted as integer in QGIS as well.

All the other variables are "numeric" in R, which translates to Real in Qgis, in both cases being floating point (in line with expectations, with added consideration that the ESRI Shapefile follows Ashton-Tate dBase IV logic - which is positively ancient).

I am using 3.22.10-Białowieża

enter image description here

If you have numeric data on R side you wish to interpret as integer in QGIS it may help to run as.integer() on them before exporting the shapefile.

What version of QGIS are you using?

When I run your code the only integer variable in the nc.shp on R side is CRESS_ID; and is intepreted as integer in QGIS as well.

All the other variables are "numeric" in R, which translates to Real in Qgis, in both cases being floating point (in line with expectations, with added consideration that the ESRI Shapefile follows Ashton-Tate dBase IV logic - which is positively ancient).

I am using 3.22.10-Białowieża

enter image description here

If you have numeric data on R side you wish to interpret as integer in QGIS it may help to run as.integer() on them before exporting the shapefile.

When I run your code the only integer variable in the nc.shp on R side is CRESS_ID; and is intepreted as integer in QGIS as well.

All the other variables are "numeric" in R, which translates to Real in Qgis, in both cases being floating point (in line with expectations, with added consideration that the ESRI Shapefile follows Ashton-Tate dBase IV logic - which is positively ancient).

I am using 3.22.10-Białowieża

enter image description here

If you have numeric data on R side you wish to interpret as integer in QGIS it may help to run as.integer() on them before exporting the shapefile.

... tis better to end on a positive note!
Source Link
Jindra Lacko
  • 1.2k
  • 7
  • 12

What version of QGIS are you using?

When I run your code the only integer variable in the nc.shp on R side is CRESS_ID; and is intepreted as integer in QGIS as well.

All the other variables are "numeric" in R, which translates to Real in Qgis, in both cases being floating point (in line with expectations, with added consideration that the ESRI Shapefile follows Ashton-Tate dBase IV logic - which is positively ancient).

I am using 3.22.10-Białowieża

enter image description here

If you have numeric data on R side you wish to interpret as integer in QGIS it may help to run as.integer() on them before exporting the shapefile.

What version of QGIS are you using?

When I run your code the only integer variable in the nc.shp on R side is CRESS_ID; and is intepreted as integer in QGIS as well.

All the other variables are "numeric" in R, which translates to Real in Qgis, in both cases being floating point (in line with expectations, with added consideration that the ESRI Shapefile follows Ashton-Tate dBase IV logic - which is positively ancient).

I am using 3.22.10-Białowieża

enter image description here

What version of QGIS are you using?

When I run your code the only integer variable in the nc.shp on R side is CRESS_ID; and is intepreted as integer in QGIS as well.

All the other variables are "numeric" in R, which translates to Real in Qgis, in both cases being floating point (in line with expectations, with added consideration that the ESRI Shapefile follows Ashton-Tate dBase IV logic - which is positively ancient).

I am using 3.22.10-Białowieża

enter image description here

If you have numeric data on R side you wish to interpret as integer in QGIS it may help to run as.integer() on them before exporting the shapefile.

Source Link
Jindra Lacko
  • 1.2k
  • 7
  • 12

What version of QGIS are you using?

When I run your code the only integer variable in the nc.shp on R side is CRESS_ID; and is intepreted as integer in QGIS as well.

All the other variables are "numeric" in R, which translates to Real in Qgis, in both cases being floating point (in line with expectations, with added consideration that the ESRI Shapefile follows Ashton-Tate dBase IV logic - which is positively ancient).

I am using 3.22.10-Białowieża

enter image description here