QGIS 2.14 c++ standalone application crashes using QgsMapToolIdentifyVectorLayer still empty even if...

Do you waste sorcery points if you try to apply metamagic to a spell from a scroll but fail to cast it?

How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?

Does Doodling or Improvising on the Piano Have Any Benefits?

How do I fix the group tension caused by my character stealing and possibly killing without provocation?

Why didn't Voldemort know what Grindelwald looked like?

How to leave product feedback on macOS?

Can I say "fingers" when referring to toes?

Is there a distance limit for minecart tracks?

How to preserve electronics (computers, iPads and phones) for hundreds of years

Is it feasible to let a newcomer play the "Gandalf"-like figure I created for my campaign?

How to make money from a browser who sees 5 seconds into the future of any web page?

Why the "ls" command is showing the permissions of files in a FAT32 partition?

Do I have to know the General Relativity theory to understand the concept of inertial frame?

I'm just a whisper. Who am I?

Can I cause damage to electrical appliances by unplugging them when they are turned on?

Did I make a mistake by ccing email to boss to others?

Why is the principal energy of an electron lower for excited electrons in a higher energy state?

Why is participating in the European Parliamentary elections used as a threat?

Using streams for a null-safe conversion from an array to list

Typing CO_2 easily

Mimic lecturing on blackboard, facing audience

Given this phrasing in the lease, when should I pay my rent?

Usage of an old photo with expired copyright

Is there a reason to prefer HFS+ over APFS for disk images in High Sierra and/or Mojave?



QGIS 2.14 c++ standalone application crashes using QgsMapToolIdentify


VectorLayer still empty even if attribute has been set with valueProblem with saving/processing layers in QGISHow to identify feature from multiple layers in QGIS?Provider feature filter causes QGIS rendering to stopStandalone QGIS application in C++QGIS 2.14.3 constantly crashing when digitizingDynamically selecting t layer features implementing canvasMoveEvent of QgsMapToolIdentify class?Current date in query builder QgisCrash When Adding a Memory LayerzoomScale() doesn't work in QGIS 2.14 standalone c++ application













0















lResultList.append(mpIdentifyTool->identify(lCoord.x(),lCoord.y(),QgsMapToolIdentify::TopDownStopAtFirst, QgsMapToolIdentify::VectorLayer));


leads to crash of app. It happens when layers provided by "memory" provider exist on canvas. With layers provided with "ogr" code works normally. Is there way to fix this? Or is there another way to select feature by clicking on it with mouse?









share



























    0















    lResultList.append(mpIdentifyTool->identify(lCoord.x(),lCoord.y(),QgsMapToolIdentify::TopDownStopAtFirst, QgsMapToolIdentify::VectorLayer));


    leads to crash of app. It happens when layers provided by "memory" provider exist on canvas. With layers provided with "ogr" code works normally. Is there way to fix this? Or is there another way to select feature by clicking on it with mouse?









    share

























      0












      0








      0








      lResultList.append(mpIdentifyTool->identify(lCoord.x(),lCoord.y(),QgsMapToolIdentify::TopDownStopAtFirst, QgsMapToolIdentify::VectorLayer));


      leads to crash of app. It happens when layers provided by "memory" provider exist on canvas. With layers provided with "ogr" code works normally. Is there way to fix this? Or is there another way to select feature by clicking on it with mouse?









      share














      lResultList.append(mpIdentifyTool->identify(lCoord.x(),lCoord.y(),QgsMapToolIdentify::TopDownStopAtFirst, QgsMapToolIdentify::VectorLayer));


      leads to crash of app. It happens when layers provided by "memory" provider exist on canvas. With layers provided with "ogr" code works normally. Is there way to fix this? Or is there another way to select feature by clicking on it with mouse?







      qgis features c++ identify





      share












      share










      share



      share










      asked 5 mins ago









      Wolf SchulzWolf Schulz

      484




      484






















          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%2f316208%2fqgis-2-14-c-standalone-application-crashes-using-qgsmaptoolidentify%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%2f316208%2fqgis-2-14-c-standalone-application-crashes-using-qgsmaptoolidentify%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

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

          Венесуэла на летних Олимпийских играх 2000 Содержание Состав...

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