[QGIS-Developer] Plugin [296] bulkvectorexport approval notification.

2018-12-13 Thread noreply

Plugin bulkvectorexport approval by pcav.
The plugin version "[296] bulkvectorexport 1.0" is now approved
Link: http://plugins.qgis.org/plugins/BulkVectorExport/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1492] EcoValuator approval notification.

2018-12-13 Thread noreply

Plugin EcoValuator approval by pcav.
The plugin version "[1492] EcoValuator 2.0 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/ecovaluator/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] setDataDefinedProperty() for color doesnt work for QgsSvgMarkerSymbolLayerV2

2018-12-13 Thread Nyall Dawson
On Thu, 13 Dec 2018 at 23:35, M S.  wrote:

> ddpColor= QgsDataDefined( True, True, "CASE WHEN DATA % 3 = 0 then  
> color_rgb( 255,0,0) WHEN DATA % 3 = 1 then  color_rgb( 0,255,0) WHEN DATA % 3 
> = 2 then  color_rgb( 0,0,255) END" )

If you change this to expression to:

CASE WHEN "DATA" % 3 = 0 then  color_rgb( 255,0,0) WHEN "DATA" % 3 = 1
then  color_rgb( 0,255,0) WHEN "DATA" % 3 = 2 then  color_rgb(
0,0,255) END

does it help? (i.e. enclose the DATA column name in " )

Nyall
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Wrong line widths in legend when saving layout as pdf

2018-12-13 Thread Nyall Dawson
On Thu, 13 Dec 2018 at 18:44, Michel Stuyts  wrote:
>
> Maybe you changed the line weights option in AcroPlot Matrix. See 
> https://www.cadzation.com/help/matrix_lineweightsnotshowing.htm

Wow, great catch Michael! This was very close to being a unsolvable
bug report :)

Nyall

>
>
> Michel
>
> -Oorspronkelijk bericht-
> Van: QGIS-Developer [mailto:qgis-developer-boun...@lists.osgeo.org] Namens 
> magerlin
> Verzonden: woensdag 12 december 2018 23:10
> Aan: qgis-developer@lists.osgeo.org
> Onderwerp: Re: [QGIS-Developer] Wrong line widths in legend when saving 
> layout as pdf
>
> I have realized it depends on what PDF-viewer I use for seeing the results.
>
> In Adobe Reader the line widths are right, in Acroplot Matrix they are 
> wrong.???
>
> Have used Acroplt Matrix for a long time and never experienced this problem 
> before.
>
>
>
> -
> Regards Morten
>
> Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel Windows 7, 
> 64bit
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1584] agknow for QGIS approval notification.

2018-12-13 Thread noreply

Plugin agknow for QGIS approval by pcav.
The plugin version "[1584] agknow for QGIS 0.7.1" is now approved
Link: http://plugins.qgis.org/plugins/agknow_qgis/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS 3.4 - QWebView: Problem loading a website with javascript files

2018-12-13 Thread Matthias Kuhn
We had a similar issue and I first thought it's the same. However, since
you say it's remote content out solution probably does not apply to you.
I'll post it here anyway for other people following.

We had to provide paths (to local files) on windows with forward slashes
to get it to work again.

Before file://C:\some\path\index.html

After: file:///C:/some/path/index.html

Regards

Matthias

On 12/13/18 12:34 PM, Tom Chadwin wrote:
> The only other thing I'd check (but this is not a change from 3.2 to 3.4) is
> that you are using QgsNetworkAccessManager, to tolerate any upstream proxy
> issues. Beyond that, you'd have to check the logs of the webserver which
> holds the JS, to see what's happening there.
>
> Tom
>
>
>
> -
> Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-- 
Matthias Kuhn
matth...@opengis.ch 
+41 (0)76 435 67 63 
OPENGIS.ch Logo 
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] setDataDefinedProperty() for color doesnt work for QgsSvgMarkerSymbolLayerV2

2018-12-13 Thread M S.
Hello,
i have a script which works well and changes the pre-defined symbol
QuarterCircle's color and angle :

vLayer = QgsVectorLayer(uri, "myData" , "delimitedtext") #some vector layer

symbol = QgsSymbolV2.defaultSymbol(vLayer.geometryType())

simple_marker = QgsSimpleMarkerSymbolLayerV2()
simple_marker.setShape(QgsSimpleMarkerSymbolLayerBase.QuarterCircle )
simple_marker.setSize(6.0)

ddpAngle=QgsDataDefined( True, True, "Direction")
ddpColor= QgsDataDefined( True, True, "CASE WHEN DATA % 3 = 0 then
color_rgb( 255,0,0) WHEN DATA % 3 = 1 then  color_rgb( 0,255,0) WHEN
DATA % 3 = 2 then  color_rgb( 0,0,255) END" )
simple_marker .setDataDefinedProperty( "angle", ddpAngle)
simple_marker .setDataDefinedProperty( "color", ddpColor)

symbol.changeSymbolLayer(0,simple_marker)

vLayer.rendererV2().setSymbol(symbol)vLayer.triggerRepaint()


  Then i wanted to change the QgsSimpleMarkerSymbolLayerBase.QuarterCircle
symbol to a user defined .svg format symbol.

symbol = QgsSymbolV2.defaultSymbol(vLayer.geometryType())
svg_marker = QgsSvgMarkerSymbolLayerV2( 'D:\\sample.svg' )
svg_marker.setSize(12.0)
svg_marker.setOutlineWidth(0.25)
ddpAngle=QgsDataDefined( True, True, "Direction")
ddpColor= QgsDataDefined( True, True, "CASE WHEN DATA % 3 = 0 then
color_rgb( 255,0,0) WHEN DATA % 3 = 1 then  color_rgb( 0,255,0) WHEN
DATA % 3 = 2 then  color_rgb( 0,0,255) END" )
svg_marker.setDataDefinedProperty( "angle", ddpAngle)
svg_marker.setDataDefinedProperty( "color", ddpColor)

symbol.changeSymbolLayer(0,svg_marker)

vLayer.rendererV2().setSymbol(symbol) vLayer.triggerRepaint()

for this one it changes the angle but the color part doesnt work and all
the colors are black. Can you please help me to find the problem? or  Can
you please give an example portion of code that imports an svg and modify
its color according to some data belongs to a vector layer(data defined
override)?

Qgis Version : 2.18.22
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS 3.4 - QWebView: Problem loading a website with javascript files

2018-12-13 Thread Tom Chadwin
The only other thing I'd check (but this is not a change from 3.2 to 3.4) is
that you are using QgsNetworkAccessManager, to tolerate any upstream proxy
issues. Beyond that, you'd have to check the logs of the webserver which
holds the JS, to see what's happening there.

Tom



-
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS 3.4 - QWebView: Problem loading a website with javascript files

2018-12-13 Thread MaTho
Hello,

thanks for your support.

Yes, my website and the javascripfiles are on a remote server.
Unfortunately, I do not see any error message, no one in the dev tool and
nothing in the QGIS log.
What I see is that the script files are requested from the server, but not
loaded.

Could it be that the user agent has changed from WebView?





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Plugins website

2018-12-13 Thread Michel Stuyts
Yes, it works again.


Michel

-Oorspronkelijk bericht-
Van: QGIS-Developer [mailto:qgis-developer-boun...@lists.osgeo.org] Namens 
Richard Duivenvoorde
Verzonden: donderdag 13 december 2018 12:02
Aan: Alessandro Pasotti ; Richard Duivenvoorde 

CC: QGIS Developer Mailing List 
Onderwerp: Re: [QGIS-Developer] Plugins website

On 12/13/18 11:13 AM, Alessandro Pasotti wrote:
> On Thu, Dec 13, 2018 at 11:10 AM Richard Duivenvoorde 
> mailto:rdmaili...@duif.net>> wrote:
> 
> On 12/13/18 10:56 AM, Michel Stuyts wrote:
> > The plugins website https://plugins.qgis.org/ can’t find the Bootstrap
> > files (bootsrap.min.css, bootstrap-responsive.min.css,
> > bootstrap.min.js).  It makes some parts of the webpage show up on
> wrong
> > places. The same happens on all subpages.
> 
> Seems ok to me, as in I do not see missing resources in webdeveloper
> console?
> 
> It's not ok, this gives 404 for me too:
> https://plugins.qgis.org/static/bootstrap/js/bootstrap.min.js

Ok, should be fixed, please check.

Regards,

Richard
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Plugins website

2018-12-13 Thread Richard Duivenvoorde
On 12/13/18 11:13 AM, Alessandro Pasotti wrote:
> On Thu, Dec 13, 2018 at 11:10 AM Richard Duivenvoorde
> mailto:rdmaili...@duif.net>> wrote:
> 
> On 12/13/18 10:56 AM, Michel Stuyts wrote:
> > The plugins website https://plugins.qgis.org/ can’t find the Bootstrap
> > files (bootsrap.min.css, bootstrap-responsive.min.css,
> > bootstrap.min.js).  It makes some parts of the webpage show up on
> wrong
> > places. The same happens on all subpages.
> 
> Seems ok to me, as in I do not see missing resources in webdeveloper
> console?
> 
> It's not ok, this gives 404 for me too:
> https://plugins.qgis.org/static/bootstrap/js/bootstrap.min.js

Ok, should be fixed, please check.

Regards,

Richard
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1583] QVisualize approval notification.

2018-12-13 Thread noreply

Plugin QVisualize approval by pcav.
The plugin version "[1583] QVisualize 0.5" is now approved
Link: http://plugins.qgis.org/plugins/QVisualize/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Plugins website

2018-12-13 Thread Alessandro Pasotti
On Thu, Dec 13, 2018 at 11:10 AM Richard Duivenvoorde 
wrote:

> On 12/13/18 10:56 AM, Michel Stuyts wrote:
> > The plugins website https://plugins.qgis.org/ can’t find the Bootstrap
> > files (bootsrap.min.css, bootstrap-responsive.min.css,
> > bootstrap.min.js).  It makes some parts of the webpage show up on wrong
> > places. The same happens on all subpages.
>
> Seems ok to me, as in I do not see missing resources in webdeveloper
> console?
>
>

It's not ok, this gives 404 for me too:
https://plugins.qgis.org/static/bootstrap/js/bootstrap.min.js


-- 
Alessandro Pasotti
w3:   www.itopen.it
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Plugins website

2018-12-13 Thread Richard Duivenvoorde
On 12/13/18 10:56 AM, Michel Stuyts wrote:
> The plugins website https://plugins.qgis.org/ can’t find the Bootstrap
> files (bootsrap.min.css, bootstrap-responsive.min.css,
> bootstrap.min.js).  It makes some parts of the webpage show up on wrong
> places. The same happens on all subpages.

Seems ok to me, as in I do not see missing resources in webdeveloper
console?

Regards,
Richard Duivenvoorde
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugins website

2018-12-13 Thread Michel Stuyts
The plugins website https://plugins.qgis.org/ can't find the Bootstrap files 
(bootsrap.min.css, bootstrap-responsive.min.css, bootstrap.min.js).  It makes 
some parts of the webpage show up on wrong places. The same happens on all 
subpages.


Michel


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS 3.4 - QWebView: Problem loading a website with javascript files

2018-12-13 Thread Tom Chadwin
Hi Marcus

I use QWebView a lot, and my JS is working fine in 3.4 on Windows. Is the
difference that mine is loading local JS files, but yours are remote? What
specific errors are you seeing in the dev tools - both the console and the
Network tab? Any errors in the QGIS log?

Tom



-
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1583] QVisualize approval notification.

2018-12-13 Thread noreply

Plugin QVisualize approval by pcav.
The plugin version "[1583] QVisualize 0.4" is now approved
Link: http://plugins.qgis.org/plugins/QVisualize/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Wrong line widths in legend when saving layout as pdf

2018-12-13 Thread magerlin
You saved my day :-)

I must accidently have hit CTRL+5 in Acroplot Matrix which I can read turns
line weights on/off.

I did not know of such an option and would never have found it!

Line widths are back :-)





-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Wrong line widths in legend when saving layout as pdf

2018-12-13 Thread Michel Stuyts
Maybe you changed the line weights option in AcroPlot Matrix. See 
https://www.cadzation.com/help/matrix_lineweightsnotshowing.htm


Michel

-Oorspronkelijk bericht-
Van: QGIS-Developer [mailto:qgis-developer-boun...@lists.osgeo.org] Namens 
magerlin
Verzonden: woensdag 12 december 2018 23:10
Aan: qgis-developer@lists.osgeo.org
Onderwerp: Re: [QGIS-Developer] Wrong line widths in legend when saving layout 
as pdf

I have realized it depends on what PDF-viewer I use for seeing the results.

In Adobe Reader the line widths are right, in Acroplot Matrix they are 
wrong.???

Have used Acroplt Matrix for a long time and never experienced this problem 
before.



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.4.2 in parallel Windows 7, 
64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer