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

2015-10-22 Thread Luca Lanteri
ok, you are right. You can import your shapfiles into spatialite using dbmanager, then copy the definitions of the first layer, add column to the other layer and then export to shapefile. Luca 2015-10-22 5:17 GMT+02:00 Richard Males : > The join works without a common field

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

2015-10-21 Thread Damien Stephens
: qgis-user Subject: Re: [Qgis-user] Copy field definitions from one vector layer to another? The join works without a common field of any kind, which is what I wanted, but unfortunately the field names get prefixed with the join layer. When I export as shape file from the joined layer, I get

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

2015-10-21 Thread Richard Males
The join works without a common field of any kind, which is what I wanted, but unfortunately the field names get prefixed with the join layer. When I export as shape file from the joined layer, I get field names like 'exported', 'exported_1', etc. So I don't think the join will work, since

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

2015-10-20 Thread Luca Lanteri
why do you need the same geometry type in order to make a join ? You just need one common field. Luca 2015-10-19 21:44 GMT+02:00 Joris Hintjens : > I’d try “join layers” if they are the same geometry type > > Joris > > Op 17-okt.-2015, om 11:40 heeft Luca Lanteri

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

2015-10-19 Thread Joris Hintjens
I’d try “join layers” if they are the same geometry type Joris > Op 17-okt.-2015, om 11:40 heeft Luca Lanteri het > volgende geschreven: > > You can make a join and then save as layer > > I have been looking for a capability (plugin or native QGIS) that will easily >

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

2015-10-17 Thread Luca Lanteri
You can make a join and then save as layer 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

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

2015-10-16 Thread Richard McDonnell
On second reading of what you are looking for, The Table Manager plugin, may not be what you need. On 15/10/2015 19:29, Richard Males wrote: 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

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

2015-10-16 Thread Goyo
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 2015-10-15 20:29 GMT+02:00 Richard Males : > I have been looking for a

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

2015-10-16 Thread Goyo
2015-10-16 10:39 GMT+02:00 Alexandre Neto : > 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

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

2015-10-16 Thread Alexandre Neto
Em sex, 16 de out de 2015 às 09:25, Goyo 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

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

2015-10-15 Thread Richard Males
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