13

I know, my question is similar to some old ones on this site.

I've a lot of CSV files (geo coordinates) to import to qgis (and then to convert them), and the usual way is not the best way to do it (too long).

I have almost 500 CSV files (wgs84 coordinates) and this is what I want to do:

  1. Import all CSV files at once into QGIS
  2. Project them
  3. Export them into CSV files (again) but with different coordinates (convertion to UTM33N)

I'm trying to understand how to use the python console but I'm not moving on :(

Can anyone explain to me how to achieve it step by step?

  • see my answer below. the problem was already solved and explained – Generic Wevers Oct 28 '15 at 11:06
  • 2
    And why is that duplicate with the marked one? Maybe the OP tries to learn pyqgis and how to use python if you consider his/her bolds. – nickves Oct 28 '15 at 11:41
  • Please specify your question. Do you want to not load them manually into QGIS? Do you want to convert them into another format? What exactly is your question? – bugmenot123 Oct 28 '15 at 14:06
  • Import all the files in one process to qgis
  • project them
  • export all them again as csv but in utm coordinates
  • – Raquel Ribeiro Oct 29 '15 at 00:59
  • cat *.csv > one_file.csv (or whatever the windows equivalent is) will combine all your csv files to one. 500 really isn't such a big number :-) – John Powell Oct 29 '15 at 09:07
  • Depending on your circumstances, this could be very easy. Do all of your coordinate columns have the same name? Are these all point files? I'll post a solution soon on this assumption. – blord-castillo Oct 30 '15 at 14:58
  • One more thing... are all coordinates guaranteed to be in UTM zone 33N? If not, you need error catching for coordinates that are outside. – blord-castillo Oct 30 '15 at 15:15