Re: [Qgis-developer] Re: QGIS.pro, Qt Creator and Android - Qt Creator Integration

2011-01-11 Thread Mayeul Kauffmann
Hi, A few potential hints with respect to invisible .ui files in qtcreator project view: -the qt creator parser has rules that differs from qmake ones apparently, see this thread: http://www.mail-archive.com/qt-creator@trolltech.com/msg00738.html -This thread suggested to recreate the .user file

Re: [Qgis-developer] symlinks in GRASS plugins

2011-01-11 Thread cavall...@faunalia.it
Ticket already opened, as per Radim suggestion. Is there anybody planning to implement this soon, or should I start copying the new icons? Thanks. --- http://faunalia.it/pc - Reply message - Da: "Alex Mandel" Data: mar, gen 11, 2011 19:09 Oggetto: [Qgis-developer] symlinks in GRASS plugi

Re: [Qgis-developer] symlinks in GRASS plugins

2011-01-11 Thread Maciej Sieczka
W dniu 11.01.2011 15:09, cavall...@faunalia.it pisze: Thanks. What is the advantage of this approach respect to simply copying it? Pretty much same as in case of symlinks: 1. In SVN repo you maintain the original file only. An external is a "kind of a symlink" to the original file. If you com

Re: [Qgis-developer] symlinks in GRASS plugins

2011-01-11 Thread Alex Mandel
I think the easiest solution to keep track of in the long run is to simply allow the image file to be defined in the qgm file for a given tool, and default to matching as currently done if none is specified. Radim thought this was also a good approach and asked that a ticket be filed for it (sounde

[Qgis-developer] Re: MCElite issue

2011-01-11 Thread JP Glutting
Thanks Borys! Sorry, I missed the email, I was involved in another project. I will take care of this now. On Mon, Jan 10, 2011 at 7:39 PM, Borys Jurgiel wrote: > Due to lack of any feedback, I've changed the version declaration > > down to 0.1.1 > > Regards, > > B. > > > Dnia sobota 08 stycznia

Re: [Qgis-developer] Re: How to use setStyle in QgsComposerScaleBar Class

2011-01-11 Thread Marco Hugentobler
It should be fixed already in r15016 Regards, Marco Am Dienstag, 11. Januar 2011, um 15.32:15 schrieb Michael Pfeiffer: > Hi Marco, > > yes your workaround works for me. > Thanks. > Should I open a ticket for the bug? > > Regards, > > Michael -- Dr. Marco Hugentobler Sourcepole - Linux & O

[Qgis-developer] Re: How to use setStyle in QgsComposerScaleBar Class

2011-01-11 Thread Michael Pfeiffer
Hi Marco, yes your workaround works for me. Thanks. Should I open a ticket for the bug? Regards, Michael -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-use-setStyle-in-QgsComposerScaleBar-Class-tp5910397p5910971.html Sent from the qgis-developer mailing list

Re: [Qgis-developer] How to use setStyle in QgsComposerScaleBar Class

2011-01-11 Thread Marco Hugentobler
Hi Michael > Am I doing something wrong or is this a bug? It is a bug. However, as a short time workaround, I think it works if you use 'setStyle' after 'addComposerScaleBar': item = QgsComposerScaleBar(composition) composerView.addComposerScaleBar(item) item.setItemPosition(margin_left+offset_

Re: [Qgis-developer] symlinks in GRASS plugins

2011-01-11 Thread cavall...@faunalia.it
Thanks. What is the advantage of this approach respect to simply copying it? All the best. --- http://faunalia.it/pc - Reply message - Da: "Maciej Sieczka" Data: lun, gen 10, 2011 20:36 Oggetto: [Qgis-developer] symlinks in GRASS plugins A: "qgis-developer" , "Paolo Cavallini" W dniu 0

[Qgis-developer] bounding box for shapefile

2011-01-11 Thread Mohammed Rashad
Hi, Anyone please explain how qgis sets the bounding box for a map eg: ESRI shapefile by code -- Rashad ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] How to use setStyle in QgsComposerScaleBar Class

2011-01-11 Thread Michael Pfeiffer
Hi everybody, I'm working on a Python PlugIn which creates a map composition. In the map composition I want to implement a scalebar item in numeric style. I try to implement the scalebar item with the following code item = QgsComposerScaleBar(composition) item.setStyle('Numeric') item.setItemP

Re: [Qgis-developer] Unknown CRS problem

2011-01-11 Thread Marco Hugentobler
Hi Martin > My idea was that if they have layers with unknown CRS, also the > project's CRS would be set to unknown. So no reprojection would happen > and no warnings shown. Even measuring could work to some degree - > assuming planar coordinates, with unknown units. That sounds good to me (no r

Re: [Qgis-developer] Unknown CRS problem

2011-01-11 Thread Werner Macho
+1 for Martins idea! I like it .. educating the user that way is a very good idea .. hope it's not too hard to implement.. Werner Am 11.01.2011 10:38, schrieb Martin Dobias: My idea was that if they have layers with unknown CRS, also the project's CRS would be set to unknown. So no reprojectio

Re: [Qgis-developer] Unknown CRS problem

2011-01-11 Thread Micha Silver
On 11/01/2011 11:31, Marco Hugentobler wrote: Not entirely correct. As QGIS works now, each new project starts in Lon/Lat WGS84. If I all my layers are in the same projected CRS I don't notice any problem *until* I want to measure something ;-( True, your suggestion to add the possibility to se

Re: [Qgis-developer] Unknown CRS problem

2011-01-11 Thread Martin Dobias
On Tue, Jan 11, 2011 at 10:11 AM, Paolo Cavallini wrote: > Il giorno mar, 11/01/2011 alle 11.05 +0200, Micha Silver ha scritto: > >> > So if they work without reprojection, everything works smoothly, and >> > they do not see anything wrong with that. >> >> Not entirely correct. As QGIS works now,

Re: [Qgis-developer] Unknown CRS problem

2011-01-11 Thread Marco Hugentobler
> Not entirely correct. As QGIS works now, each new project > starts in Lon/Lat WGS84. If I all my layers are in the same > projected CRS I don't notice any problem *until* I want to > measure something ;-( True, your suggestion to add the possibility to set a default CRS for the map would be use

Re: [Qgis-developer] Unknown CRS problem

2011-01-11 Thread Paolo Cavallini
Il giorno mar, 11/01/2011 alle 11.05 +0200, Micha Silver ha scritto: > > So if they work without reprojection, everything works smoothly, and > > they do not see anything wrong with that. > > Not entirely correct. As QGIS works now, each new project > starts in Lon/Lat WGS84. If I all my layers

Re: [Qgis-developer] Unknown CRS problem

2011-01-11 Thread Micha Silver
On 11/01/2011 10:19, Paolo Cavallini wrote: Il giorno mar, 11/01/2011 alle 00.43 +0100, Martin Dobias ha scritto: Ideally if all the data from government is in the same CRS, no reprojecting will happen - because the project CRS will be the same as the CRS of individual layers (thus no warning w

Re: [Qgis-developer] Unknown CRS problem

2011-01-11 Thread Werner Macho
Hi! definitely correct .. speaking of my own experience it's not just keeping the data without the .prj files .. I've also seen a lot of companys (including governments) sending shape files just as the ".shp" And i always wonder how ArcGIS is the job of correctly open the files .. but thats an

[Qgis-developer] qgis debug dll

2011-01-11 Thread foktay
Hi, I'm new to QGIS. I'm trying to use it in a gt project created in visual studio. I'm just creating a qgsmapcanvas in order to display a raster map. In release mode everthing seems ok. However in debug mode, my application closes itself during qgsmapcanvas intitialization. I thought the reason i

Re: [Qgis-developer] Unknown CRS problem

2011-01-11 Thread Paolo Cavallini
Il giorno mar, 11/01/2011 alle 00.43 +0100, Martin Dobias ha scritto: > Ideally if all the data from government is in the same CRS, no > reprojecting will happen - because the project CRS will be the same as > the CRS of individual layers (thus no warning would be issued). The problem here is tha