Feature request #9351
Load GPX: do not load empty layers
|Category:||C++ plugins/GPS plugin|
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||17953|
When loading a GPX, by default tracks, routes, and waypoints are loaded, even if empty. For the user it mey be difficult to understand that a layer is present, with 0 geometries.
I suggest to avoid loading empty layers. A warning should be given to the user (either a notification "Layer not loaded because empty" or a note on the dialog "Note: empty layers will not be loaded").
Seems easy to implement.