https://issues.qgis.org/https://issues.qgis.org/favicon.ico2010-09-15T06:07:41ZQGIS Issue TrackingQGIS Application - Feature request #3010: ftools (merge shapefiles tool): patch to add option to select attribute table structurehttps://issues.qgis.org/issues/3010?journal_id=230642010-09-15T06:07:41ZRui Pedro Henriques
<ul></ul><p>changes in files are marked [rph] and contain the indication on how many lines were changed.</p> QGIS Application - Feature request #3010: ftools (merge shapefiles tool): patch to add option to select attribute table structurehttps://issues.qgis.org/issues/3010?journal_id=230652010-09-24T12:44:30Zcfarmer -cfarmer@foo.bar
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>In Progress</i></li></ul><p>Please attach the <strong>.ui file with the above changes rather than the generated ui_</strong>.py file.<br />Also, am unsure whether using a default of -9999 is a good idea, given that some users might be using this value for some other purpose. May be better to leave fields blank?</p>
<p>Carson</p> QGIS Application - Feature request #3010: ftools (merge shapefiles tool): patch to add option to select attribute table structurehttps://issues.qgis.org/issues/3010?journal_id=230662010-11-14T02:25:40ZAlexander Bruy
<ul></ul><p>May be it is better to gather all attributes from input shapes into output shape, as in MMQGIS?</p> QGIS Application - Feature request #3010: ftools (merge shapefiles tool): patch to add option to select attribute table structurehttps://issues.qgis.org/issues/3010?journal_id=230672010-11-14T02:29:32ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>I'm not the author of the patch, so maybe is better to wait for his feedback. In any case your suggestion makes sense.</p>
<p>By the way... any feedback by the author of mmqgis? is he going to contribute his tools in the qgis repos?</p> QGIS Application - Feature request #3010: ftools (merge shapefiles tool): patch to add option to select attribute table structurehttps://issues.qgis.org/issues/3010?journal_id=230682010-11-14T02:47:27ZAlexander Bruy
<ul></ul><p>Replying to [comment:5 lutra]:</p>
<blockquote>
<p>I'm not the author of the patch, so maybe is better to wait for his feedback. In any case your suggestion makes sense.</p>
</blockquote>
<p>I see :-). So I'll start to modify Merge tool to gather all fields from input files.</p>
<blockquote>
<p>By the way... any feedback by the author of mmqgis? is he going to contribute his tools in the qgis repos?</p>
</blockquote>
<p>Unfortunatelly I have no info about this. I think we should ask Carson</p> QGIS Application - Feature request #3010: ftools (merge shapefiles tool): patch to add option to select attribute table structurehttps://issues.qgis.org/issues/3010?journal_id=230692010-11-16T02:44:41ZRui Pedro Henriques
<ul></ul><p>Replying to [comment:4 alexbruy]:</p>
<blockquote>
<p>May be it is better to gather all attributes from input shapes into output shape, as in MMQGIS?</p>
</blockquote>
<p>Hi! I don't know how MMQGIS works, but what would be the behaviour exactly? If there is field X in shapefile A and field X in shapefile B, what would be the output? All values go to the new field X in output file or will there be two fields: A_X and B_X? I've seen both behaviours before and although the first one might work, the second one tends to be bad and to fail in large groups of layers with the same field names.</p>
<p>The option to choose the shapefile that will be the model for the new attribute table had a "trick" behind it: if I wanted to add or remove fields it's easy to create a new empty shapefile with the desired fields and, therefore, choosing it will cause unwanted fields to be dropped and wanted fields to be created, eliminating the need to further edition on the output shapefile.</p>
<p>As I see it, the best option - maybe not for now - would be to show the user a list of all the fields and to let the user choose which ones should appear in the output.</p>
<p>I'm still struggling with QT and python trying to create the *.ui file that Carson asked for...</p> QGIS Application - Feature request #3010: ftools (merge shapefiles tool): patch to add option to select attribute table structurehttps://issues.qgis.org/issues/3010?journal_id=230702011-05-12T07:55:13ZAlexander Bruy
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>fixed</i></li></ul><p>Starting from <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/6327b2e22416c52142bb8ca3feebd7773a312454" title="allow merging shapefiles with different attribute tables (fix #3010)">6327b2e22416c52142bb</a> Merge shapefiles tool collect all attributes from input files and store them in output file.</p> QGIS Application - Feature request #3010: ftools (merge shapefiles tool): patch to add option to select attribute table structurehttps://issues.qgis.org/issues/3010?journal_id=790272017-04-30T23:23:42ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.</p>