<div dir="ltr"><div><div>Hi Bernd<br><br></div>In this case, After charging in QGIS, I change the name of second table to... nothing (yes, you can have charged a table without name), so the field name resulting is "_filed1", "_field2", etc.<br>
<br>Attribute tables are DBF tables, and DBF fields are max 10 characters length, so before union, names must be 9 character lenght.<br><br></div><div>Regards<br><br>Carlos Cerdán<br></div><br><br><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-08-19 4:44 GMT-05:00 Bernd Vogelgesang <span dir="ltr"><<a href="mailto:bernd.vogelgesang@gmx.de" target="_blank">bernd.vogelgesang@gmx.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi,<br>
<br>
since some versions, the once  "trivial" task to join tabular data to a layer became very annoying and time consuming.<br>
<br>
We have a normal point shape and an excel file which we want to join.<br>
Export xls to csv, import through the wizard, no deal.<br>
<br>
But using the joins from the properties is changing the field names by adding the table name in front of the original field name.<br>
This may be intended to prohibit confusion with the origin of the field, but its causing a lot of work, cause even if you keep your table name as short as it can be to be still meaningful, the combination with my still short field names plus the table name completely destroys the field name when saved as shape again.<br>

<br>
table name  = join<br>
field names: FIELDA, FIELDB, FIELDC etc<br>
<br>
Result after save:<br>
<br>
join_FIELD, join_FIE_1, join_FIE_2<br>
<br>
Even with such short names, all information is destroyed, so we have to go to the table manager (which a lot new user will not know for sure!) and rewrite the field names completely. For 20+ fields that's no fun at all.<br>

<br>
The second alternative to join data is through the processing toolbox "Join attribute table".<br>
This works great for combining to layers without that field name hokuspokus, but at least in V2.0 on Windows (my collegues computer is not updated yet), you can only select layers, tables can't be selected, so you can't join them.<br>

<br>
I had the very same issue on another dataset with 2000 items some days ago (on Win7, V2.4): The "normal" join took ages and produced unreadable field names, the Toolbox join didn't work, so in the end I fiddled myself into Spatialite to be able to join those darn data sets.<br>

<br>
I will stick to the Spatialite approach, but for my collegues, this is completely beyond the scope.<br>
<br>
<br>
Can anyone share their work-flows for joining data which is doable by normal dudes too?<br>
<br>
<br>
Cheers<span class=""><font color="#888888"><br>
Bernd<br>
<br>
-- <br>
Bernd Vogelgesang<br>
Siedlerstraße 2<br>
91083 Baiersdorf/Igelsdorf<br>
Tel: 09133-825374<br>
______________________________<u></u>_________________<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/<u></u>mailman/listinfo/qgis-user</a></font></span></blockquote></div><br></div></div></div></div>