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'm assuming this is a simple question, though my efforts have not yet found the answer!

I want to import a large number of polylines and/ or polygons into one one or more QGIS layers in order to plot the data. Each will only have simple attributes (e.g. name). I need to know:

  1. The required format of the CSV file to enable step 2.
  2. The command or plug in required to create a polyline or polygon layer in QGIS.

For information, the input CSV files are written by bespoke Excel VBA or by FORTRAN codes, so I have full control of these output formats. Essentially I'm looking for the polyline and polygon equivalent of the delimited text plugin. Thanks!

share|improve this question
Maybe you can have a look at…. – PieterB Jul 18 '12 at 13:08
If you have full control of the output, perhaps you could write the data into well known text or .kml or .gml, all of which you could use in QGIS? What format do you ultimately want the data in? – Darren Cope Jul 18 '12 at 17:05
Thanks for your reply. Interesting, but I think not the solution. I have co-ordinates in decimal degrees in simple text or CSV files. I want these to be displayed in QGIS as polylines (not all points to be joined together), not as points. The option of polygons would be helpful, but not so important. – Tim Fowler Jul 19 '12 at 10:21
Thanks for your interest. I should have been more precise. I have full output control of the format of my character files (.txt, .csv) but not easy access to complex file formats, and being new to GIS I have no idea what .kml or .gml are! – Tim Fowler Jul 19 '12 at 10:24

You can use Layer > Add delimited text layer

enter image description here enter image description here

For more about this, you can read: Visualising WKT geometry string in QGIS

share|improve this answer
Thanks all. I've got it now! – Tim Fowler Jul 23 '12 at 12:45
@TimFowler please consider accepting this answer. – underdark Aug 19 '12 at 14:54
@TimFowler Please let us know what you ended up doing. I am in a similar situation, but I don't think the import option above will work for me. Thanks! – James Oct 3 '12 at 3:14

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.