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/ <http://blog.sourcepole.ch/2011/06/30/svg-symbols-in-qgis-with-modifiable-colors/> > Le 18 sept. 2015 à 14:42, Andreas Neumann <[email protected] > <mailto:[email protected]>> 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: > > <rect fill="param(fill) #ff0000" stroke="param(outline) #00ff00" > 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: > [email protected] <mailto:[email protected]> > > _______________________________________________ > Qgis-user mailing list > [email protected] <mailto:[email protected]> > 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 <[email protected]> >>> <mailto:[email protected]> 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. >> [email protected] <mailto:[email protected]> >>> >>> >>> >>> >>> _______________________________________________ >> http://lists.osgeo.org/mailman/listinfo/qgis-user >> <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 >> <http://lists.osgeo.org/mailman/listinfo/qgis-user>
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
