<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks, Nicolas, but<div class="">already tried that: all CRS is 4326. Zoom to layer does nothing. <div class="">Should I change the E and WE, N and S to pos and neg?</div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">Op 8 jan. 2016, om 06:06 heeft Nicolas Cadieux <<a href="mailto:nicolas.cadieux@archeotec.ca" class="">nicolas.cadieux@archeotec.ca</a>> het volgende geschreven:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class="">Hi,<br class="">
Are you sure you have no features or are they just it the wrong place?  Right Click on the layer and select zoom to layer extent.  Check your CRS and make sure you have CRS on the fly activated.  Make sure your option don't automatically assign the project or default CRS  layer as your layer does not have one yet.</p><p dir="ltr" class="">Nicolas Cadieux M.Sc.<br class="">
Les Entreprises Archéotec inc. <br class="">
8548, rue Saint-Denis Montréal H2P 2H2<br class="">
Téléphone: 514.381.5112  Fax: 514.381.4995<br class="">
<a href="http://www.archeotec.ca" class="">www.archeotec.ca</a></p>
<div class="gmail_quote">On Jan 7, 2016 16:18, "Joris Hintjens [via <a href="http://osgeo.org" class="">OSGeo.org</a>]     " <<a href="x-msg://7/user/SendEmail.jtp?type=node&node=5244214&i=0" target="_top" rel="nofollow" link="external" class="">[hidden email]</a>> wrote:<br type="attribution" class=""><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" class="quote">

        Thanks Nathan,<div class=""><br class=""></div><div class="">short but good proposition. </div><div class=""><br class=""></div><div class="">You encouraged me to finally have a look at that WKT button in the “import cvs” menu. </div><div class="">But… No succes. Tried DMS and D,ddd format, but nothing happens. The layer imports, arrears in the layer list, property table of that layer looks fine, but no features appear on the map. IF you have nothing more interesting to do,  and want to give it a try: </div><div class="">Here is a sample of my layer:</div><div class=""></div><br class=""><div class=""></div><div class=""><div class="">see anything wrong? Let me know.</div><div class=""><br class=""></div><div class="">greetings,</div><div class=""><br class=""></div><div class="">Joris</div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="">
        
        
        
        



<br class=""><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class=""><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" class=""><div class="">Op 7 jan. 2016, om 03:08 heeft Nathan Woodrow <<a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5244197&amp;i&#61;0">[hidden email]> het volgende geschreven:</div><br class=""><div class=""><p dir="ltr" class="">Or use excel to make a WKT column and import that.</p><p dir="ltr" class="">Nathan</p>
<br class=""><div class="elided-text"><div dir="ltr" class="">On Thu, 7 Jan 2016 11:48 am Nyall Dawson <<a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5244197&amp;i&#61;1">[hidden email]> wrote:<br class=""></div>On 7 January 2016 at 07:08, Joris Hintjens <<a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5244197&amp;i&#61;2">[hidden email]> wrote:<br class="">
> Hello,<br class="">
> I’m lost.<br class="">
> I have a list of movements. A table with (among others) a column “FROM”  and a column “TO” (both containing coordinates)<br class="">
><br class="">
> How can I import this in QGIS so that I have a bunch of lines going from FROM to TO?<br class="">
><br class="">
<br class="">
This is relatively straightforward in QGIS master:<br class="">
<br class="">
- import your CSV file<br class="">
- right click the CSV layer, and choose "Save as"<br class="">
- change format to "ESRI Shapefile". Choose the correct CRS for your<br class="">
coordinates.<br class="">
- expand out the "Geometry" group and change "Geometry type" from<br class="">
"Automatic" to "LineString"<br class="">
- click OK, the new LineString shapefile (with all null geometries)<br class="">
will be added to the project<br class="">
- now, you need to create the geometries. This is done through the<br class="">
field calculator.<br class="">
- tick "update existing field"<br class="">
- change the field to "<geometry>"<br class="">
- enter the expression:<br class="">
'make_line(make_point("x1","y1"),make_point("x2","y2"))' (but replace<br class="">
x1, y1, ... with the correct columns names from your original CSV<br class="">
file)<br class="">
- click OK. Done!<br class="">
<br class="">
Nyall<br class="">
<br class="">
<br class="">
> thanks for your comments<br class="">
><br class="">
> Joris<br class="">
><br class="">
> _______________________________________________<br class="">
> Qgis-user mailing list<br class="">
> <a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5244197&amp;i&#61;3">[hidden email]<br class="">
> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external" class="">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br class="">
> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external" class="">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br class="">
_______________________________________________<br class="">
Qgis-user mailing list<br class="">
<a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5244197&amp;i&#61;4">[hidden email]<br class="">
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external" class="">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br class="">
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external" class="">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div></div></blockquote></div>
</div></blockquote></div><br class=""><br class="">_______________________________________________
<br class="">Qgis-user mailing list
<br class=""><a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5244197&amp;i&#61;5">[hidden email]
<br class="">List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external" class="">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br class="">Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external" class="">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><div class=""><br class=""><img src="http://osgeo-org.1560.x6.nabble.com/images/icon_attachment.gif" class=""> <strong class="">routesample.csv</strong> (3K) <a href="http://osgeo-org.1560.x6.nabble.com/attachment/5244197/0/routesample.csv" target="_top" rel="nofollow" link="external" class="">Download Attachment</a></div>

        
        
        
        <br class="">
        <br class="">
        <hr noshade="noshade" size="1" class="">
        <div style="color:#444;font:12px 'tahoma' , 'geneva' , 'helvetica' , 'arial' , sans-serif" class="">
                <div style="font-weight:bold" class="">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/Import-lines-from-cvs-tp5244005p5244197.html" target="_top" rel="nofollow" link="external" class="">http://osgeo-org.1560.x6.nabble.com/Import-lines-from-cvs-tp5244005p5244197.html</a>
        </div>
        <div style="color:#666;font:11px 'tahoma' , 'geneva' , 'helvetica' , 'arial' , sans-serif;margin-top:0.4em;line-height:1.5em" class="">
                To start a new topic under Quantum GIS - User, email <a href="mailto:ml-node+s1560n4125267h38@n6.nabble.com" class="">ml-node+s1560n4125267h38@n6.nabble.com</a> <br class="">
                To unsubscribe from Quantum GIS - User, <a href="<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;unsubscribe_by_code&amp;node&#61;4125267&amp;code&#61;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg&#61;&#61" class="">http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;unsubscribe_by_code&amp;node&#61;4125267&amp;code&#61;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg&#61;&#61</a>;">click here.<br class="">
                <a href="<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;macro_viewer&amp;id&#61;instant_html%21nabble%3Aemail.naml&amp;base&#61;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs&#61;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" class="">http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;macro_viewer&amp;id&#61;instant_html%21nabble%3Aemail.naml&amp;base&#61;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs&#61;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml</a>" style="font:9px serif">NAML
        </div>

        
        
        
<br class=""><hr align="left" width="300" class="">
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Import-lines-from-cvs-tp5244005p5244214.html" class="">Re: Import lines from cvs</a><br class="">
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html" class="">Quantum GIS - User mailing list archive</a> at <a href="http://nabble.com" class="">Nabble.com</a>.<br class="">_______________________________________________<br class="">Qgis-user mailing list<br class=""><a href="mailto:Qgis-user@lists.osgeo.org" class="">Qgis-user@lists.osgeo.org</a><br class="">List info: http://lists.osgeo.org/mailman/listinfo/qgis-user<br class="">Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user</div></blockquote></div><br class=""></div></body></html>