[Qgis-developer] Script to convert metadata in html

2015-11-12 Thread Paolo Cavallini
Hi all, an interesting XSLT script to transform XML metadata in HTML: https://github.com/aperi2007/xslt-mtd2html all client side, without the need to load the metadata to a proper CSW server, etc. It can work one by one, or in batch. Perhaps worth adding it to QGIS? All the best. -- Paolo Cavallin

Re: [Qgis-developer] LANDSAT8 QGIS processing script

2015-11-12 Thread Alexander Bruy
Hi Jelmer, you can create pull-request to the QGIS-Processing repository, we review it and merge. Don't hesitate to ask if additional help is needed. Hope this helps. 2015-11-12 23:22 GMT+02:00 Jelmer Oosthoek : > Dear QGIS developers, > > > > Let me introduce myself as I am new to the list. I’

[Qgis-developer] LANDSAT8 QGIS processing script

2015-11-12 Thread Jelmer Oosthoek
Dear QGIS developers, Let me introduce myself as I am new to the list. I'm a planetary geologist and GIS specialist from the Netherlands. I'm involved in a PhD project on the one hand and I'm a freelancer on the other hand. For my PhD I mainly use ArcGIS+python, for my freelance work QGIS+pytho

Re: [Qgis-developer] rendering tests, what's the latest approach ?

2015-11-12 Thread Sandro Santilli
On Thu, Nov 12, 2015 at 05:01:21PM +0100, Matthias Kuhn wrote: > On 11/12/2015 04:48 PM, Sandro Santilli wrote: > > > > To be honest, I like the idea of rendering tests. I know they are > > fragile in their current incarnation, but being a graphical > > application having tests actually check what

[Qgis-developer] Rendering and Labeling Shapefile with PyQGIS

2015-11-12 Thread Zied Habtoul
Hello i use this function to take a shapefile, label it based on the specified attribute name, and render an image. but i get a white image. i use Qgis 2.12 . def quick_export(self): file = QgsVectorLayer("path to shapefile", "BMAS", "ogr") QgsMapLayerRegistry.instance().addMapLayer(fil

Re: [Qgis-developer] rendering tests, what's the latest approach ?

2015-11-12 Thread Matthias Kuhn
On 11/12/2015 04:48 PM, Sandro Santilli wrote: > On Thu, Nov 12, 2015 at 04:42:07PM +0100, Matthias Kuhn wrote: >> Simple answer: don't use rendering tests and find other means to check >> it ;-) > How could I check that an arror is not flipped and does not move > to the other side of the line ? No

Re: [Qgis-developer] rendering tests, what's the latest approach ?

2015-11-12 Thread Sandro Santilli
On Thu, Nov 12, 2015 at 04:42:07PM +0100, Matthias Kuhn wrote: > Simple answer: don't use rendering tests and find other means to check > it ;-) How could I check that an arror is not flipped and does not move to the other side of the line ? To be honest, I like the idea of rendering tests. I kno

Re: [Qgis-developer] rendering tests, what's the latest approach ?

2015-11-12 Thread Matthias Kuhn
Simple answer: don't use rendering tests and find other means to check it ;-) If you still need, use the MultiRenderChecker, it is based on the RenderChecker but adds more possibilities for anomalies. At least that's the latest state of rendering tests I'm aware of... Best On 11/12/2015 04:37 PM

[Qgis-developer] rendering tests, what's the latest approach ?

2015-11-12 Thread Sandro Santilli
I've found a bug in rendering line-offsetted marker line symbols [1] and wondering what's the currently recommended way to add a testcase. [1] http://hub.qgis.org/issues/13811 or https://github.com/qgis/QGIS/pull/2442 Looking around I see many test files using the QgsRenderChecker class in te

Re: [Qgis-developer] There is a way to eliminate the "Recent Projects" startup screen ?

2015-11-12 Thread Yves Jacolin
Hello, I agree that manual removing is a better choice. What if you moved the project file? You can choose to remove it from your "recent projects" or maybe change the path when double clicking on it, a windows dialog ask you to define the correct path, in the same way we can do it for layer.

Re: [Qgis-developer] There is a way to eliminate the "Recent Projects" startup screen ?

2015-11-12 Thread Paulo van Breugel
Yes, I hadn't thought about projects on network, good point. Adding a cross to easily remove them is a good idea. On Thu, Nov 12, 2015 at 1:13 PM, DelazJ wrote: > Hi, > Yes it would be nice to be able to remove them when no more useful or just > to hide them from people (as some stated) but don'

Re: [Qgis-developer] There is a way to eliminate the "Recent Projects" startup screen ?

2015-11-12 Thread DelazJ
Hi, Yes it would be nice to be able to remove them when no more useful or just to hide them from people (as some stated) but don't make it automatic. Sometimes, you may open QGIS without having access to the network where projects are available. Having them cleared just because you didn't check acc

Re: [Qgis-developer] There is a way to eliminate the "Recent Projects" startup screen ?

2015-11-12 Thread Paulo van Breugel
As mentioned before I think the new opening screen with recent projects is a great feature. However, an improvement would be to automatically remove the projects that cannot be found (greyed out ones) as suggested by Stefan. Or the option to manually remove them from the list? Moving them to the b

Re: [Qgis-developer] There is a way to eliminate the "Recent Projects" startup screen ?

2015-11-12 Thread Blumentrath, Stefan
Hi, R for example does save the “workspace” for a session on request, but I am not sure if this is so relevant for QGIS at all. Actually, IMHO much better to start an empty project by default than a (probably heavy) recent project one does not want to continue with. Something that might improv

Re: [Qgis-developer] There is a way to eliminate the "Recent Projects" startup screen ?

2015-11-12 Thread Matthias Kuhn
Are you sure that other programs save additional information just for the one last recent session (or even a memory dump)? I think it would be good in general to speed up project loading, I'm pretty sure there is room for improvement in performance there. But the bottleneck there will need to be p

Re: [Qgis-developer] There is a way to eliminate the "Recent Projects" startup screen ?

2015-11-12 Thread geodrinx
Inviato da iPhone > Il giorno 12 nov 2015, alle ore 11:02, Nathan Woodrow > ha scritto: > > Can't this already be done with the recent projects screen now? The top one > is the most recent. I know this. Sorry that my English is incomprehensible :( I was trying to explain that I think the

Re: [Qgis-developer] There is a way to eliminate the "Recent Projects" startup screen ?

2015-11-12 Thread Nathan Woodrow
Can't this already be done with the recent projects screen now? The top one is the most recent. - Open QGIS - Double click top item Done. - Nathan On Thu, Nov 12, 2015 at 7:41 PM, wrote: > I have a suggestion for the "open last project" at startup option choice. > In other programs where thi

Re: [Qgis-developer] There is a way to eliminate the "Recent Projects" startup screen ?

2015-11-12 Thread geodrinx
I have a suggestion for the "open last project" at startup option choice. In other programs where this usually happens ( iMovie, and other Apple programs, for example ) they save on exit also the memory status of the program ( i.e. the "display file" on gis or cad or 3d graphics) in way to hav

Re: [Qgis-developer] [Gfoss] There is a way to eliminate the "Recent Projects" startup screen ?

2015-11-12 Thread Luigi Pirelli
Me too On Wednesday, 11 November 2015, Michael Kirk wrote: > I prefer the new "recent projects" screen as opposed to a blank screen > or opening my "last project". > > As I bounce between a couple of projects from day to day, the list is > quite helpfule. > > Ranked by frequency, I'd estimate my