[Qgis-developer] Plugin [740] qgis2web approval notification.

2016-07-07 Thread noreply

Plugin qgis2web approval by pcav.
The plugin version "[740] qgis2web 1.11.0" is now approved
Link: http://plugins.qgis.org/plugins/qgis2web/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Plugin [1044] Gimp Selection Feature approval notification.

2016-07-07 Thread noreply

Plugin Gimp Selection Feature approval by pcav.
The plugin version "[1044] Gimp Selection Feature 0.4 Experimental" is now 
approved
Link: http://plugins.qgis.org/plugins/gimpselectionfeature_plugin/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Updating contributors.json

2016-07-07 Thread Tim Sutton
Hi All

Especially newer contributors - have you added yourself to our contributors map 
and lists? With 12 hours left to go before QGIS 2.16 gets branched, its not too 
late to get yourself in there!

* doc/contributors.json : a geojson doc with a list of anyone who has ever made 
a code / documentation or similar contribution to QGIS. Nice map view of this 
here: https://github.com/qgis/QGIS/blob/master/doc/contributors.json

* doc/CONTRIBUTORS : an alphabetical list of anyone who has ever materially 
contributed to the QGIS project

* doc/AUTHORS : a list of all people with Git commit rights (or who 
historically had in the past)


Have fun!

Regards

Tim
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] How to detect a categorized/graduated 2.5D layer in Python

2016-07-07 Thread Tom Chadwin
I just thought a version check would be even more efficient than the other
methods, so it would be good to try it first. If the user is in fact a
wizard, there's always `import antigravity`.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-to-detect-a-categorized-graduated-2-5D-layer-in-Python-tp5275092p5275253.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Update downloadable scripts from Processing

2016-07-07 Thread Victor Olaya
if  they are in the repo, they should be available, sice Processing
connects directly to it

Maybe version numbers are wrong?

2016-07-06 15:09 GMT+02:00 matteo :
> Hi all,
>
> I had a quick look at the download R script tool in Processing and I
> noticed that some scripts that are in the gh repo (and merged months
> ago) are not available for the download..
>
> Is there something wrong or am I missing something?
>
> Best
>
> Matteo
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] How to detect a categorized/graduated 2.5D layer in Python

2016-07-07 Thread Matthias Kuhn
Depending on how you build the checks you can even skip the version test.

I.e. if somebody manages to put a GeometryGenerator into an older
project he has at least earned wizard-status.
And you wouldn't want to prevent a wizard from doing his job, would you?

Matthias

On 07/07/2016 04:36 PM, Tom Chadwin wrote:
> Great. I'll do something like that, perhaps preceded by "if QGIS version <
> 2.14, it's not 2.5D".
> 
> Thanks
> 
> Tom
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/How-to-detect-a-categorized-graduated-2-5D-layer-in-Python-tp5275092p5275191.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Attribution for QGIS sample data

2016-07-07 Thread Tom Chadwin
We might be talking about different things. I have used that data for
instructional screenshots at https://github.com/tomchadwin/qgis2web/wiki.
I'd like to acknowledge the data if appropriate, and was wondering if there
was accepted attribution text for that dataset.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Attribution-for-QGIS-sample-data-tp5274767p5275196.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] How to detect a categorized/graduated 2.5D layer in Python

2016-07-07 Thread Tom Chadwin
Great. I'll do something like that, perhaps preceded by "if QGIS version <
2.14, it's not 2.5D".

Thanks

Tom



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-to-detect-a-categorized-graduated-2-5D-layer-in-Python-tp5275092p5275191.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS plugin for "SENSUM" project

2016-07-07 Thread Geo DrinX
2016-07-07 2:23 GMT+02:00 Tim Sutton :

> Hi
>
> On 06 Jul 2016, at 8:17 AM, Geo DrinX  wrote:
>
> Hello All,
>
> I have seen this, and I found interesting:
>
> http://vimeo.com/113487872
>
> http://www.sensum-project.eu/
>
> http://plugins.qgis.org/plugins/sensum_eo_tools/
>
>
> someone knows something more ?
>
>
> No but I would also be interested to know more about it so please share if
> you make contact with the devs!
>


Well, sure I need to contact them, to have assistance about how to install
OpenCV (and others) python library.  Perhaps, you know this ?  I am
following infos in
.qgis2\python\plugins\sensum_eo_tools\QGIS Plugin - Installation Guide.txt

 but it reports  (amd64)  and   OSGeo4W64, and I have  standalone QGIS...

BTW, I will report you my results.


Roberto





> Regards
>
> Tim
>
>
>
> Thank you for any other info about this.
>
> Regards
>
> Roberto
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] How to detect a categorized/graduated 2.5D layer in Python

2016-07-07 Thread Matthias Kuhn
Hi Tom

On 07/07/2016 01:35 PM, Tom Chadwin wrote:
> Matthias Kuhn-2 wrote
>> Or directly the symbols defined on the layer?
> 
> What do you mean? Can you retrieve all symbols used by a layer without
> iterating through all the features? In the 2.5D renderer, if height is set
> by an expression, and hence all features have different values, how many
> symbols does this count as?

I thought maybe it would be worth checking

layer.rendererV2()

and then

for categorized iterate

renderer.categories()

for graduated traverse

renderer.rootRule()

for simple

renderer.symbol()

and for the rest fallback to some generic code (or bail out).

As long as you are only interested in the definition and not in real,
calculated height values that should do I guess.

-- Matthias

> 
> Thanks
> 
> Tom
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/How-to-detect-a-categorized-graduated-2-5D-layer-in-Python-tp5275092p5275136.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] How to detect a categorized/graduated 2.5D layer in Python

2016-07-07 Thread Tom Chadwin
Matthias Kuhn-2 wrote
> Or directly the symbols defined on the layer?

What do you mean? Can you retrieve all symbols used by a layer without
iterating through all the features? In the 2.5D renderer, if height is set
by an expression, and hence all features have different values, how many
symbols does this count as?

Thanks

Tom



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-to-detect-a-categorized-graduated-2-5D-layer-in-Python-tp5275092p5275136.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Set Composer scale with pyqgis

2016-07-07 Thread boesiii
Try:

map_item.setNewScale(canvas.scale())



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Set-Composer-scale-with-pyqgis-tp5275120p5275129.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Set Composer scale with pyqgis

2016-07-07 Thread roy roy
Hi, I'm trying to print a map using pyqgis and an existing template:

# i already loaded a layer and zoomed to the layer:

qgis.utils.iface.zoomToActiveLayer()

# now i need to zoom to a "precise" scale
canvas = qgis.utils.iface.mapCanvas()
canvas.zoomScale(2500) # this works for the canvas not in the composer

# load the template
template_file = file(template_path)
template_content = template_file.read()
template_file.close()
document = QDomDocument()
document.setContent(template_content)
composition = QgsComposition(canvas.mapSettings())
composition.loadFromTemplate(document)
map_item = composition.getComposerItemById('map')
map_item.setMapCanvas(canvas)

# at this point i need to set the extent to fit the layer
map_item.zoomToExtent(canvas.extent()) # this will not be in scale 2500 
of course

now i need the scale to be say 2500 but i cannot find how to
set the value

thanks for any help, Roy

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] How to detect a categorized/graduated 2.5D layer in Python

2016-07-07 Thread Matthias Kuhn
Hi Tom,

On 07/07/2016 10:12 AM, Tom Chadwin wrote:
> So you can use a 2.5D renderer, then change to eg categorized or graduated,
> and the stack of geometry generators (shadow, walls, roof) remains in place.
> I have to detect these latter types of renderers in Python. I do so by
> looking for that signature stack of symbol layers. This works.
> 
> However, I loop through every feature in a layer when doing this check, my
> vague thought being that some features might have different symbology, but
> that others might still be derived from 2.5D. The problem I have is that
> this slows things down to a crawl, with multiple layers and many features.
> 
> Therefore:
> 
> 1. Is it overkill to loop through all features - should I just check the
> first feature in each layer?

Or directly the symbols defined on the layer?
You could implemente the logic for graudated and rule based and if this
fails fallback to the current approach.

> 
> 2. Does anyone have a more efficient way of detecting these "derived from
> 2.5D" renderers?

The other thing I can think of is taking the layer variables as hint but
that's really brittle.

Matthias


> 
> Thanks
> 
> Tom
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/How-to-detect-a-categorized-graduated-2-5D-layer-in-Python-tp5275092.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Crash in current QGIS 2.14 on right-click on geometry-less layer

2016-07-07 Thread Daan Goedkoop
Hello,

I'm not sure if this warrants a complete bug-report and/or PR thing,
but the current version of the release-2_14 branch crashes when you
right-click on a data layer. I think it is quite essential that this
is fixed before 2.14.4.

The following commit fixes this in master and should probably be back-ported:

054604b fix crash when right-clicking on geometryless layers

Kind regards,
Daan.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] How to detect a categorized/graduated 2.5D layer in Python

2016-07-07 Thread Tom Chadwin
So you can use a 2.5D renderer, then change to eg categorized or graduated,
and the stack of geometry generators (shadow, walls, roof) remains in place.
I have to detect these latter types of renderers in Python. I do so by
looking for that signature stack of symbol layers. This works.

However, I loop through every feature in a layer when doing this check, my
vague thought being that some features might have different symbology, but
that others might still be derived from 2.5D. The problem I have is that
this slows things down to a crawl, with multiple layers and many features.

Therefore:

1. Is it overkill to loop through all features - should I just check the
first feature in each layer?

2. Does anyone have a more efficient way of detecting these "derived from
2.5D" renderers?

Thanks

Tom



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-to-detect-a-categorized-graduated-2-5D-layer-in-Python-tp5275092.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Searching for a reviewer

2016-07-07 Thread Zoran Čučković
Thanks a lot : that was quick!

Yes, I would be glad to have a reviewer. I think the best would be that you
just announce at the comments thread :
https://github.com/openjournals/joss-reviews/issues/32 (you need a github
account..).

You can write to me, or you can just post comments over github - as with
other submissions.

Best regards,
Zoran

2016-07-07 9:29 GMT+02:00 G. Allegri :

> Hi Zoran,
> if you want I can review it.
> In case we can write privately.
>
> Cheers,
> giovanni
> Il 07/lug/2016 9:23 AM, "Zoran Čučković"  ha
> scritto:
>
>> Hello!
>>
>> I'm the author of viewshed analysis plugin for QGIS (
>> https://plugins.qgis.org/plugins/ViewshedAnalysis/). I have recently
>> submitted the software to the fresh "Journal of open source software"
>> http://joss.theoj.org/  - but which is in pain to find a reviewer. Would
>> there be anyone interested ? (thread with comments : 
>> https://github.com/openjournals/joss-reviews/issues/32,
>> paper :
>> http://joss.theoj.org/papers/a8f76eeda4f92e7d641757dd0d7ed7f5)
>> 
>>
>> The journal is "developer friendly" meaning that we publish the software
>> (with accompanying documentation), not a case study, algorithms,
>> performance testing, or what not.
>>
>> Thanks community,
>>
>> --
>> Zoran Čučković
>> zoran-cuckovic.from.hr
>>
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>


-- 
Zoran Čučković
zoran-cuckovic.from.hr
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Searching for a reviewer

2016-07-07 Thread G. Allegri
Hi Zoran,
if you want I can review it.
In case we can write privately.

Cheers,
giovanni
Il 07/lug/2016 9:23 AM, "Zoran Čučković"  ha
scritto:

> Hello!
>
> I'm the author of viewshed analysis plugin for QGIS (
> https://plugins.qgis.org/plugins/ViewshedAnalysis/). I have recently
> submitted the software to the fresh "Journal of open source software"
> http://joss.theoj.org/  - but which is in pain to find a reviewer. Would
> there be anyone interested ? (thread with comments : 
> https://github.com/openjournals/joss-reviews/issues/32,
> paper :
> http://joss.theoj.org/papers/a8f76eeda4f92e7d641757dd0d7ed7f5)
> 
>
> The journal is "developer friendly" meaning that we publish the software
> (with accompanying documentation), not a case study, algorithms,
> performance testing, or what not.
>
> Thanks community,
>
> --
> Zoran Čučković
> zoran-cuckovic.from.hr
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Searching for a reviewer

2016-07-07 Thread Zoran Čučković
Hello!

I'm the author of viewshed analysis plugin for QGIS (
https://plugins.qgis.org/plugins/ViewshedAnalysis/). I have recently
submitted the software to the fresh "Journal of open source software"
http://joss.theoj.org/  - but which is in pain to find a reviewer. Would
there be anyone interested ? (thread with comments :
https://github.com/openjournals/joss-reviews/issues/32,
paper :
http://joss.theoj.org/papers/a8f76eeda4f92e7d641757dd0d7ed7f5)


The journal is "developer friendly" meaning that we publish the software
(with accompanying documentation), not a case study, algorithms,
performance testing, or what not.

Thanks community,

-- 
Zoran Čučković
zoran-cuckovic.from.hr
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Animated gif support now in changelog

2016-07-07 Thread Tim Sutton
Hi
> On 07 Jul 2016, at 7:29 AM, Neumann, Andreas  wrote:
> 
> Hi Tim,
> 
> Nathan also recommended me LICEcap. It is easy to use and works well. The 
> only drawback is that sometimes it creates white artefacts when you move the 
> mouse (see f.e. 
> http://changelog.qgis.org/media/images/entries/4ac86473163c0b1e322343de1e4013262c2492ce.gif
>  
> 
>  or 
> http://changelog.qgis.org/media/images/entries/f8297ba9ee600c3d41114db96f56b00bb278ba4e.gif
>  
> )
>  - not a big issue. Only minor annoyance.
> 
> 

Yes I saw those too but didn't spend any time trying to resolve them as they 
don't detract too much from the information being imparted I think.

> Thanks - btw - for the "Click to play" buttons. It is much better now!
> 
> 

Great!

Regards

Tim

> Andreas
> 
> On 2016-07-07 01:49, Tim Sutton wrote:
> 
>> Hi
>>  
>> 
>> On 06 Jul 2016, at 12:46 PM, Neumann, Andreas > > wrote:
>> Hi Tim,
>> 
>> Can you please share what a recommended screen-recording tool would be that 
>> can record a session to an animated gif? Or would I first create another 
>> format and then convert to animated gif?
>> 
>> So far, I did only static screenshots and overlayed them in Inkscape, so I 
>> am new to this ...
>> 
>>  
>>  
>> Windows and OSX: http://www.cockos.com/licecap/ 
>>  (Free, GPL)
>> Linux: https://github.com/colinkeenan/silentcast/#silentcast 
>>  looks good (haven't 
>> tried it - maybe others can recommend their favourite)
>>  
>> Regards
>>  
>> Tim
>> 
>> Thanks,
>> 
>> Andreas
>> 
>> On 2016-06-13 22:43, Tim Sutton wrote:
>> 
>> Hi All
>>  
>> Just a note for those helping to add entries to the visual changelog 
>> (http://changelog.qgis.org/en/qgis/version/2.16.0/ 
>> ): we now support 
>> uploading animated gif's. See Matthias's entry "New configuration options 
>> for attribute table" - I have added a small example there. It would be great 
>> if you could use your favourite gif tool to make little animations of new 
>> features. If you need any help getting logged in / entry creation 
>> permissions, please pop me a note.
>>  
>> Thanks
>>  
>> Tim
>> 
>> ---
>>  
>> Tim Sutton
>> QGIS Project Steering Committee Chair
>> t...@qgis.org 
>>  
>> 
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org 
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer 
>> 
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer 
>> 
>>  
>>  
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org 
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>  
>  
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer