2

I have used Select (Features) to select features from a 2nd order administrative boundary layer: refer to image:

enter image description here

I want to save the features to a new layer:

enter image description here

but this is the error message that I receive:

enter image description here

How might I resolve this error:

Export to vector file failed.

Error: Creation of layer failed (OGR error: Failed to create file Assam and Mizoram.shp: Permission denied)

and save the selection to a new layer?

2
  • Try without whitespaces in the name
    – BERA
    Aug 4, 2021 at 19:17
  • 1
    It worked! Thank you Taras and BERA for your advice. Aug 5, 2021 at 18:25

2 Answers 2

3

It looks like you have just typed in a file name without defining a save location. To save a file you need to click on the 'ellipsis' button ... to the right of the 'File name' line edit.

This will open a 'Save layer as' dialog where you can specify a location to save your shapefile and enter the file name.

You should then see a full file path string in place of where you currently have "Assam and Mizoram".

enter image description here

An alternative way to save selected features is to use the "Extract Selected Features" algorithm from the processing toolbox. This gives you a number of save options including saving to a location in your local file system, creating a temporary layer etc.

enter image description here

0

You need to specify the exact path where you want to save the file and you must choose the correct file type.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.