<meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  
  
    Hi,<br>
    <br>
    First step is to learn how to do it in Qgis.   Between the Field
    Calculator (open an attribute table, last icon on the left) and the
    table manager pluging (that you need to download and install as a
    plugin) you can do everything.<br>
    <br>
    If really really what to manipulate data in Excel, it's easy to do
    that if you have a shape file with points.  Just save as .csv and
    then import the text file in Excel.  You will need to know the
    projection (CRS) it is in.  You will have to column with x and y
    that you can then use to reimport back to QGIS.<br>
    <br>
    If you have polygones or polylines, create a new column (ex RowNum)
    and, using the Field Calculator,  use the $rownum function to add a
    row number to each polygon.  Then, export your data to .csv.  Do the
    modifications in Excel and then reimport the .csv with no x and y
    specified.  You will have a table with no object.  <br>
    <br>
    Then, load the .shp and .csv in the same project and Join both
    tables (Layer property, Joins (in the .shp) use the RowNum to join
    both files together.  It you save the resulting file, the new.shp
    with have all the column included.  You may then need to eliminate
    some columns after.  Use the table manager or the field calculator
    to do that.<br>
    <br>
    Remember that Excel, depending on the version,  may not be able to
    manipulate all the lines. After 2010, it's a million lines I think
    but it will be painful.<br>
    <br>
    Hope this helps.<br>
    Nicolas  <br>
    <br>
    <br>
    <div class="moz-cite-prefix">Le 2014-12-18 14:38, David Bradley [via
      OSGeo.org] a écrit :<br>
    </div>
    <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em'
      cite="mid:4A231F7B-91FD-445D-98EE-2EA8CF4919A7@gmail.com"
      type="cite"> Can someone point me in the direction of a better way
      to edit the data in a shapefile? <br>
      <br>
      Basically I want to export what is already in there to Excel, edit
      it, and then re-import it. The editing I need to do is to move a
      few cells into another column, add several columns, and remove
      many other seemingly superfluous columns.
      <br>
      <br>
      Thanks for any suggestions!
      <br>
      David
      <br>
      _______________________________________________
      <br>
      Qgis-user mailing list
      <br>
      <a moz-do-not-send="true"
        href="/user/SendEmail.jtp?type=node&node=5178431&i=0"
        target="_top" rel="nofollow" link="external">[hidden email]</a>
      <br>
      <a moz-do-not-send="true"
        href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
        target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
      <br>
      <br>
      <hr color="#cccccc" size="1" noshade="noshade">
      <div style="color:#444; font: 12px
        tahoma,geneva,helvetica,arial,sans-serif;">
        <div style="font-weight:bold">If you reply to this email, your
          message will be added to the discussion below:</div>
        <a moz-do-not-send="true"
href="http://osgeo-org.1560.x6.nabble.com/Editing-shapefile-attributes-in-QGIS-tp5178431.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Editing-shapefile-attributes-in-QGIS-tp5178431.html</a>
      </div>
      <div style="color:#666; font: 11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
        To start a new topic under Quantum GIS - User, email
        <a href="/user/SendEmail.jtp?type=node&node=5178437&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
        To unsubscribe from Quantum GIS - User, <a
          moz-do-not-send="true"
href="" target="_top" rel="nofollow" link="external">click
          here</a>.<br>
        <a moz-do-not-send="true"
href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a> </div>
    </blockquote>
    <br>
  



        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Editing-shapefile-attributes-in-QGIS-tp5178431p5178437.html">Re: Editing shapefile attributes in QGIS</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at Nabble.com.<br/>