Select all columns except geometry using virutal layersSQL Geometry Query similar to Select by CentroidHow to...

Renting a 2CV in France

Disk space full during insert, what happens?

What is the meaning of "usr"?

How can I prevent an oracle who can see into the past from knowing everything that has happened?

Does throwing a Bead of Force require a roll to hit accurately?

Third wheel character

How can I handle players killing my NPC outside of combat?

Is having explosions as a go-to solution considered bad table manners?

Is the UK legally prevented from having another referendum on Brexit?

Is it possible to narrate a novel in a faux-historical style without alienating the reader?

Coworker asking me to not bring cakes due to self control issue. What should I do?

Neglect higher order derivatives in expression

Can you help me solve this algebra problem?

How do I narratively explain how in-game circumstances do not mechanically allow a PC to instantly kill an NPC?

Coworker is trying to get me to sign his petition to run for office. How to decline politely?

How do I add a strong "onion flavor" to the biryani (in restaurant style)?

Why can't i set the 'prototype' of a function created using 'bind'?

How can I give a Ranger advantage on a check due to Favored Enemy without spoiling the story for the player?

Unable to repartition non-mounted SD card

Can you prevent a man in the middle from reading the message?

Isn't a semicolon (';') needed after a function declaration in C++?

Is the tritone (A4 / d5) still banned in Roman Catholic music?

How do I avoid the "chosen hero" feeling?

Sets that are both Sum-free and Product-free



Select all columns except geometry using virutal layers


SQL Geometry Query similar to Select by CentroidHow to perform SQL query using .STContains in MS SQL Serverogr2ogr export to KML from SQLite, when using SELECT for fields Linestrings are lostCombined Hstore key/value and spatial query too slow to handle bigger OSM extractsST_Union returning Null with Spatialite, even after ST_MakeValiddissolving polygon records that only fall completely in another polygon from the same tableFind missing polygons from two layers with select by location toolMore efficient approach for processing large polygon datasetPostGIS Union of two polygons layersSelect layer by attribute - SQL command pending on two columns













0















Is it possible to select all columns except geometry using virutal layers in QGIS?



For example I have this (simplified) query:



Select *, st_union(geometry) From mypolygons


It does not work. It only throws back the first polygon. But using the (simplified) query as follows does union all polygons as intended:



Select id, name, st_union(geometry) From mypolygons


Now the issue is, that if I have a polygon with a lot of columns I need them to type in all manually. Is there a way to avoid this?









share



























    0















    Is it possible to select all columns except geometry using virutal layers in QGIS?



    For example I have this (simplified) query:



    Select *, st_union(geometry) From mypolygons


    It does not work. It only throws back the first polygon. But using the (simplified) query as follows does union all polygons as intended:



    Select id, name, st_union(geometry) From mypolygons


    Now the issue is, that if I have a polygon with a lot of columns I need them to type in all manually. Is there a way to avoid this?









    share

























      0












      0








      0








      Is it possible to select all columns except geometry using virutal layers in QGIS?



      For example I have this (simplified) query:



      Select *, st_union(geometry) From mypolygons


      It does not work. It only throws back the first polygon. But using the (simplified) query as follows does union all polygons as intended:



      Select id, name, st_union(geometry) From mypolygons


      Now the issue is, that if I have a polygon with a lot of columns I need them to type in all manually. Is there a way to avoid this?









      share














      Is it possible to select all columns except geometry using virutal layers in QGIS?



      For example I have this (simplified) query:



      Select *, st_union(geometry) From mypolygons


      It does not work. It only throws back the first polygon. But using the (simplified) query as follows does union all polygons as intended:



      Select id, name, st_union(geometry) From mypolygons


      Now the issue is, that if I have a polygon with a lot of columns I need them to type in all manually. Is there a way to avoid this?







      qgis sql virtual-layer





      share












      share










      share



      share










      asked 1 min ago









      MrXsquaredMrXsquared

      1,5801416




      1,5801416






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "79"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f313331%2fselect-all-columns-except-geometry-using-virutal-layers%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f313331%2fselect-all-columns-except-geometry-using-virutal-layers%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

          Meter-Bus Содержание Параметры шины | Стандартизация |...