[Qgis-developer] viewing feature form

2010-09-10 Thread Bernhard Ströbl
Dear QGIS devs, since this is my first post on this list I want to thank all of you for your efforts in providing and improving this wonderful piece of software. My question is as follows: How can I open the feature form for a feature through Python i.e. how can I make the same happen as if

Re: [Qgis-developer] Feature Form

2010-09-14 Thread Bernhard Ströbl
and some pre-show and post-show python magic can make a great input application (I'm thinking about some field application in which some inputs are generated based on earlier inputs, or gps location etc etc). Hope you get some input. Regards, Richard Bernhard Ströbl wrote: Hi all, I have asked

Re: [Qgis-developer] Python dynamic forms

2010-09-16 Thread Bernhard Ströbl
Hi Luca, what is the advantage? (I am curious) regards Bernhard luca_mangane...@comune.trento.it schrieb: qgis-developer-boun...@lists.osgeo.org scritti il 16/09/2010 07.21.45 Note I’m using psycopg2 for the database connections. Can I suggest you to use QSqlDatabase and QSqlQuery (both

Re: [Qgis-developer] Edit UI doesn't load the field's value

2010-12-06 Thread Bernhard Ströbl
Hi Giuseppe, I can confirm this behaviour QGIS 1.5/WinXP, data from PostGIS database. My workaround is to have e.g. the QComboBox filled with values and _additionally_ have a QTextLine named the same as the field in my layer table holding the feature's current value. The QTextLine is not

Re: [Qgis-developer] add form elements dynamically - qgis python plugin

2011-04-05 Thread Bernhard Ströbl
@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer Information from NOD32 This message was checked by NOD32 Antivirus System for Linux Mail Server. http://www.nod32.com -- Dipl.-Geogr. Bernhard Ströbl Anwendungsbetreuer GIS Kommunale Immobilien Jena

Re: [Qgis-developer] Re: Excel Export from QGIS

2011-12-02 Thread Bernhard Ströbl
mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer Information from NOD32 This message was checked by NOD32 Antivirus System for Linux Mail Server. http://www.nod32.com -- Bernhard Ströbl Anwendungsbetreuer GIS Kommunale Immobilien

[Qgis-developer] Python: change query of PostGIS layer

2012-04-30 Thread Bernhard Ströbl
Hi list, I am trying to change the query of an already loaded PostGIS layer from within a plugin. Same as if I right-clicked on the layer, chose Query... and entered a WHERE clause there. all the best Bernhard Information from NOD32 This message was checked by NOD32

Re: [Qgis-developer] [Solved] Python: change query of PostGIS layer

2012-05-03 Thread Bernhard Ströbl
Dear Martin, yes that works. I must have been blindfold, thanks for pointing it out to me! Bernhard Am 02.05.2012 23:11, schrieb Martin Dobias: On Mon, Apr 30, 2012 at 1:10 PM, Bernhard Ströbl bernhard.stro...@jena.de wrote: Hi list, I am trying to change the query of an already loaded

Re: [Qgis-developer] [Solved] Python: change query of PostGIS layer

2012-05-03 Thread Bernhard Ströbl
to me! Bernhard Am 02.05.2012 23:11, schrieb Martin Dobias: On Mon, Apr 30, 2012 at 1:10 PM, Bernhard Ströbl bernhard.stro...@jena.de wrote: Hi list, I am trying to change the query of an already loaded PostGIS layer from within a plugin. Same as if I right-clicked

Re: [Qgis-developer] Using group by to set a PostGIS datasource using QGIS Python API

2012-05-10 Thread Bernhard Ströbl
Hi Ian, I am always using views for such things. I am not sure (never tried) if you can use a subselect as table parameter for uri.setDataSource. So I would create a view on the DB. Be sure, that the id field of the view is defined as the pk in its source table (no combined pk) and that the

[Qgis-developer] Rendering order in rule-based style not working

2012-05-24 Thread Bernhard Ströbl
Dear devs, the rendering order in rule based style does not work any more, instead features rendering is ordered by chance. QGIS 1.8 RC 1 (code version c367a35) on OpenSUSE 11.4 anybody confirms? Bernhard Information from NOD32 This message was checked by NOD32 Antivirus

[Qgis-developer] QGIS Server 1.8: empty map with VERSION=1.3.0

2012-05-24 Thread Bernhard Ströbl
Dear all, another issue: QGIS Server is responding with an all-white map to a GetMap when VERSION=1.3.0 is requested. Map is rendered correctly when requesting VERSION=1.1.1 example:

Re: [Qgis-developer] QGIS Server 1.8: empty map with VERSION=1.3.0

2012-05-24 Thread Bernhard Ströbl
coordinates, you also get an image with 1.3. In some cases, the coordinats are switched in 1.3 (usually geographical systems). Not a good idea, but that's what the 1.3 spec says... Regards, Marco Am 24.05.2012 16:30, schrieb Bernhard Ströbl: Dear all, another issue: QGIS Server is responding

Re: [Qgis-developer] Rendering order in rule-based style not working

2012-05-30 Thread Bernhard Ströbl
in 1.7 because rendering order/symbology levels are assumed. Since that has been in 1.9 for a while I'd expect it to be 1.8 and I'd start there. -ramon. On 24/05/2012, at 23:04, Bernhard Ströbl bernhard.stro...@jena.de mailto:bernhard.stro

[Qgis-developer] undefined symbol: _ZNK11QgsMapLayer3crsEv

2012-05-31 Thread Bernhard Ströbl
Hi all, I compiled current master and got an error when starting QGIS: Traceback (most recent call last): File , line 1, in ImportError: /opt/qgis-1.8.0/share/qgis/python/qgis/core.so: undefined symbol: _ZNK11QgsMapLayer3crsEv QGIS starts nonetheless (without Python) but accessing a layer's

Re: [Qgis-developer] undefined symbol: _ZNK11QgsMapLayer3crsEv

2012-05-31 Thread Bernhard Ströbl
Thank you Giuseppe! Am 31.05.2012 16:34, schrieb Giuseppe Sucameli: Hi, Please, send the message to the list, this kind infos can be useful to other people have the same problem. On Thu, May 31, 2012 at 3:00 PM, Bernhard Ströbl bernhard.stro...@jena.de wrote: I basically followed http

[Qgis-developer] [QGIS Server] print layout

2012-06-07 Thread Bernhard Ströbl
Dear all, I noticed that QGIS Server's GetPrint request delivers a print in which none of my text elements are included, the scale bar is moved from the bottom to the top, the north arrow is swallowed, in other words: the printed map differs from the layout I defined. anyone confirms? QGIS

Re: [Qgis-developer] [QGIS Server] print layout

2012-06-07 Thread Bernhard Ströbl
I am also using the WebClient but if I issue the GetPrint request directly in Firefox the same pdf is returned so it is a server question. Bernhard Am 07.06.2012 16:03, schrieb Giovanni Manghi: Hi, On Jun 7, 2012 2:57 PM, Bernhard Ströbl bernhard.stro...@jena.de mailto:bernhard.stro

Re: [Qgis-developer] Socket server freezes on Python plugin

2012-06-19 Thread Bernhard Ströbl
Hi Victor, I happen to have done just that recently. I used QTcpServer, not sure if it is the best way to do it, but it works with QGIS 1.7.4 and 1.8. I think I used the PyQt examples. I hope it is of use. from PyQt4 import QtCore, QtGui, QtSql, QtNetwork class MyPlugin: def

Re: [Qgis-developer] What will be in QGIS 2.0

2012-07-12 Thread Bernhard Ströbl
Dear All, I followed your discussion with interest and I have a feeling there are two aspects to be considered: One is the developer's perspective and one is the user's perspective. From a developer's perspective there is the api change, new raster architecture (and a lot more I cannot name,

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Bernhard Ströbl
Hi, I could imagine having several expressions for one layer (depending on the field I want to do calculations on) so autoload needs to depend on the layer and the field. On the other hand I could imagine having an area field in many layers which I want to update with the geometry's area. So

Re: [Qgis-developer] Multilanguage plugin development

2012-11-01 Thread Bernhard Ströbl
mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer __ Information from ESET Mail Security, version of virus signature database 7649 (20121101) __ The message was checked by ESET Mail Security. http://www.eset.com -- Bernhard Ströbl

Re: [Qgis-developer] Server features

2012-11-15 Thread Bernhard Ströbl
__ Information from ESET Mail Security, version of virus signature database 7693 (20121114) __ The message was checked by ESET Mail Security. http://www.eset.com -- Bernhard Ströbl Anwendungsbetreuer GIS Kommunale Immobilien Jena Am Anger 26 07743 Jena Tel.: 03641 49- 5190 E-Mail

Re: [Qgis-developer] more advanced editing tools

2012-11-29 Thread Bernhard Ströbl
that these features are important. One I would like is to see the distance and angle directly during digitizing, while you enter a line. Regards, Leyan On 11/29/2012 08:35 PM, Bernhard Ströbl wrote: Dear list, during a course I realized that my institution needs some more editing tools for advanced editing

Re: [Qgis-developer] more advanced editing tools

2012-11-29 Thread Bernhard Ströbl
sorry, forgot the list... Hi Giovanni, thanks for your feedback. I comment below. Am 29.11.2012 15:01, schrieb Giovanni Manghi: Hi Bernhard, Is any of you aware of similar functions in a plugin (I know cadTools)? Is anyone interested in joining me to create such tools as a Python plugin?

Re: [Qgis-developer] more advanced editing tools

2012-11-29 Thread Bernhard Ströbl
Angelos, would you see this functionality rather in cadTools or in a new plugin? Bernhard Am 29.11.2012 17:28, schrieb Angelos Tzotsos: On 11/29/2012 02:35 PM, Bernhard Ströbl wrote: Dear list, during a course I realized that my institution needs some more editing tools for advanced editing

Re: [Qgis-developer] more advanced editing tools

2012-11-29 Thread Bernhard Ströbl
Hi Giovanni, Hi Bernhard this was requested here, too. Fill hole seems (theoretically) quite simple, the other one is harder: 1) which layers are defined to form the space to be filled. Any line or polygon layer could do it. Maybe one would use the ones that are ticked for avoid

Re: [Qgis-developer] more advanced editing tools

2012-11-29 Thread Bernhard Ströbl
Hi Ramon, Am 29.11.2012 23:11, schrieb Ramon Andiñach: On 30/11/2012, at 24:01 , Bernhard Ströbl wrote: [snip] Filling a hole can also be achieved by ticking avoid intersection for the layer with the polygon and then digitizing generously around the hole. In this respect I would like to have

Re: [Qgis-developer] more advanced editing tools

2012-11-30 Thread Bernhard Ströbl
user and where the tools are expected to be found more easily. Also the number of new tools are important. For 2-5 new tools, extending cadTools would be more appropriate than a new plugin. Angelos On 11/29/2012 06:36 PM, Bernhard Ströbl wrote: Angelos, would you see this functionality rather

Re: [Qgis-developer] more advanced editing tools

2012-12-02 Thread Bernhard Ströbl
: Does the latter one not save all edits? Bernhard Am 02.12.2012 02:03, schrieb Larry Shaffer: Hi Bernhard, On Fri, Nov 30, 2012 at 2:23 AM, Bernhard Ströbl bernhard.stro...@jena.de wrote: Hi Angelos, I agree that some 2 to 5 tools should go into cadTools. What we have until now: - parallel move

Re: [Qgis-developer] more advanced editing tools

2012-12-03 Thread Bernhard Ströbl
, On Mon, Dec 3, 2012 at 12:49 AM, Bernhard Ströbl bernhard.stro...@jena.de wrote: Hi Larry, this is even better than what I had in mind! I like the red pencil indicating the dirty status of the layer. Many thanks for that. However I would change the tooltip to Save edits in all layers because

[Qgis-developer] symbology by attribute

2012-12-11 Thread Bernhard Ströbl
Dear Devs, I am wondering if this question has been raised before... Has there been any thoughts about symbolizing by attribute (similar to the new labeller where I have the option to set color, transparency, scale etc. by attribute)? Background: I have a map drawn in CAD. All lines have

Re: [Qgis-developer] Spatial queries plugin should ignore very small intersections

2013-01-07 Thread Bernhard Ströbl
I made an eliminate tool (similar to ESRI's eliminate). It dissolves common boundaries of selected polygons and adjacent polygons with either largest area or largest common boundary. If you have multi polygons you would need to transform them into single polygons beforehand. The eliminate tool

Re: [Qgis-developer] Attribute Editor: Dual View

2013-01-09 Thread Bernhard Ströbl
Hi Matthias (and others), I read your paper and I like the idea of the dual view because currently it is not possible to open the attribute editor from the table. On the other hand I am not convinced of the filter/selection proposal. IMHO one of the strengths when using GIS data is the unity

Re: [Qgis-developer] Attribute Editor: Dual View

2013-01-09 Thread Bernhard Ströbl
Jürgen, huuu, you are right. I totally overlooked that! I am always amazed how many features there are in QGIS I do not even know of. regards Bernhard Am 09.01.2013 16:08, schrieb Jürgen E. Fischer: Hi Bernhard, On Wed, 09. Jan 2013 at 15:07:20 +0100, Bernhard Ströbl wrote: I read your

Re: [Qgis-developer] Attribute Editor: Dual View

2013-01-09 Thread Bernhard Ströbl
Hi Matthias, comments below. Am 09.01.2013 16:41, schrieb Matthias Kuhn: Hi Bernhard On 01/09/2013 03:07 PM, Bernhard Ströbl wrote: Hi Matthias (and others), I read your paper and I like the idea of the dual view because currently it is not possible to open the attribute editor from

Re: [Qgis-developer] Attribute Editor: Dual View

2013-01-10 Thread Bernhard Ströbl
Matthias, I try to do it with your words... Am 10.01.2013 13:18, schrieb Matthias Kuhn: Bernhard, On 01/10/2013 07:39 AM, Bernhard Ströbl wrote: Hi Matthias, comments below. same here Am 09.01.2013 16:41, schrieb Matthias Kuhn: Hi Bernhard On 01/09/2013 03:07 PM, Bernhard Ströbl wrote

Re: [Qgis-developer] Attribute Editor: Dual View

2013-01-10 Thread Bernhard Ströbl
Am 10.01.2013 16:12, schrieb Matthias Kuhn: -- 8 snip -- E.g. If you want to manually select features out of different subsets. Let's say you have a layer with a lot of features and you're looking for a couple of cities (but not all of them) which have more than 100'000 inhabitants in

Re: [Qgis-developer] Attribute Editor: Dual View

2013-01-13 Thread Bernhard Ströbl
Matthias I will be glad to take part in the discussion. regards Bernhard Am 12.01.2013 11:18, schrieb Matthias Kuhn: On 01/10/2013 05:23 PM, Bernhard Ströbl wrote: Am 10.01.2013 17:03, schrieb Matthias Kuhn: On 01/10/2013 04:52 PM, Bernhard Ströbl wrote: Am 10.01.2013 16:12, schrieb

[Qgis-developer] remove action using Python

2013-01-22 Thread Bernhard Ströbl
Dear all, in a plugin I add a Python action to a layer with this: myLayer.actions().addAction(1, myActionName, myPythonCode) upon unloading the plugin I would like to remove the action from the layer (because some of the code needed is in the plugin) but I did not find a method to do so. I

[Qgis-developer] PyQt VectorLayer signal

2013-02-19 Thread Bernhard Ströbl
Hi, for a plugin I am trying to connect a slot to QgsVectorLayer's commitedFeaturesAdded signal (I assume this signal is emitted when the user toggles the editing status and any features have been added and are written back to the data source) This is the code I tried # old connector

Re: [Qgis-developer] PyQt VectorLayer signal

2013-02-21 Thread Bernhard Ströbl
/qgis/Quantum-GIS/pull/432 On 02/19/2013 09:47 AM, Bernhard Ströbl wrote: Hi, for a plugin I am trying to connect a slot to QgsVectorLayer's commitedFeaturesAdded signal (I assume this signal is emitted when the user toggles the editing status and any features have been added and are written back

Re: [Qgis-developer] Composer Management

2013-02-27 Thread Bernhard Ströbl
Hi Kelly, I am doing something similar for my company but I am developing it for the next release, because master has QgsComposition::loadFromTemplate method, which 1.8 has not. However to get a new printComposer you can use self.iface.actionPrintComposer().trigger() which adds a new

Re: [Qgis-developer] Composer Management

2013-02-28 Thread Bernhard Ströbl
Hi Larry, Am 28.02.2013 17:38, schrieb Larry Shaffer: Hi, On Thu, Feb 28, 2013 at 12:01 AM, Bernhard Ströbl bernhard.stro...@jena.de mailto:bernhard.stro...@jena.de wrote: Hi Kelly, I am doing something similar for my company but I am developing it for the next release, because

Re: [Qgis-developer] Composer Management

2013-03-01 Thread Bernhard Ströbl
Hi, (some unneccessary stuff cut out to improve readability) ---8- But AFAIK you can not load a template into it with 1.8 I think this is possible. QgsComposition has readXML and addItemsFromXML ---8- I did not fiddle with those 1.8 methods, but

[Qgis-developer] [Python] QgsFeatureIterator for geometryless PostgreSQL-Layer

2013-04-09 Thread Bernhard Ströbl
Hi, I am trying to access features of a geometryless layer derived from a PostgreSQL table in current master. if I do feat = QgsFeature() iter = myLayer.getFeatures(QgsFeatureRequest().setFilterFid(myFid)) iter.nextFeature(feat) returns False and I get a message in the PostgreSQL message tab

Re: [Qgis-developer] [Python] QgsFeatureIterator for geometryless PostgreSQL-Layer

2013-04-09 Thread Bernhard Ströbl
Jürgen, this works! I checked the docs for QgsVectorLayer.getFeatures and QgsFeatureIterator but not for QgsFeatureRequest thank you and all the best Bernhard Am 09.04.2013 18:10, schrieb Jürgen E. Fischer: Hi Bernhard, On Tue, 09. Apr 2013 at 15:09:31 +0200, Bernhard Ströbl wrote: I am

Re: [Qgis-developer] qgis web client, GlobalOptions and GISProjectListing parameters

2013-04-12 Thread Bernhard Ströbl
Hi Giovanni, AFAIK this is not possible at the moment, but there is a ticket open for a language switcher [1] If I had several CRS I would create different installations of QWC, you cannot access the projects with the themeSwitcher in this case but that would probably fail anyways because

Re: [Qgis-developer] fTools and GdalTools: sextante vs original plugins

2013-04-17 Thread Bernhard Ströbl
Hi Victor, thank you for your quick reply and even more for all the work you are doing for SEXTANTE. If it is operable (and I am sure, it will be) SEXTANTE will be a big step forward for QGIS! I am going to send you the model an layers (as shape files, you need to import two of them into

Re: [Qgis-developer] fTools and GdalTools: sextante vs original plugins

2013-04-17 Thread Bernhard Ströbl
Hi all, just want to inform you that Victor was able to solve my two problems. Number 1 (CRS missmatch) was kinda my fault (or let's say the fault of a former QGIS version where my project originally was created in: QGIS did compare proj4 definition and picked the first CRS the definition of

Re: [Qgis-developer] fTools and GdalTools: sextante vs original plugins

2013-04-17 Thread Bernhard Ströbl
(20130417) __ The message was checked by ESET Mail Security. http://www.eset.com -- Bernhard Ströbl Anwendungsbetreuer GIS Kommunale Immobilien Jena Am Anger 26 07743 Jena Tel.: 03641 49- 5190 E-Mail: bernhard.stro...@jena.de Internet: www.kij.de Kommunale Immobilien Jena

Re: [Qgis-developer] Make QGIS interact with LibreCAD.

2013-04-22 Thread Bernhard Ströbl
Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be

Re: [Qgis-developer] Make QGIS interact with LibreCAD.

2013-04-22 Thread Bernhard Ströbl
Am 22.04.2013 14:01, schrieb Ivan Mincik: On 04/22/2013 12:52 PM, Bernhard Ströbl wrote: Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer

Re: [Qgis-developer] Make QGIS interact with LibreCAD.

2013-04-22 Thread Bernhard Ströbl
Hi Diego, based on a discussion [1] on this list a couple of months ago I started coding some of the missing tools as my time allows. This is going to be a Python plugin made from scratch. What I do have right now is: 1) Dissolve multi geometries (code from Alexandre Neto's plugin) 2) Split

Re: [Qgis-developer] qgis-webclient - weblinks from features and base layers

2013-04-23 Thread Bernhard Ströbl
was checked by ESET Mail Security. http://www.eset.com -- Bernhard Ströbl Anwendungsbetreuer GIS Kommunale Immobilien Jena Am Anger 26 07743 Jena Tel.: 03641 49- 5190 E-Mail: bernhard.stro...@jena.de Internet: www.kij.de Kommunale Immobilien Jena Eigenbetrieb der Stadt Jena Werkleiter: Dr

Re: [Qgis-developer] qgis-webclient - weblinks from features and base layers

2013-04-23 Thread Bernhard Ströbl
Hi Otto, you are right. This won't work. The automatic url detection is for simpler cases where users store a pure url in a field. This url is detected and displayed as a link without any html writing necessary. So if you want to individually format a complete link with html tags you may do

Re: [Qgis-developer] qgis-webclient - weblinks from features and base layers

2013-04-23 Thread Bernhard Ströbl
Otto, I made a pull request fixing this issue. If a url is detected (http://something) in an attribute it is checked whether there is an opening a - tag and only if this is false the tag is automagically created. So if you store a complete html-formatted link in your attribute it should be

Re: [Qgis-developer] Make QGIS interact with LibreCAD.

2013-04-25 Thread Bernhard Ströbl
Hi all, I personally would prefer two plugins, one with CAD-like functions (constructing, snap to middle of line etc.) and one with more GIS-like editing functions (clip, fill holes and the like). If you look at the current CAD-Tools plugin it is already pretty crowded but we are talking

Re: [Qgis-developer] Open a form of a linked table

2013-06-04 Thread Bernhard Ströbl
was checked by ESET Mail Security. http://www.eset.com -- Bernhard Ströbl Anwendungsbetreuer GIS Kommunale Immobilien Jena Am Anger 26 07743 Jena Tel.: 03641 49- 5190 E-Mail: bernhard.stro...@jena.de Internet: www.kij.de Kommunale Immobilien Jena Eigenbetrieb der Stadt Jena Werkleiter: Dr. Götz

Re: [Qgis-developer] Open a form of a linked table

2013-06-05 Thread Bernhard Ströbl
Hi Olivier, answers below Am 05.06.2013 11:42, schrieb Olivier Dalang: Hi ! Bernhard , your plugin sounds great ! Could you show a screenshot of the editing form to edit the data contained in related tables ? Having no PostGIS database setup, I can't test it... I put it in the wiki [1]

Re: [Qgis-developer] SIP API Update merged. Attention plugin authors

2013-06-10 Thread Bernhard Ströbl
) __ The message was checked by ESET Mail Security. http://www.eset.com -- Bernhard Ströbl Anwendungsbetreuer GIS Kommunale Immobilien Jena Am Anger 26 07743 Jena Tel.: 03641 49- 5190 E-Mail: bernhard.stro...@jena.de Internet: www.kij.de Kommunale Immobilien Jena Eigenbetrieb der Stadt

[Qgis-developer] new PluginManager: missing symbol

2013-06-11 Thread Bernhard Ströbl
Hi, I compiled current master and upon startup I get the following error: symbol lookup error: /opt/qgis-2.0.0/bin/qgis: undefined symbol: _ZN25QgsPluginManagerInterface16staticMetaObjectE Am I missing something? How can I fix this? Bernhard __ Information from ESET Mail Security,

Re: [Qgis-developer] Relative paths in mapserver

2013-06-19 Thread Bernhard Ströbl
Hi Paolo, in this case you might want to use Apache's URL rewriting as documented e.g. for QWC [1] (section 5). Bernhard [1] https://github.com/qgis/qgis-web-client/blob/master/README Am 20.06.2013 07:09, schrieb Paolo Cavallini: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 19/06/2013

Re: [Qgis-developer] [QGIS-Server] Can't read user defined Coordinate Reference System

2013-06-25 Thread Bernhard Ströbl
Hi René-Luc, I am wondering what any WMS client is supposed to do with BoundingBoxCRS=USER:10. I would assume any client knows how to handle EPSG coded CRS. Could you post a link to your GetCapabilities document? What is/are the CRS defined in Project Properties / OWS server? I have not

[Qgis-developer] QGIS crashes on any file-open operation

2013-06-27 Thread Bernhard Ströbl
Hi, when trying to use any of the open-file buttons (e.g. open project) or trying to browse for a file after clicking load vector QGIS crashes (loading a vector from the browser works ok). This is QGIS master (59222a0) on OpenSuse 12.2 (64 bit). anyone confirms? Bernhard __

Re: [Qgis-developer] new icons

2013-07-04 Thread Bernhard Ströbl
Hi Denis, thanks for your effort. +1 for pan = hand panToSelected with hand looks like select by click to me, so +1 to keep current (symbols IMHO need not be similar as panToSelected is a button and pan is a tool) Bernhard Am 04.07.2013 10:28, schrieb Denis Rouzaud: Hi all, I have been

[Qgis-developer] [Python] splitGeometry

2013-07-09 Thread Bernhard Ströbl
Hi, I am trying to split a geometry (polygon) with a line, the line is straight and crossing the polygon's boundary exactly twice; here is my code: result, newGeometries, topoTestPoints = myGeometry.splitGeometry(splitterPList, True) the result is 0 (OK) but newGeometries contains only

[Qgis-developer] QWC still too large file in sample project

2013-07-16 Thread Bernhard Ströbl
Hi Otto and Andreas (and everybody else), I tried to upload a branch to my fork and still get github's error about HYP_50M_SR_W.tif is too large (166.94 MB). The file system is telling me it is about 30MB. Should I refork? Bernhard -- Bernhard Ströbl Anwendungsbetreuer GIS Kommunale

Re: [Qgis-developer] Need help with Plugin button behavior connected to SIGNAL(selectionChanged())

2013-08-22 Thread Bernhard Ströbl
Alexandre, I have included your tool in the DigitizingTools plugin [1] as I have told you the other day. DigitizingTools is already QGIS 2.0 ready (though still marked as experimental). Feel free to join this effort. Concerning your problem I reckon you have the same signal connected many

Re: [Qgis-developer] [qgis webclient] hide layer in menu

2013-08-29 Thread Bernhard Ströbl
Hi Andreas, will that be only Google/Bing or will there be a more general approach to have anything defined as base layer as discussed in [1]? Bernhard http://hub.qgis.org/issues/3971 Am 29.08.2013 16:04, schrieb Andreas Neumann: Hi Giovanni, No - this is not possible yet. We can discuss

[Qgis-developer] [Python] loadNamedStyle

2013-09-04 Thread Bernhard Ströbl
Hi, I am fiddling around with saving layer styles to the database (PostgreSQL) in QGIS 1.9. I succeeded in saving styles for a layer and applying them. The default style is applied if I load the layer via Python, too. My aim is to save several styles for one layer, load the layer via Python

Re: [Qgis-developer] Better world projections

2013-09-13 Thread Bernhard Ströbl
from ESET Mail Security, version of virus signature database 8790 (20130912) __ The message was checked by ESET Mail Security. http://www.eset.com -- Bernhard Ströbl Anwendungsbetreuer GIS Kommunale Immobilien Jena Am Anger 26 07743 Jena Tel.: 03641 49- 5190 E-Mail: bernhard.stro

Re: [Qgis-developer] connecting new style CUSTOM signal to existing Qgis object in Qgis2.0

2013-09-26 Thread Bernhard Ströbl
Hi Jeff, just an idea: how about subclassing the QGIS object in question? Bernhard Am 26.09.2013 00:26, schrieb Jeff Cavner: For Python plugin development how do you connect a custom signal using the new style of signals and slots to a PyQgis object, specifically to QgsProject.instance()?

[Qgis-developer] SVG parameters

2013-09-26 Thread Bernhard Ströbl
Hi all, following the instructions in [1] I have parametrized my svg files. This works basically fine, but there are IMHO two drawbacks: 1) all elements provide defaults for stroke, fill and stroke-width but they cannot be displayed any more. IMHO there should be at least one check box saying

Re: [Qgis-developer] Reprojection problem

2013-09-27 Thread Bernhard Ströbl
Hi, maybe you should try ot set an absolute path? Bernhard Am 27.09.2013 08:33, schrieb Benoît Laurent: Hello, I performed a check: the ntf_r93.gsb is located in the InstallDir\share\proj directory. What is wrong ? Regards, Benoît ___

Re: [Qgis-developer] Reprojection problem

2013-09-27 Thread Bernhard Ströbl
Hi Benoit, as far as I understand from your original post you want to add a raster layer to QGIS whose projection information is +proj=lcc +lat_1=49.5 +lat_0=49.5 +lon_0=0 +k_0=0.99987734 +x_0=60 +y_0=20 +a=6378249.2 +b=6356514.78254 +nadgrids=ntf_r93.gsb,null +pm=2.337229167

Re: [Qgis-developer] Reliable way to determine a groupIndex in the legend tree

2013-10-08 Thread Bernhard Ströbl
Hi Andreas, this is how I do it: def getGroupIndex(self, groupName): '''Find the index for group groupName''' retValue = -1 groups = self.iface.legendInterface().groups() for i in range(len(groups)): if groups[i] == groupName: retValue = i break

Re: [Qgis-developer] Reliable way to determine a groupIndex in the legend tree

2013-10-08 Thread Bernhard Ströbl
for all of them. But really this should go into the core QGIS API. It is annoying taking care of such things. +1 Bernhard Andreas Am 08.10.2013 13:32, schrieb Bernhard Ströbl: Hi Andreas, this is how I do it: def getGroupIndex(self, groupName): '''Find the index for group groupName

Re: [Qgis-developer] Reliable way to determine a groupIndex in the legend tree

2013-10-09 Thread Bernhard Ströbl
strategy to make this same code available in multiple QGIS plugins? But really this should go into the core QGIS API. It is annoying taking care of such things. Andreas Am 08.10.2013 13:32, schrieb Bernhard Ströbl: Hi Andreas, this is how I do it: def getGroupIndex(self, groupName): '''Find

Re: [Qgis-developer] Reliable way to determine a groupIndex in the legend tree

2013-10-11 Thread Bernhard Ströbl
Am 11.10.2013 11:22, schrieb Sandro Santilli: On Fri, Oct 11, 2013 at 09:13:03AM +, Duarte Carreira wrote: The group checkbox, imho, should *not always* switch children on/off. You should have a modifier to get this as a secondary behavior, like pressing the ctrl key when (un)checking

Re: [Qgis-developer] Reliable way to determine a groupIndex in the legend tree

2013-10-11 Thread Bernhard Ströbl
Am 11.10.2013 11:44, schrieb Sandro Santilli: On Fri, Oct 11, 2013 at 11:35:12AM +0200, Bernhard Ströbl wrote: Am 11.10.2013 11:22, schrieb Sandro Santilli: On Fri, Oct 11, 2013 at 09:13:03AM +, Duarte Carreira wrote: The group checkbox, imho, should *not always* switch children

Re: [Qgis-developer] Reliable way to determine a groupIndex in the legend tree

2013-10-11 Thread Bernhard Ströbl
11.10.2013 12:09, schrieb Sandro Santilli: On Fri, Oct 11, 2013 at 12:02:08PM +0200, Bernhard Ströbl wrote: We would have these two cases: 1) Group is checked and although layer is unchecked it is visible I don't think this case exists. Why not? You check/uncheck a group and the layers are visible

Re: [Qgis-developer] Select datum transform in QGIS

2013-11-07 Thread Bernhard Ströbl
my 2cts from a user's perspective: - annoying dialog: How about an option Store my choice and do not ask me again This choice will go in a user setting where all choices for all datum shifts (encountered by this user) are user-accessible and can be deleted or changed. This probably extends the

[Qgis-developer] Rotation of Labels

2013-11-13 Thread Bernhard Ströbl
Hi, I am wondering if the rotation of labels is as it should be. I am using a point layer containing text strings and rotation angles. When setting the Quadrant of the label (option Offset from point) the label is first displaced from the point and then rotated around _the label's centre_.

Re: [Qgis-developer] Rotation of Labels

2013-11-13 Thread Bernhard Ströbl
, schrieb Larry Shaffer: Hi Bernhard, On Wed, Nov 13, 2013 at 8:12 AM, Bernhard Ströbl bernhard.stro...@jena.dewrote: Hi, I am wondering if the rotation of labels is as it should be. I am using a point layer containing text strings and rotation angles. When setting the Quadrant of the label (option

[Qgis-developer] No Zoom to selected point

2013-12-02 Thread Bernhard Ströbl
Dear devs, today I stumbled on a strange behaviour when zoooming to a point. To reproduce: load a point layer, select one feature in the table and click Zoom to selection. The result is the same as if clicking Pan map to Selection, i.e the map is panned but not zoomed. I _think_ this is

Re: [Qgis-developer] No Zoom to selected point

2013-12-03 Thread Bernhard Ströbl
wrote: I observed the same behavior (qgis master) with two points alligned on x (a very simple layer indeed). On 02/12/2013 12:15, Bernhard Ströbl wrote: Dear devs, today I stumbled on a strange behaviour when zoooming to a point. To reproduce: load a point layer, select one feature

Re: [Qgis-developer] No Zoom to selected point

2013-12-03 Thread Bernhard Ströbl
'zoom to selected'. Regards, Marco On 04.12.2013 07:50, Bernhard Ströbl wrote: Hi Gino, can you confirm what I described (_one_ point selected, does not zoom)? I tried with f21562c on OpenSuse 64 bit. Bernhard Am 03.12.2013 18:01, schrieb Gino Pirelli: not confirmed in f21562c not confirmed

Re: [Qgis-developer] No Zoom to selected point

2013-12-03 Thread Bernhard Ströbl
. Bernhard On 04.12.2013 08:19, Bernhard Ströbl wrote: Hi Marco, of course it is undefined, but IMHO something should happen if you click zoom to selected. If I have a cloud of points and nothing happens I have no means to see the particular point I selected and that is worse than unconvenient. How

Re: [Qgis-developer] No Zoom to selected point

2013-12-04 Thread Bernhard Ströbl
of the layer? So the scale would be different for a layer containing global disaster points compared to one containing local addresses. Zoom to a scale related to the layer bbox sounds much better than zooming in a fixed factor. Marco On 04.12.2013 08:45, Bernhard Ströbl wrote: Am 04.12.2013 08

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Bernhard Ströbl
Hi Martin, Am 12.12.2013 16:50, schrieb Martin Dobias: Hi Tim! That all sounds absolutely brilliant! Thanks for such a nice clear description of how it all fits together. I know you are only considering layer-by-layer rendering but does your design accommodate further future optimisations

Re: [Qgis-developer] Connecting composer closure with another window focus

2013-12-16 Thread Bernhard Ströbl
Hi, I often had the problem that connecting to a signal did not work, too. My solution always was to make the object which throws the signal an object of the class so instead of QgsComposerView try self.QgsComposerView I have no idea if this is generally true neither can did I

[Qgis-developer] Diagram legend

2013-12-19 Thread Bernhard Ströbl
Hi, is anybody still working on diagram legends for the print composer? regards Bernhard __ Information from ESET Mail Security, version of virus signature database 9191 (20131219) __ The message was checked by ESET Mail Security. http://www.eset.com

Re: [Qgis-developer] Diagram legend

2013-12-19 Thread Bernhard Ströbl
Hi Matthias, thanks for the information. I will be patient :-) It would be nice to have some kind of diagram legend next year. Bernhard Am 19.12.2013 11:59, schrieb Matthias Kuhn: Hi Bernhard, As far as I know, Martin will be working on the legend infrastructure soon and I suppose he will

Re: [Qgis-developer] qgisserver problem

2013-12-19 Thread Bernhard Ströbl
Hi, maybe your problem is related with [1]? regards Bernhard [1] http://hub.qgis.org/issues/8351 Am 19.12.2013 20:59, schrieb Richard Duivenvoorde: Compiled QGIS testing (12 dec) on a clean debian wheezy box copied qgis_mapserv.fcgi into /usr/lib/cgi-bin and created a vanilla qgs project

Re: [Qgis-developer] QGIS Web Client improvements

2014-01-03 Thread Bernhard Ströbl
Hi Alessandro, new ideas are always welcome. I comment below Am 03.01.2014 12:30, schrieb Alessandro Pasotti: Hello, happy new year to everybody! I''ve started a new project with QGIS server and QGIS Web Client, my first impression is that QGIS Web Client is a great tool, very easy to set up

Re: [Qgis-developer] Ideas/proposal for Attribute Table

2014-01-06 Thread Bernhard Ströbl
Hi Luca, the need to create some kind of reports is often uttered. IMHO a dedicated reporting tool can always handle this better than anything implemented in QGIS or any other GIS (because it is not a main GIS feature). I successfully coupled a Python implementation of JasperReports [1] with

Re: [Qgis-developer] QGIS 2 becomes slow and freezes when editing and saving PostGIS layers

2014-01-06 Thread Bernhard Ströbl
Hi, if you need the multipart split try the EditTools plugin. Multipart split is included there (and much more :-). EditTools does not suffer from this bug. Bernhard Am 06.01.2014 10:39, schrieb Pedro Venâncio: Hi Richard, Yes, of these three, I had the Multipart Split. I suspected that

Re: [Qgis-developer] QGIS 2 becomes slow and freezes when editing and saving PostGIS layers

2014-01-06 Thread Bernhard Ströbl
!! - Mensagem original - DE: Bernhard Ströbl if you need the multipart split try the EditTools plugin. Multipart split is included there (and much more :-). EditTools does not suffer from this bug. Hi all. I cannot find EditTools: http://plugins.qgis.org/search/?q=edit Am I missing something

Re: [Qgis-developer] Ideas/proposal for Attribute Table

2014-01-07 Thread Bernhard Ströbl
printing). Bernhard Am 07.01.2014 11:16, schrieb Paolo Cavallini: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 06/01/2014 10:40, Bernhard Ströbl ha scritto: the need to create some kind of reports is often uttered. IMHO a dedicated reporting tool can always handle this better than anything

  1   2   3   >