Re: [Qgis-user] SVG borders with data defined override in Postgis layer

2015-09-18 Thread didier peeters
I can refine my description : 

the problem occurs on the border width only, the border color works fine.  

Still, no one has ever met this problem ?

Didier


> Le 17 sept. 2015 à 22:37, didier peeters  a écrit :
> 
> Hello,
> 
> I have a problem with the border parameter of SVG markers in QGis 2.10 (on 
> Mac OS 10.10.5); I’m using PostGIS layers and the SVG markers properties are 
> determined by the DB, i.e. the svg itself, the color, the rotation, with data 
> define override.  I also want to define the border color and width the same 
> way but it doesn’t work, nothing happens.  If I deactivate the overriding 
> everything is correct.  
> For the color I use a varchar type (same as for the color of the svg itself) 
> and for the width a numeric (also tried real, double precision, …) .
> 
> I haven’t found any bug report about this.  Any idea ?
> 
> Didier
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] SVG borders with data defined override in Postgis layer

2015-09-18 Thread Andreas Neumann

Hi Didier,

Did you prepare your SVG file accordingly?

You need something like the following in your SVG file wherever you want 
to dynamically replace properties:


|stroke-width="param(stroke-width) 10" width="100" height="100"> See also 
http://blog.sourcepole.ch/2011/06/30/svg-symbols-in-qgis-with-modifiable-colors/ 
|


Can you share your SVG file so I can have a look if it is properly prepared?

Andreas

On 18.09.2015 14:36, didier peeters wrote:

I can refine my description :

the problem occurs on the border width only, the border color works fine.

Still, no one has ever met this problem ?

Didier



Le 17 sept. 2015 à 22:37, didier peeters  a écrit :

Hello,

I have a problem with the border parameter of SVG markers in QGis 2.10 (on Mac 
OS 10.10.5); I’m using PostGIS layers and the SVG markers properties are 
determined by the DB, i.e. the svg itself, the color, the rotation, with data 
define override.  I also want to define the border color and width the same way 
but it doesn’t work, nothing happens.  If I deactivate the overriding 
everything is correct.
For the color I use a varchar type (same as for the color of the svg itself) 
and for the width a numeric (also tried real, double precision, …) .

I haven’t found any bug report about this.  Any idea ?

Didier
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] SVG borders with data defined override in Postgis layer

2015-09-18 Thread didier peeters
Hi Andreas, 

yes, I can define a border width ‘manually’ in the styling of the layer, but I 
cannot override this with a value from Postgis.
I will send you a svg.

Didier



See also 
http://blog.sourcepole.ch/2011/06/30/svg-symbols-in-qgis-with-modifiable-colors/
 


> Le 18 sept. 2015 à 14:42, Andreas Neumann  > a écrit :
> 
> Hi Didier,
> 
> Did you prepare your SVG file accordingly?
> 
> You need something like the following in your SVG file wherever you want to 
> dynamically replace properties:
> 
>  stroke-width="param(stroke-width) 10" width="100" height="100">
> 
> Can you share your SVG file so I can have a look if it is properly prepared?
> 
> Andreas
> 
> On 18.09.2015 14:36, didier peeters wrote:
> Qgis-user@lists.osgeo.org 
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>> I can refine my description : 
>> the problem occurs on the border width only, the border color works fine.  
>> 
>>> 
>>> 
>>> Still, no one has ever met this problem ?
>>> 
>>> Didier
>>> 
>>> Le 17 sept. 2015 à 22:37, didier peeters  
>>>  a écrit :
>>> I have a problem with the border parameter of SVG markers in QGis 2.10 (on 
>>> Mac OS 10.10.5); I’m using PostGIS layers and the SVG markers properties 
>>> are determined by the DB, i.e. the svg itself, the color, the rotation, 
>>> with data define override. I also want to define the border color and width 
>>> the same way but it doesn’t work, nothing happens.  If I deactivate the 
>>> overriding everything is correct.  
>> Qgis-user@lists.osgeo.org 
>>> 
>>> 
>>> 
>>> 
>>> ___
>> http://lists.osgeo.org/mailman/listinfo/qgis-user 
>> 
>>> Hello,
>>> I haven’t found any bug report about this. Any idea ?
>>> Qgis-user mailing list
 For the color I use a varchar type (same as for the color of the svg 
 itself) and for the width a numeric (also tried real, double precision, …) 
 .
 Didier
>> ___
>> Qgis-user mailing list
>> http://lists.osgeo.org/mailman/listinfo/qgis-user 
>> 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] SVG borders with data defined override in Postgis layer

2015-09-18 Thread Andreas Neumann

Hi Didier,

I had a quick check with QGIS 2.10 and QGIS master. While overriding of 
stroke-color works fine, the overriding of the stroke-width 
(param(outline-width)) is broken in both versions. As far as I can tell 
your SVG symbol seems to be properly prepared.


Can you please open a bug report for this and attach a simple demo 
project and your SVG file?


Thanks,
Andreas

On 18.09.2015 14:57, didier peeters wrote:

Hi Andreas,

yes, I can define a border width ‘manually’ in the styling of the 
layer, but I cannot override this with a value from Postgis.

I will send you a svg.

Didier



See also 
http://blog.sourcepole.ch/2011/06/30/svg-symbols-in-qgis-with-modifiable-colors/


Le 18 sept. 2015 à 14:42, Andreas Neumann > a écrit :


Hi Didier,

Did you prepare your SVG file accordingly?

You need something like the following in your SVG file wherever you 
want to dynamically replace properties:


stroke-width="param(stroke-width) 10" width="100" height="100">
Can you share your SVG file so I can have a look if it is properly 
prepared?


Andreas

On 18.09.2015 14:36, didier peeters wrote:
Qgis-user@lists.osgeo.org

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org 
http://lists.osgeo.org/mailman/listinfo/qgis-user

I can refine my description :
the problem occurs on the border width only, the border color works 
fine.

Still, no one has ever met this problem ?

Didier

Le 17 sept. 2015 à 22:37, didier peeters  a écrit :
I have a problem with the border parameter of SVG markers in QGis 
2.10 (on Mac OS 10.10.5); I’m using PostGIS layers and the SVG 
markers properties are determined by the DB, i.e. the svg itself, 
the color, the rotation, with data define override. I also want to 
define the border color and width the same way but it doesn’t work, 
nothing happens. If I deactivate the overriding everything is correct.

Qgis-user@lists.osgeo.org




___

http://lists.osgeo.org/mailman/listinfo/qgis-user

Hello,
I haven’t found any bug report about this. Any idea ?
Qgis-user mailing list

For the color I use a varchar type (same as for the color of the svg itself) 
and for the width a numeric (also tried real, double precision, …) .
Didier

___
Qgis-user mailing list
http://lists.osgeo.org/mailman/listinfo/qgis-user




___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user