Skip to main content
deleted 8 characters in body; edited tags
Source Link
Andre Silva
  • 10.3k
  • 12
  • 55
  • 109

I have a layer with a customized form. Dropdowns, checkboxes, etc. in a QGIS project which is kind of a template. This QGIS project will be copied and pasted every time a new study has to be done (usually twice a week).

The problem is that I want the layer to be empty for each project at the beginning, so that users can insert the data for the new study. The data once saved, should be visible only in that specific project. So all the projects will use the same layer, but each QGIS project will only see in that layer the data introduced in that specific project.

I thought of making a new field in the layer named "project name" and in layer's filter option add the following filter:

"project name"= @project_filename

"project name"= @project_filename 

@project_filename is a project variable which stores the name of the project but in layer's filter I can't use project variables...

Is there any way to achieve what I have explained?

Regards,

I have a layer with a customized form. Dropdowns, checkboxes, etc. in a QGIS project which is kind of a template. This QGIS project will be copied and pasted every time a new study has to be done (usually twice a week).

The problem is that I want the layer to be empty for each project at the beginning, so that users can insert the data for the new study. The data once saved, should be visible only in that specific project. So all the projects will use the same layer, but each QGIS project will only see in that layer the data introduced in that specific project.

I thought of making a new field in the layer named "project name" and in layer's filter option add the following filter:

"project name"= @project_filename

@project_filename is a project variable which stores the name of the project but in layer's filter I can't use project variables...

Is there any way to achieve what I have explained?

Regards,

I have a layer with a customized form. Dropdowns, checkboxes, etc. in a QGIS project which is kind of a template. This QGIS project will be copied and pasted every time a new study has to be done (usually twice a week).

The problem is that I want the layer to be empty for each project at the beginning, so that users can insert the data for the new study. The data once saved, should be visible only in that specific project. So all the projects will use the same layer, but each QGIS project will only see in that layer the data introduced in that specific project.

I thought of making a new field in the layer named "project name" and in layer's filter option add the following filter:

"project name"= @project_filename 

@project_filename is a project variable which stores the name of the project but in layer's filter I can't use project variables...

Is there any way to achieve what I have explained?

Little fix
Source Link
Egidi
  • 3.8k
  • 4
  • 32
  • 57

I have a layer with a customized form. Dropdowns, checkboxes, etc. in a QGIS project which is kind of a template. This QGIS project will be copied and pasted every time a new study has to be done (usually twice a week).

The problem is that I want the layer to be empty for each project at the beginning, so that users can insert the data for the new study. The data once saved, should be visible only in that specific project. So all the projects will use the same layer, but each QGIS project will only see in that layer the data introduced in that specific project.

I thought of making a new field in the layer named "project name" and in layers Filterlayer's filter option andadd the following filter:

"project name"= @project_filename

@project_filename is a project variable which stores the name of the project but in layer's filter I can't use project variables...

Is there any way to achieve what I have explained?

Regards,

I have a layer with a customized form. Dropdowns, checkboxes, etc. in a QGIS project which is kind of a template. This QGIS project will be copied and pasted every time a new study has to be done (usually twice a week).

The problem is that I want the layer to be empty for each project at the beginning, so that users can insert the data for the new study. The data once saved, should be visible only in that specific project. So all the projects will use the same layer, but each QGIS project will only see in that layer the data introduced in that specific project.

I thought of making a new field in the layer named "project name" and in layers Filter option and the following filter:

"project name"= @project_filename

@project_filename is a project variable which stores the name of the project but in layer's filter I can't use project variables...

Is there any way to achieve what I have explained?

Regards,

I have a layer with a customized form. Dropdowns, checkboxes, etc. in a QGIS project which is kind of a template. This QGIS project will be copied and pasted every time a new study has to be done (usually twice a week).

The problem is that I want the layer to be empty for each project at the beginning, so that users can insert the data for the new study. The data once saved, should be visible only in that specific project. So all the projects will use the same layer, but each QGIS project will only see in that layer the data introduced in that specific project.

I thought of making a new field in the layer named "project name" and in layer's filter option add the following filter:

"project name"= @project_filename

@project_filename is a project variable which stores the name of the project but in layer's filter I can't use project variables...

Is there any way to achieve what I have explained?

Regards,

I have a layer with a customized form. Dropdowns, checboxescheckboxes, etc. in a QGIS project which is kind of a template. This QGIS project will be copied aand pasted every time a new study has to be done (usually twice a week).

The problem is that I want the layer to be empty for each proyectproject at the beginning, so that users can insert the data for the new study. The data once saved, should be visible only in that specific project. So all the projects will use the same layer, but each QGIS project will only see in that layer the data introduced in that specific project.

I thought of making a new field in the layer named "project name" and in layers Filter option and the following filter:

"project name"= @project_filename

@project_filename is a project variblevariable which stores the name of the project but in layer's filter I can't use project variables...

Is there aany way to achieve what I have explained?

Regards,

I have a layer with a customized form. Dropdowns, checboxes, etc. in a QGIS project which is kind of a template. This QGIS project will be copied a pasted every time a new study has to be done (usually twice a week).

The problem is that I want the layer to be empty for each proyect at the beginning, so that users can insert the data for the new study. The data once saved, should be visible only in that specific project. So all the projects will use the same layer, but each QGIS project will only see in that layer the data introduced in that specific project.

I thought of making a new field in the layer named "project name" and in layers Filter option and the following filter:

"project name"= @project_filename

@project_filename is a project varible which stores the name of the project but in layer's filter I can't use project variables...

Is there a way to achieve what I have explained?

Regards,

I have a layer with a customized form. Dropdowns, checkboxes, etc. in a QGIS project which is kind of a template. This QGIS project will be copied and pasted every time a new study has to be done (usually twice a week).

The problem is that I want the layer to be empty for each project at the beginning, so that users can insert the data for the new study. The data once saved, should be visible only in that specific project. So all the projects will use the same layer, but each QGIS project will only see in that layer the data introduced in that specific project.

I thought of making a new field in the layer named "project name" and in layers Filter option and the following filter:

"project name"= @project_filename

@project_filename is a project variable which stores the name of the project but in layer's filter I can't use project variables...

Is there any way to achieve what I have explained?

Regards,

Added tags
Link
Egidi
  • 3.8k
  • 4
  • 32
  • 57
Loading
Source Link
Egidi
  • 3.8k
  • 4
  • 32
  • 57
Loading