To create a new Layer it is necessary to have a reference layer to get
at least its box dimensions. It is also possible to use all its
metadata like attributes, srid and visual.
1) Datasource, clicking on or
- Set the output file name path (dir/layername) or set the datasource and the Layer Name.
2) Reference Layer: choose the layer to be used to extract ONLY its spatial location (box).
3) Properties - inform the attributes of the new layer. At least
an identifier and the geometry property must be informed, however its
is possible to inform other attributes of types such as string,
int64.
Example: adding 2 attributes (id and geom of type Multipolygon)
- Data Type: Int32
- Property: id
- Default Value
- Is Auto Number: CLICK
- Is Required
Press
-
Data Type: Geometry
Geometry Type: MultiPolygon
- Property: geom SRID: 4618
- Default Value:
- Is Auto Number:
- Is Required
Press
4) Click on PK to make it a primary key on the id attribute.
5) Press OK button at the end.
Creating a new Empty Layer with all metadata of a reference Layer
1) Datasource, clicking on or
- Set the output file name path (dir/layername) or set the datasource and the Layer Name.
2) Reference Layer: choose one layer and click on
- Check all the attributes at the list bellow.
- Click on PK to make it a primary key on the FID attribute or the most appropriated one.
- Except FID (or the identifier) and geometry, you
can remove some attributes from the list, clicking on column.
3) Press OK button at the end.
4) Press Yes/NO to the message to copy the other metadata such as Style, SRID, and Encoding.