Skip to main content
2 of 2
formatting
Ian Turton
  • 83.2k
  • 6
  • 89
  • 189

Can I reorder the coordinates of a line when importing into QGIS a WKT linestring?

I managed to import a csv file containing lines in QGIS but unfortunately the x y aren't in the correct order. that is, the csv has a field where there is a sequence of lat (y), lon (x), while qgis apparently wants x,y. I become aware of this problem because my lines are plotted in a place which isn't my area under study. What can I do?

ID;geometry;name;definition;type;ID_linea
3;2;"LINESTRING(46.155628 13.17198, 46.155283 13.172648)";Ippovia Cormor in Comune di Tricesimo;qua1;1

(That should be somewhere in italy)

Geo_it
  • 533
  • 3
  • 10