Feature request #8898
"Save vector layer as" - limit export
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||17576|
For the "Save vector layer as" function two extra options:
1) Export only what is on the screen.
2) Export only what is selected.
Both of these are really useful.
#2 Updated by Jonathan Moules over 6 years ago
Hmmm, didn't see that (thanks!). Odd that it's a different dialog. Once it's open you have no way of knowing which dialog you're in (save selection or save everything); if you fat-finger the selection you may end up trying to export millions of features instead of just 10's.
I'd suggest having it all on one dialog but as a checkbox/radiobutton/drop-down option.
#3 Updated by Nathan Woodrow over 6 years ago
Having it in one dialog would be nice. Something that I tend to do a lot is also clip all the layers in the map to another layer or feature for export reasons. At the moment you have to use the clip tool on each layer which is fine but a bit of a pain. It would be nice to have this as an option in the save dialog so it's just one simple step.
So would have:
- Current View
- Clip Layer | Layer picker
#5 Updated by Jonathan Moules over 6 years ago
Nice idea. But do you you mean clip clip, or do you mean intersects? I think altering the data (clip) isn't something that should be done in this action (it's a very different thing to just selecting). But selecting intersecting would be fine. Possibly including the option to intersect to the bounding box.
- Current View
- Intersect Layer | Bounding Box
Would be my suggestion.
#6 Updated by Jonathan Moules almost 6 years ago
Thinking about it more, it needs to be able to allow multiple possible exports:
Selected / All
Visible / All
And any combination of those (Visible & Selected, All & All, All Visible, All Selected).
A checkbox for "Only Export Selected" would probably work well.
And then some a radio button to select: All, Visible, arbitrary Bounding Box.
#7 Updated by Martin Dobias almost 6 years ago
For the extent-based export, there are two options:
1. have just a checkbox ("Export only features visible in map canvas")
2. have more complex widget for selection of extent - visible in map canvas, bounding box of a layer, manually entered - something similar to the "Download OpenStreetMap data" dialog (available in menu Vector > OpenStreetMap)