How can I save a vector layer to memory (or is there a reason QGIS doesn't allow this)? The...

Can you cast a spell on someone in the Ethereal Plane, if you are on the Material Plane and have the True Seeing spell active?

What is this sharp, curved notch on my knife for?

Old scifi movie from the 50s or 60s with men in solid red uniforms who interrogate a spy from the past

How can I define good in a religion that claims no moral authority?

Falsification in Math vs Science

How do you keep chess fun when your opponent constantly beats you?

Getting crown tickets for Statue of Liberty

Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?

Does HR tell a hiring manager about salary negotiations?

Keeping a retro style to sci-fi spaceships?

Can we generate random numbers using irrational numbers like π and e?

How do PCB vias affect signal quality?

Worn-tile Scrabble

Did any laptop computers have a built-in 5 1/4 inch floppy drive?

Why can't devices on different VLANs, but on the same subnet, communicate?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

Kerning for subscripts of sigma?

Output the Arecibo Message

I am an eight letter word. What am I?

How to charge AirPods to keep battery healthy?

Is it safe to harvest rainwater that fell on solar panels?

Mathematics of imaging the black hole



How can I save a vector layer to memory (or is there a reason QGIS doesn't allow this)?



The 2019 Stack Overflow Developer Survey Results Are InHow can I save a column from the attribute table of a vector layer to a variable?How to avoid the CRS Dialog when creating a vector layer memory?How to save data from QGIS 1.8 to PostGIS without shapefile intermediate?Memory Vector Layer Corrupted?Use raster memory layer from QGIS processing resultQGIS - some edit feature options disabled in vector layerCreating new empty memory layer with fields scheme from other layer in QGIS?QGIS Spatialite tabular updates are very slowQgis feature count increases at save layer editsHow to preserve geometry when saving vector files to a SpatiaLite db (QGIS)





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















It's impressive how many different vector file formats QGIS (using ver 3.6.0) allows me to save a layer as:



QGIS save vector layer as...



But as far as I can tell, QGIS doesn't allow me to save a vector layer to memory. In my normal workflow in manipulating vector layers, I find myself having to save several intermediate vector layers to file, clogging up my file system or databsase with something like "vector_layer", "vector_layer1", "vector_layer2", "vector_layer2a", etc. It is often trivial to perform the updates/edits to the layer, and because I really don't care about these intermediate files, I'd rather be able to just save them in memory within the QGIS environment. Saving to memory would allow me to simply remove the layers from the project when I finish my workflow instead of having to delete from my Postgres database or my desktop.



When performing a geoprocessing task, there is the option to save to memory, but why can't I have the option to export a layer to memory on its own?









share





























    0















    It's impressive how many different vector file formats QGIS (using ver 3.6.0) allows me to save a layer as:



    QGIS save vector layer as...



    But as far as I can tell, QGIS doesn't allow me to save a vector layer to memory. In my normal workflow in manipulating vector layers, I find myself having to save several intermediate vector layers to file, clogging up my file system or databsase with something like "vector_layer", "vector_layer1", "vector_layer2", "vector_layer2a", etc. It is often trivial to perform the updates/edits to the layer, and because I really don't care about these intermediate files, I'd rather be able to just save them in memory within the QGIS environment. Saving to memory would allow me to simply remove the layers from the project when I finish my workflow instead of having to delete from my Postgres database or my desktop.



    When performing a geoprocessing task, there is the option to save to memory, but why can't I have the option to export a layer to memory on its own?









    share

























      0












      0








      0








      It's impressive how many different vector file formats QGIS (using ver 3.6.0) allows me to save a layer as:



      QGIS save vector layer as...



      But as far as I can tell, QGIS doesn't allow me to save a vector layer to memory. In my normal workflow in manipulating vector layers, I find myself having to save several intermediate vector layers to file, clogging up my file system or databsase with something like "vector_layer", "vector_layer1", "vector_layer2", "vector_layer2a", etc. It is often trivial to perform the updates/edits to the layer, and because I really don't care about these intermediate files, I'd rather be able to just save them in memory within the QGIS environment. Saving to memory would allow me to simply remove the layers from the project when I finish my workflow instead of having to delete from my Postgres database or my desktop.



      When performing a geoprocessing task, there is the option to save to memory, but why can't I have the option to export a layer to memory on its own?









      share














      It's impressive how many different vector file formats QGIS (using ver 3.6.0) allows me to save a layer as:



      QGIS save vector layer as...



      But as far as I can tell, QGIS doesn't allow me to save a vector layer to memory. In my normal workflow in manipulating vector layers, I find myself having to save several intermediate vector layers to file, clogging up my file system or databsase with something like "vector_layer", "vector_layer1", "vector_layer2", "vector_layer2a", etc. It is often trivial to perform the updates/edits to the layer, and because I really don't care about these intermediate files, I'd rather be able to just save them in memory within the QGIS environment. Saving to memory would allow me to simply remove the layers from the project when I finish my workflow instead of having to delete from my Postgres database or my desktop.



      When performing a geoprocessing task, there is the option to save to memory, but why can't I have the option to export a layer to memory on its own?







      qgis vector qgis-3 save memory-layer





      share












      share










      share



      share










      asked 4 mins ago









      Tyler NTyler N

      5317




      5317






















          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%2f318555%2fhow-can-i-save-a-vector-layer-to-memory-or-is-there-a-reason-qgis-doesnt-allow%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%2f318555%2fhow-can-i-save-a-vector-layer-to-memory-or-is-there-a-reason-qgis-doesnt-allow%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 Содержание Параметры шины | Стандартизация |...