Thanks Richard. This tool was on my "Top ten list of things that would make my work a lot less annoying".<br><br>Possible problem: exported the attribute table of a shapefile to an Excel spreadsheet, but the values of the columns appeared formated as characters (even though they're numbers). Anyonelse can confirm this?<br>
<br>Best regards<br>Filipe<br><br><div class="gmail_quote">On Thu, Dec 15, 2011 at 8:33 PM, Richard Duivenvoorde <span dir="ltr"><<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi List,<br>
<br>
I uploaded a new version of the xytools plugin. After some questions and<br>
discussion on the list about Excel files, I added simple capability to<br>
open and save excel files.<br>
<br>
It uses the python xlw and xlrd libs for that<br>
(<a href="http://www.python-excel.org/" target="_blank">http://www.python-excel.org/</a>). Those are available for windows users in<br>
the osgeo4w package. Linux users can probably get it from there package<br>
manager. If all fails, go to <a href="http://www.python-excel.org/" target="_blank">http://www.python-excel.org/</a> and get it<br>
from there.<br>
<br>
In short: it can save the attributes of a vector layer to a simple (one<br>
worksheet containing) xls file.<br>
It can open an xls file and load it in a memory layer. You can either<br>
point to an x and y column, and those values will be used for the x and<br>
y of the Point features. Or you can cancel choosing the x and y, and the<br>
attribute data will just be loaded taking 0/0 as x and y coordinates.<br>
<br>
There is a help file availabe via the xytools plugin menu with more<br>
information.<br>
<br>
Let me know if you find problems with it or have ideas to improve (see<br>
docs for earlier ideas).<br>
<br>
plugin via plugin menu<br>
or<br>
<a href="http://plugins.qgis.org/plugins/xytools/" target="_blank">http://plugins.qgis.org/plugins/xytools/</a><br>
<br>
source<br>
<a href="http://hub.qgis.org/projects/xytools/repository" target="_blank">http://hub.qgis.org/projects/xytools/repository</a><br>
<br>
project page<br>
<a href="http://hub.qgis.org/projects/xytools" target="_blank">http://hub.qgis.org/projects/xytools</a><br>
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br>
<br>
ps if you find the plugin really usefull, I'm also trying out paypal<br>
buttons on the project page :-) Half of the profit (?) goes to the qgis<br>
project for this one I promised Paolo and Tim...<br>
<br>
<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br>