Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use Qgis to illustrate the results from my Matlab simulation. Matlab produces a csv-file which is connected to a shapefile within Qgis.

At the moment I have to close and reopen Qgis to show the new results from the Matlab simulation.

Is it possible to reload the attribute-table of the csv-file without closing and reopen Qgis?

share|improve this question

I can suggest an alternative workflow that, while not necessarily easier than closing and opening QGIS each time, might make more sense:

  • Import your shapefile into spatialite
  • Import the CSV into spatialite (using the "Virtual TXT/CSV option)
  • Create a spatial view in spatialite by JOINing the spatial table (shapefile) to the virtual CSV table

Now, You can display the view in QGIS just like any spatial layer, and use the JOINed values from spatialite. But, each time the CSV is recreated, you will need to DROP the virtual CSV table, and re-link to it. Then a refresh in QGIS will show the new values. THis only takes a moment, and what's more, you can define many views, and keep the previous ones around if needed...


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.