<div dir="ltr"><div><div><div><div>Hi Michael:<br><br></div>You can try Calc, from the LibreOffice suite. In this case it's a powerful free software tool to open many kinds of formats, such *. DBF without issues.<br><br>
</div>There are installers for Mac OS also in <a href="http://www.libreoffice.org">http://www.libreoffice.org</a> . Try it! perhaps you find it very useful.<br><br></div>Carlos<br></div>(QGIS 1.8 on Ubuntu 12.04)<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/6 Michael Giebels <span dir="ltr"><<a href="mailto:giebels@meo-carbon.com" target="_blank">giebels@meo-carbon.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><font face="Arial">Hi Carlos</font>, <br>
<br>
thanks for your input. I tried this before. However I am not able
to open *.dbf tables in Excel. It appears not to be readable in a
suitable form (Yes, I do go the way over right click, show all
files, open, and define seperators etc.). Somehow Excel does not
read the row break properly (when I try to import the pure data
without the header it tries to show all data in the first row and
aborts due to limited number of columns in Excel). I tried
different file origins (MacIntosh, Windows, DOS) as well. In a
German forum I found information that Microsoft does not support
*.dbf files anymore for Excel 2010 or higher which might explain
that issue.<br>
<br>
Btw: I am running QGIS 1.8 on a Mac OS X Version 10.7.5 (whom ever
this information helps) with MS Excel for Mac2011 Version 14.3.6
on it.<br>
<br>
I mentioned it before to Nathan already. All I want to do in the
end is to convert six categories so I can display them in
differing colors without creating new layers. But that is the way
I have to do it in the end I guess. <br>
<br>
Thanks for your replies and thanks for having me in the community<br>
<br>
Michael<br>
<br>
<br>
Am 06.08.13 15:24, schrieb Carlos Cerdán:<br>
</div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>... or perhaps you can:<br>
<br>
0. Add the new column, acording type od data and length
and... save and close QGIS (no data added). <br>
1. Open the *.DBF table with LibreOffice Calc or MS Excel,
to take advantage of their functions<br>
2. Calc-Excel formulas would be taken as text, so you
have to overwrite them with their own results<br>
3. Save (as *.DBF).<br>
4. Open the shape in QGIS. It will have the new data.<br>
</div>
5. An "advanced" step 2 is add new columns directly in
Calc/Excel. For that, watch the headers: they have:
name_of_camp , type_of_data , lenght<br>
<br>
</div>
Good luck<br>
<br>
</div>
Carlos Cerdán<br>
<div>
<div>
<div><br>
<div><br>
</div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/8/6 Nathan Woodrow <span dir="ltr"><<a href="mailto:madmanwoo@gmail.com" target="_blank">madmanwoo@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hey Micheal,
<div><br>
</div>
<div>This is currently not possible. If you are running
QGIS 1.9 you do have the ability to define your own
functions using Python example here <a href="https://github.com/NathanW2/qgsexpressionsplus/blob/master/functions.py" target="_blank">https://github.com/NathanW2/qgsexpressionsplus/blob/master/functions.py</a> however
if you are new to Python and QGIS this isn't something I
would do right away.</div>
<div><br>
</div>
<div>- Nathan</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
<div>
<div>On Tue, Aug 6, 2013 at 9:38 PM,
Michael Giebels <span dir="ltr"><<a href="mailto:giebels@meo-carbon.com" target="_blank">giebels@meo-carbon.com</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div bgcolor="#FFFFFF" text="#000000"> <font face="Arial">Hello QGIS users,<br>
<br>
the QGIS world is new to me, so please be
gentle...<br>
<br>
I am wondering how I could combine field
calculator functions in order to convert
information from an existing data column into
a new one.<br>
What I can do with my mediocre knowledge is to
query information from column 1 by setting <br>
<br>
"column1"='abc' <br>
<br>
which gives me a binary result (0,1) in my
resulting column. Then I can <br>
<br>
replace ("newcolumn",'1','6')<br>
<br>
How could I combine these two into one working
function (i.e. there MUST be a simple
expression in the function list) and do not
lose the new number when querying another
information (e.g. 'cba') from column 1? <br>
<br>
Thanks in advance!<span><font color="#888888"><br>
<br>
Michael<br>
<br>
</font></span></font> </div>
<br>
</div>
</div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">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>
<br>
</blockquote>
</div>
<br>
</div>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">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>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>