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 have a large set of .csv-files containing geographic information. Every dataset consists out of 2 .csv-files! This is my folder-structure. All files in Tracks are formatted equally and all in Routes too, obviously.

------- Tracks
-- 1.csv
-- 2.csv
-- 3.csv 
-- ...
------- Routes
-- 1.csv
-- 2.csv
-- 3.csv
-- ...

I can import them all for themselves, but that would take days of time (2000 datasets ...).

So what I would like to do is to load all those .csv-files at once and group them. So after the import I would like to have a lot of layer groups named 1,2,3 (like the files before the comma) and every group contains the layers representing the two files. Like this:

---- Group 1
-- tracks1
-- routes1
---- Group 2
-- tracks2
-- routes 2
---- Group 3
-- ...

Is that possible in any way? I cannot write python code, so I'm hoping for a plugin ;)

Thanks a lot!

share|improve this question
I think a script (Python, Ruby, even a shell script) to wrap around OGR should do the trick. – HeyOverThere May 23 '13 at 14:00
As I said, I cannot write a script ... And I don't know what OGR is ... – newnoise May 23 '13 at 14:29
Link to OGR – RyanDalton May 23 '13 at 19:55

Your Answer


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

Browse other questions tagged or ask your own question.