[Qgis-user] export data as .csv or .txt

Alex Mandel tech_dev at wildintellect.com
Tue Jan 19 10:07:53 PST 2010


M.E.Dodd wrote:
> Is it possible to export (or save) data from qgis as a simple text file, for example I deal with a lot of point data and after doing various things such as finding the attributes of each point on a raster image within the gis I then want to then get this data out as a simple text file so it can go into other statistical programs for further analysis or data handling.
> At present I save as shapefile then convert this in mapinfo and save as .csv which seems a very long way round.
> 
> 

I don't believe QGIS can do this currently, but I think it would be
relatively easy to implement in future versions. I'm surprised you would
need to though most Stat programs can read dbf files such as the
shapefile attribute table.

Also have you considered keeping your point data in a database, many
stat programs can also read directly from databases and a database is a
good way to maintain data integrity.

I personally use Sqlite or Postgres with QGIS, python and R all the time
for my daily research needs. Note QGIS also has an easy to use R plugin
that lets you send data to it in the QGIS interface and run all your
stats without leaving the program.

Alex



More information about the Qgis-user mailing list