<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#242729;background:#F9F8F6">Here is my problem: I have 3 layers only I would like to remove all the attributes that are not on layer 1, no table of layers will provide a
foreign key or link. So delete the layer 2 and 3 attributes that are not on layer 1.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#242729;background:#F9F8F6"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#242729;background:#F9F8F6"><o:p> </o:p></span></p>
<p class="MsoNormal">Screen : <a href="https://i.stack.imgur.com/nnOxd.png">https://i.stack.imgur.com/nnOxd.png</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://gis.stackexchange.com/questions/374754/delete-unnecessary-pyqgis-attributes?noredirect=1#comment612308_374754">https://gis.stackexchange.com/questions/374754/delete-unnecessary-pyqgis-attributes?noredirect=1#comment612308_374754</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#4E87A0;mso-fareast-language:FR">Mathias Mirra<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#4E87A0;mso-fareast-language:FR">Développeur</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#4E87A0;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:5.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR">Tel. : 06 29 70 41 92 | Mail. :
<a href="mailto:mmirra@mcgr.fr"><span style="color:#0563C1">mmirra@mcgr.fr</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="379" style="width:284.4pt;margin-left:-7.1pt;border-collapse:collapse">
<tbody>
<tr style="height:60.7pt">
<td width="189" valign="top" style="width:141.8pt;border:none;border-right:solid #4E87A0 1.0pt;padding:0cm 5.4pt 0cm 5.4pt;height:60.7pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;mso-fareast-language:FR"><img border="0" width="177" height="74" style="width:1.8437in;height:.7708in" id="Image_x0020_1" src="cid:image001.png@01D690F0.EE773970"></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
</td>
<td width="190" valign="top" style="width:142.6pt;padding:0cm 5.4pt 0cm 5.4pt;height:60.7pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR">281 Route d'Espagne,
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR">31100 Toulouse<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:3.0pt;font-family:"Arial",sans-serif;color:#2F5496;mso-fareast-language:FR"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR">05 32 09 38 71 |
</span><span lang="EN-US" style="font-size:12.0pt;mso-fareast-language:FR"><a href="http://www.mcgr.fr/"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:windowtext">www.mcgr.fr</span></a></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:3.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR">
</span><a href="https://www.facebook.com/groupemcgr/"><span lang="EN-US" style="font-size:12.0pt;color:windowtext;mso-fareast-language:FR;text-decoration:none"><img border="0" width="25" height="25" style="width:.2604in;height:.2604in" id="Image_x0020_2" src="cid:image002.png@01D690F0.EE773970"></span></a><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR"> </span><a href="https://fr.linkedin.com/company/groupemcgr"><span lang="EN-US" style="font-size:12.0pt;color:windowtext;mso-fareast-language:FR;text-decoration:none"><img border="0" width="25" height="25" style="width:.2604in;height:.2604in" id="Image_x0020_3" src="cid:image003.png@01D690F0.EE773970"></span></a><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR"> </span><a href="https://www.youtube.com/channel/UCahBf8ogJuyGlzAczTTtC9w"><span lang="EN-US" style="font-size:12.0pt;color:windowtext;mso-fareast-language:FR;text-decoration:none"><img border="0" width="25" height="25" style="width:.2604in;height:.2604in" id="Image_x0020_4" src="cid:image004.png@01D690F0.EE773970"></span></a><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR"><o:p></o:p></span></p>
</td>
</tr>
<tr style="height:6.2pt">
<td width="379" colspan="2" valign="top" style="width:284.4pt;padding:0cm 5.4pt 0cm 5.4pt;height:6.2pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:3.0pt;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;mso-fareast-language:FR"><img border="0" width="365" height="26" style="width:3.802in;height:.2708in" id="Image_x0020_5" src="cid:image005.png@01D690F0.EE773970" alt="Une image contenant plane, lumière, blanc, grand
Description générée automatiquement"></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>