<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Another common solution to this type of problem is to open the .csv
file in a spreadsheet program (eg, Excel) and use string functions
to write a new text field containing a WKT representation of your
desired geometry. Save the edited file back as a .csv file, then
open it in QGIS as a delimited text layer, selecting Well known text
in the Geometry section.<br>
<br>
On 11/26/2020 7:48 AM, Ryan Peel wrote:
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_default"
style="font-family:verdana,sans-serif">I have a csv/table that
has a single row that contains some metadata as well as four
SEPARATE columns, x1, y1, x2, y2, x3, y3, x4, y4 of decimal
degree coordinates.</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif">I want to import all of
this data into QGIS and create a polygon from the four points
as a vector layer. </div>
<div class="gmail_default"
style="font-family:verdana,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif">What is the best way to
do this? I'm not a programmer or scripter really and fairly
new to QGIS. </div>
<div class="gmail_default"
style="font-family:verdana,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif">Thanks!</div>
<div><br>
</div>
<br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><b><font size="4">Ryan Peel<span
class="gmail_default"
style="font-family:verdana,sans-serif"></span></font></b></div>
<br>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>