[QGIS-Developer] problem by rendering with QgsSingleBandPseudoColorRenderer

2024-09-05 Thread SSchmidt--- via QGIS-Developer
Hi, I have a problem in my QGIS plugin by loading a Tiff with a classified raster renderer. Either the rendering is ok, but legend and layerproperties are wrong, or the legend is super but the rendering and the classbreaks don't go. Described my problem detailed here: https://gis.stackexchan

[QGIS-Developer] Antwort: Re: no default value in style.qml

2023-05-31 Thread SSchmidt--- via QGIS-Developer
t angehakt, obwohl es was zu speichern gabden musste ich erst noch von Hand aktivieren. Im QML gibt es dann einen derartigen Abschnitt: VG Thomas Am Fr., 26. Mai 2023 um 13:01 Uhr schrieb SSchmidt--- via QGIS-Developer < qgis-developer@lists.

[QGIS-Developer] no default value in style.qml

2023-05-26 Thread SSchmidt--- via QGIS-Developer
Hello, I want to setup a formular for a vectorlayer. For a field(text or number) I want to have a default value. I assumed to achieve this with QgsEditorWidgetSetup. To learn how the notation should be, I tried to save an example in QGIS(3.16, 3.22.16, master) directly in a style.qml file. Bu

[QGIS-Developer] QgsDissolveAlgorithm error LNK2001

2022-04-06 Thread SSchmidt--- via QGIS-Developer
Hello to all, for my c++ plugin I need to include the qgsalgorithmdissolve.h. Thats why I include for linking the library ..\..\analysis\RelWithDebInfo\qgis_analysis.lib and give it additional library path to: C:/Entwicklung/QuantumGIS/build/src/analysis C:/Entwicklung/QuantumGIS/build/src/anal

[QGIS-Developer] How to run QGIS 3 processing tool (DISSOLVE) in c++

2022-04-01 Thread SSchmidt--- via QGIS-Developer
Hello, for my QGIS C++ Plugin I have to run the QgsDissolveAlgorithm- processing tool. I have found an example, how to do that in python: import processing infn = "path/to/dissolve" outfn2 = "output/path/value/dissolve" #dissolve features based on values in an attribute table field processing.r

[QGIS-Developer] Create MS-VisualStudio-Project File for compiling QGIS

2022-02-28 Thread SSchmidt
Hi, I want to compile QGIS-LTR, so I downloaded the new OSGeo4W Installer for 64 Bit. Now there is an new directory osgeo4w and not like before osgeo4w64 when I compiled it for QGIS 3.16. While executing configonly.bat I get errors, i.e. gdal-dev is not found. I try to install it with osgeo4w

[QGIS-Developer] Antwort: Re: delayed PR of 3.10.1

2019-11-29 Thread SSchmidt
Hi Jürgen, thank you a lot, Hi Susann, On Fri, 29. Nov 2019 at 09:36:13 +0100, sschm...@gfi-gis.de wrote: > So I decided to compile it with last version for downloading ( > QGIS-Codeversion 6ffa89eb3e) > But how can I get the source code from github? I

[QGIS-Developer] delayed PR of 3.10.1

2019-11-29 Thread SSchmidt
Hello , to compile my plugin I waited for the PR of 3.10.1 but now I have red its been delayed for a week :-) So I decided to compile it with last version for downloading ( QGIS-Codeversion 6ffa89eb3e) But how can I get the source code from github? I can't find a branch for this version. Can a

[QGIS-Developer] Error with raster renderer in QGIS 3.10

2019-11-14 Thread SSchmidt
Hello, in my plugin I set up a rasterlayer like this: QgsRasterLayer* lyr = new QgsRasterLayer(src->Dir + "/" + src->File, firstTBLayer->Title, QStringLiteral("gdal")); if (lyr->isValid()) QgsProject::instance()->addMapLayers(QList() << lyr, false); The layer is valid and in a next ste

[QGIS-Developer] WG: Re: C++ Plugin plugin_builder.py

2019-04-02 Thread SSchmidt
Thanks for your advises, but this is only for python plugins and I need to update my c++ plugins. I have read that deploying plugins in c++ is a bit undesired so I think there is no template available at time and also it will not be prepared in next future? Freundliche Grüße aus Leipzig Susann

[QGIS-Developer] C++ Plugin plugin_builder.py

2019-04-01 Thread SSchmidt
Hi, I miss the plugin_builder.py in the src/plugins/ in ltr-3_4. The last I found was in 2.18 but this doesn't work for me because the version of Qt has been changed. I need an example for upgrading my plugins, thanks for a hint. Freundliche Grüße aus Leipzig Susann Schmidt Softwareentwicklung

[QGIS-Developer] understand qgsrulebasedlabeling

2017-09-14 Thread SSchmidt
Hi, Please have a look at this question about programming with qgsrulebasedlabeling, think nobody else than you could illuminate me ;-) https://gis.stackexchange.com/questions/254945/understand-qgsrulebasedlabeling Freundliche Grüße aus Leipzig Susann Schmidt Softwareentwicklung *

[QGIS-Developer] WG: Re: crash qgis 2.18.11 in vs2010 - HEAP CORRUPTION DETECTED

2017-09-04 Thread SSchmidt
If I compile my plugin with Option Runtime Library: Multi-threaded Debug DLL (/MDd) at first sight it works fine, but while closing QGIS, QGIS crashes with 'HEAP CORRUPTION DETECTED' Then if my plugin is Compiled with Option Runtime Library: Multi-threaded DLL (/MD) I get the error: >

Re: [QGIS-Developer] crash qgis 2.18.11 in vs2010 - HEAP CORRUPTION DETECTED

2017-09-01 Thread SSchmidt
Hallo Jürgen, I think not I use it directly, because I'm only including h-files from qgis and qt: #include "QGISFunc.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #inclu

[QGIS-Developer] crash qgis 2.18.11 in vs2010 - HEAP CORRUPTION DETECTED

2017-09-01 Thread SSchmidt
since compiling my plugin for qgis 2.18.11 in vs2010 on win7 the plugin and qgis crashes in seemly any action because of memory leaks :-o "sometimes" while loading a postgis layer i'll get a message from geos::util::IllegalArgumentException at memory... but while loading a shape I get the error

[QGIS-Developer] WG: Re: compiling QGIS-LTR 32 Bit for Windows

2017-06-13 Thread SSchmidt
Thank you Jürgen, I'll check this out. Finally, I can deinstall VS2008 ;-) Susann - Weitergeleitet von Susann Schmidt/gfimbh am 13.06.2017 11:00 - Von:Jürgen E. Fischer An: qgis-developer@lists.osgeo.org Datum: 13.06.2017 10:24 Betreff:Re: [QGIS-Developer] compiling QG

[QGIS-Developer] compiling QGIS-LTR 32 Bit for Windows

2017-06-13 Thread SSchmidt
Hi all, Till QGIS 2.14.13 I compiled QGIS and my plugins in VS2008 with Qt 4.8.6 and Python 2.7. This now with QGIS LTR 2.18 doesn't work for me. I get errors C2039 like 'numeric_limits::quiet_NaN'. So I set up a new pc with win7 32 bit, Qt5 and Python 3.6. But now I can't build a VS-project

[Qgis-developer] WMS Search results

2014-10-01 Thread SSchmidt
Hi all, don't know if the question is right placed here. In QGIS in the "Add WMS" dialog on tab "Search for Server" you can put in some keywords and get a list of WMS matching this topic. How could a WMS becomes a member of this resultlist? Freundliche Grüße aus Leipzig Susann Schmidt Softwar

[Qgis-developer] Building QGIS with VS/Win7 PATH to Bison

2014-07-17 Thread SSchmidt
Hello, Sorry for boring you, but my problem still isn't solved. I have a batch-script like in the INSTALL-Guide named setupvcproject. Before calling it the path is knowing my bison-directory (C:\GnuWin32\bin), afterwards it is gone away and i get the following compiling error > Generating qgs

Re: [Qgis-developer] Building QGIS with VS - Install Guide

2014-07-17 Thread SSchmidt
Hello, I followed the instructions of the script and have created such a batchfile. First I've installed bison to a path with spaces inbetween. Thatswhy I put the path with the ~ in %PATH% and in CMAKE. Sometimes everything going good but in some cases this error occured. So first I deinstalle

[Qgis-developer] Building QGIS with VS - Install Guide

2014-07-16 Thread SSchmidt
Hello all, please add someone a hint at the INSTALL Guide (http://htmlpreview.github.io/?https://raw.github.com/qgis/QGIS/master/doc/INSTALL.html#toc14) for building QGIS with VS that while Installing Bison no shortcut to start menu had to be created. In my case this was the reason of the erro

[Qgis-developer] WG: Re: couldn't load cpp-plugin

2014-05-06 Thread SSchmidt
I've made some progress: In my working plugin I placed this two lines: QLibrary myLib( "C:/Progra~2/QGISVA~1/apps/qgis/plugins/tb4qgisplugin.dll" ); bool loaded = myLib.load(); and get this messages: "qgis-bin.exe": "C:\Program Files (x86)\QGIS Valmiera\apps\qgis\plugins\tb4qgisplugin.dll" g

[Qgis-developer] couldn't load cpp-plugin

2014-05-06 Thread SSchmidt
Hello, I know, its a worst with the c++-plugin-developers... Again I have a problem with a plugin in updating. In QGIS 2.0 (32bit) I have two plugins working. Now I downloaded the sources for QGIS 2.2, compiled it and was very happy, because i've had no problems here. I compiled my two plugins

Re: [Qgis-developer] C++ plugins instructions

2014-01-01 Thread SSchmidt
Hello, I had a similar problem and found help, here can you look, how I solved it: http://osgeo-org.1560.x6.nabble.com/WG-Re-WG-Re-cpp-plugin-for-QGIS-2-0-td5087852.html#a5087933 My problem was that I used the sources for 2.1.0 and not for 2.0.1 to compile my plugin. The next thing is that I

[Qgis-developer] How to Use QgsSvgCache

2013-12-12 Thread SSchmidt
Hello, I have a SVG-File in my Ressource-file and want to use it as Symbol for a VectorLayer. Is there an ability to load it in the QgsSvgCache and access it from there? I've tried it directly but this didn't worked in c++: QString name= "E:\\Entwicklung\\QGis\\Quantum-GiS\\src\\plugins\\adres

[Qgis-developer] WG: Re: some trouble with pointers in my c++-plugin

2013-12-11 Thread SSchmidt
Freundliche Grüße aus Leipzig Susann Schmidt Softwareentwicklung ** GFI - Gesellschaft für Informationstechnologie mbH Philipp-Rosenthal-Straße 9 D-04103 Leipzig Geschäftsführer: Andreas Richter Amtsgericht Leipzig HRB 12054 USt.-IdNr.:

[Qgis-developer] some trouble with pointers in my c++-plugin

2013-12-10 Thread SSchmidt
Hello all, I asked the question on stackexchange but nobody could help me. I think it's a beginner-problem but I can't get it. Maybe somenone here could help me please? I want to set the extent of my map for two cases. In one case i have the geometry as QGsGeometry* in my object of class "adre

[Qgis-developer] WG: Re: WG: Re: WG: Re: cpp-plugin for QGIS 2.0

2013-11-08 Thread SSchmidt
Hi Paolo, yes, our company has to come to a strategic decision in the next time. And I'm not sure what to suggest. I don't know python but i think i need much time to port ca. 3000 lines existing code, otherwise in future it should grow up much more. Besides I'm spoiled of the IDE of VS, i nee

[Qgis-developer] WG: Re: WG: Re: WG: Re: cpp-plugin for QGIS 2.0

2013-11-07 Thread SSchmidt
What the hell ? :-) It is so nice, There are opening doorways... I got the sources for the release 2.0.1 - however :-) and cmake builds me a qgis2.0.1.sln for my VisualStudio. Now compiling my QGis is in progress. Thank you for guiding me a few steps forward! I'm curious about it if it is runnin

[Qgis-developer] WG: Re: WG: Re: cpp-plugin for QGIS 2.0

2013-11-07 Thread SSchmidt
Thank you Andreas, sounds like there is hope for me :-) Now i feel a bit silly because I can't get the files, i tried this: Freundliche Grüße aus Leipzig Susann Schmidt Softwareentwicklung ** GFI - Gesellschaft für Informationstech

[Qgis-developer] WG: Re: cpp-plugin for QGIS 2.0

2013-11-07 Thread SSchmidt
Thanks to Richard and Andreas for their help! Why not python? In the last year our company began developing an extension for ArcGIS 10 in .Net C#. Our intention is a similar working plugin in QGis. For me it was first easier to port the Code to C++. Indeed i'm not a save C++-Programmer but from

[Qgis-developer] cpp-plugin for QGIS 2.0

2013-11-06 Thread SSchmidt
Hello, now i try my luck here hoping not being ignored :-) I want to write a plugin for QGIS 2.0 Dufour in C++. Do I have to take the sources/API from Version 1.8 (Lisboa)? It is right, that the actual API only can be used for the actual Releases(Weekly Master)? In this case I have to download