[Qgis-user] Copy field definitions from one vector layer to another?

Alexandre Neto senhor.neto at gmail.com
Fri Oct 16 01:39:59 PDT 2015


Em sex, 16 de out de 2015 às 09:25, Goyo <goyodiaz at gmail.com> escreveu:

> This might work:
>
> 1. Make an empty copy of the layer with the attributes.
> 2. Select all objects of the layer with the geometries.
> 3. Copy and paste the selected objects into the empty layer.
>
> Goyo
>
>
uhmm... well thought! This will probably work if the geometry types of both
layers are the same. If not, Instead of making an empty copy of the layer
with attributes you should use a conversion tool to cast the layer into the
desired final geometry, something like "polygon to line" or "Line to
points", etc...

Alexandre Neto


>
> 2015-10-15 20:29 GMT+02:00 Richard Males <rbmales at gmail.com>:
> > I have been looking for a capability (plugin or native QGIS) that will
> > easily copy the field definitions (not the attribute data) from one
> layer to
> > another layer.   To date I have not found it, I may be missing something
> > obvious.  Any help/advice much appreciated.
> >
> > I have a layer with a bunch of fields already defined, and another layer
> > with geometry but no additional fields.   I would like to add the field
> > definitions from the first layer to the second layer, and then populate
> with
> > the appropriate data for that layer.
> >
> > Thanks.
> >
> > Dick Males
> > Cincinnati, Ohio, USA
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20151016/66f43c57/attachment.html>


More information about the Qgis-user mailing list