Re: [Qgis-user] Font Markers
Hi Grant, I checked with "Font Markers" and it seems like the "Font family" is the only parameter that isn't data-defined ;-( I don't know why. But if you use "Labels" combined with the "no symbol" renderer you can easily simulate that. With labels you can data-define both the "Font", but also the label content (glyph). If you use "offset from point" in the "placement" setting and use the center, it should appear exactly at the points location. Hope this helps, Andreas On 2016-08-29 09:44, Grant Boxer wrote: > Hi Andreas, > > They may be different font sets, and I think, I may be wrong, that the font > codes are not unique and that you probably need to specify the font and the > symbol code. Perhaps I am making this too complicated. The easiest way is to > have a layer for each font symbol, but then you end up with many layers. > > I have used the svg file names in the data override option to select > different svg markers, but I was wondering if this works for font symbols as > well. > > Cheers Grant > > FROM: Neumann, Andreas [mailto:a.neum...@carto.net] > SENT: Monday, 29 August 2016 3:17 PM > TO: Grant Boxer > CC: QGIS User List > SUBJECT: Re: [Qgis-user] Font Markers > > On 2016-08-29 09:14, Neumann, Andreas wrote: > >> Hi Grant, >> >> I assume that all of your symbols are within the same font - correct? >> >> If yes, if you open the font in your operating system font viewer you will >> see each symbol and what character it is representing. You can then use this >> character either in classified rendereres, rule-based renderers or in a QGIS >> expression, e.g. with a CASE statement. You enter the chosen character in >> "Layer properties" --> "Labels" --> "Label with". > > or in your case probably you want to use it directly as a marker: "Layer > properties" --> Style --> Marker --> Font Marker --> Chose a character > interactively or use a data-defined expression. > > > > Please consult the styling chapter of the QGIS manual for more details: > http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#style-menu > [1]- it helps you get going. > > And: please do not forget to cc the Qgis-user@lists.osgeo.org mailing list if > you correspond with people. Otherwise only you see the responses and the rest > of the world can't read/contribute to the issue. > > Greetings, > > Andreas > > On 2016-08-29 08:50, Grant Boxer wrote: Links: -- [1] http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#style-menu___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Font Markers
On 2016-08-29 09:14, Neumann, Andreas wrote: > Hi Grant, > > I assume that all of your symbols are within the same font - correct? > > If yes, if you open the font in your operating system font viewer you will > see each symbol and what character it is representing. You can then use this > character either in classified rendereres, rule-based renderers or in a QGIS > expression, e.g. with a CASE statement. You enter the chosen character in > "Layer properties" --> "Labels" --> "Label with". or in your case probably you want to use it directly as a marker: "Layer properties" --> Style --> Marker --> Font Marker --> Chose a character interactively or use a data-defined expression. > > > Please consult the styling chapter of the QGIS manual for more details: > http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#style-menu > [1]- it helps you get going. > > And: please do not forget to cc the Qgis-user@lists.osgeo.org mailing list if > you correspond with people. Otherwise only you see the responses and the rest > of the world can't read/contribute to the issue. > > Greetings, > > Andreas > > On 2016-08-29 08:50, Grant Boxer wrote: > >> Links: -- [1] http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#style-menu___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Font Markers
Hi Grant, I assume that all of your symbols are within the same font - correct? If yes, if you open the font in your operating system font viewer you will see each symbol and what character it is representing. You can then use this character either in classified rendereres, rule-based renderers or in a QGIS expression, e.g. with a CASE statement. You enter the chosen character in "Layer properties" --> "Labels" --> "Label with". Please consult the styling chapter of the QGIS manual for more details: http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#style-menu [1]- it helps you get going. And: please do not forget to cc the Qgis-user@lists.osgeo.org mailing list if you correspond with people. Otherwise only you see the responses and the rest of the world can't read/contribute to the issue. Greetings, Andreas On 2016-08-29 08:50, Grant Boxer wrote: > Hi Andreas, > > I was wondering if I can use different font symbols in the same point file, > defined by the data-defined properties. How do I reference the individual > font symbols? For example, if I have a point file that contains bedding data > and joint data, can I get QGIS to allocate the appropriate font symbol to > each data type (i.e. font symbol "a" for bedding and font symbol "b" for > joints)? Is there say an ASCII code? > > I hope that makes sense! > > Cheers Grant > > Grant Boxer > > Consultant Geologist (_FAIG R.P. Geo_) > > Perth, Western Australia > > Email: box...@iinet.net.au > > Mobile: 0418 954 059 > > Skype: grantboxer > > Website: www.iinet.net.au/~gboxer > > FROM: Neumann, Andreas [mailto:a.neum...@carto.net] > SENT: Monday, 29 August 2016 2:03 PM > TO: Grant Boxer > CC: qgis-user@lists.osgeo.org > SUBJECT: Re: [Qgis-user] Font Markers > > Hi Grant, > > Are you talking about different glyphs in a single font or that every marker > resides is in a different font? > > Both would be possible using data-defined properties. But it would be easier > to maintain and probably also faster/more efficient if you use just a single > font and just change the glyph. > > You use data-defined columns or expressions using this button, which is next > to every property in QGIS styling and labeling: > http://docs.qgis.org/2.14/en/_images/mIconDataDefine.png > > Please read in the QGIS manual about the data-defined properties to > understand the concept. See > http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#data-defined-labeling > > > Greetings, > > Andreas > > On 2016-08-26 16:00, Grant Boxer wrote: > >> I have a series of points in one layer that I want to mark with different >> font markers. Is there a way I can do this by "defining" a font description >> in a "font number/id" column? >> >> Grant Boxer >> >> Perth, Western Australia >> >> ___ >> Qgis-user mailing list >> Qgis-user@lists.osgeo.org >> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user >> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user Links: -- [1] http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#style-menu___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Font Markers
Hi Grant, Are you talking about different glyphs in a single font or that every marker resides is in a different font? Both would be possible using data-defined properties. But it would be easier to maintain and probably also faster/more efficient if you use just a single font and just change the glyph. You use data-defined columns or expressions using this button, which is next to every property in QGIS styling and labeling: http://docs.qgis.org/2.14/en/_images/mIconDataDefine.png Please read in the QGIS manual about the data-defined properties to understand the concept. See http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/vector_properties.html#data-defined-labeling Greetings, Andreas On 2016-08-26 16:00, Grant Boxer wrote: > I have a series of points in one layer that I want to mark with different > font markers. Is there a way I can do this by "defining" a font description > in a "font number/id" column? > > Grant Boxer > > Perth, Western Australia > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Font Markers
I think you can make a label for the point layer.properties->labels->show label for this layer.you should add a column.the value maybe drawable text.then use the specify font.You will get font markers.But a layer may draw with one font. 2016-08-29 zhangkai.gis From:"Grant Boxer" Date:2016-08-26 22:00 Subject:[Qgis-user] Font Markers To:"qgis-user" Cc: I have a series of points in one layer that I want to mark with different font markers. Is there a way I can do this by “defining” a font description in a “font number/id” column? Grant Boxer Perth, Western Australia ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user