If using method suggested by Micha
(
http://www.surfaces.co.il/?p=1112), i.e. 1) creating a virtualXLS
table (not loading a XLS table), 2) creating a table with the correct
field type, 3) using the SQL construct “INSERT INTO … SELECT FROM…” in
order to copy all data from the linked table into your structured
table, and 4) run the spatial funtions AddGeometryColumn() and
MakePoint() in order to convert the table to a spatial layer,
finally I obtain a table with the correct field type and the correct
NULL values as in the input xls file :-)
But, after inserting the obtained Spatialite table into QGIS (where
the features are correctly showed), I need save it as a shapefile, as
usual, otherwise I see the "ERROR" value in each cell of the attribute
table. And the problem is that the obtained shapefile while correctly
keeps the field type, have transformed the NULL values to ZERO!
I've read the second recommandation of the article:
"the table is “cleanly” formated – only data in rows, no empty rows,
etc."
Although, I would like to find a way to keep the input empty rows in
the output shapefile too!
Thank you in advance!
Massimo