GeoServer Users:
Can SLD specify a PointSymbolizer Font, such as TrueType Font, as a Mark Graphic / Symbol?
Can you share SLD example for this case?
Rick Smith
GeoServer Users:
Can SLD specify a PointSymbolizer Font, such as TrueType Font, as a Mark Graphic / Symbol?
Can you share SLD example for this case?
Rick Smith
Smith, Richard C. ha scritto:
GeoServer Users:
Can SLD specify a PointSymbolizer Font, such as TrueType Font, as a Mark Graphic / Symbol?
Can you share SLD example for this case?
No, it's not possible at the moment. The SLD specification, as is, has no allowance for that. You can get away using a TextSymbolizer instead,
but that also means when symbols do overlap you'll only get one of
them renderer (label conflict resolution).
Cheers
Andrea
Andrea:
Thank you for your reply. TextSymbolizer was applied as a workaround
but, as you mentioned, has limitation with overlap.
The ability to exploit a variety of point symbol types is needed;
perhaps the SLD specification can be embellished and/or this capability
added to GeoServer.
Question: Is a "user-defined" Mark possible, that is, something other
than WellKnowName marks? If so, how would one accomplish that?
Thanks again,
Rick Smith
-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Sunday, December 02, 2007 3:50 AM
To: Smith, Richard C.
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] SLD PointSymbolizer Font
Smith, Richard C. ha scritto:
GeoServer Users:
Can SLD specify a PointSymbolizer Font, such as TrueType Font, as a
Mark
Graphic / Symbol?
Can you share SLD example for this case?
No, it's not possible at the moment. The SLD specification, as is, has
no allowance for that. You can get away using a TextSymbolizer instead,
but that also means when symbols do overlap you'll only get one of
them renderer (label conflict resolution).
Cheers
Andrea
Smith, Richard C. ha scritto:
Andrea:
Thank you for your reply. TextSymbolizer was applied as a workaround
but, as you mentioned, has limitation with overlap.The ability to exploit a variety of point symbol types is needed;
perhaps the SLD specification can be embellished and/or this capability
added to GeoServer.Question: Is a "user-defined" Mark possible, that is, something other
than WellKnowName marks? If so, how would one accomplish that?
As a user, it's not possible. As a programmer, yes, it is, but it
requires some days of development.
I'm discussing the topic on the geotools devel now, but since this
is something that I would do in my spare time I cannot promise
anything about its availability.
It won't be included in geoserver 1.6.0 for sure, we can hope for
1.6.1 maybe. If you're in a hurry and want it now I can suggest:
* do it yourself, if you can code (I can help you setup the
developer enviroment and the like)
* contract someone to do this development (for example TOPP,
the company I work for)
Cheers
Andrea
I also have this problem. SLD just have 7 choices for a PointSymbol.
Do you have any advice for developing it myself?
Thanks!
Smith, Richard C. wrote:
GeoServer Users:
Can SLD specify a PointSymbolizer Font, such as TrueType Font, as a Mark
Graphic / Symbol?
Can you share SLD example for this case?Rick Smith
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
View this message in context: http://www.nabble.com/SLD-PointSymbolizer-Font-tp14008865p14349888.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
telstar ha scritto:
I also have this problem. SLD just have 7 choices for a PointSymbol.
Do you have any advice for developing it myself?
If you just want more symbols you can also use .gif/.png files,
or .svg files, as symbols. That's what most people
did so far.
Cheers
Andrea
Qi Tian ha scritto:
Thanks a lot ! I have try png and svg files successfully.
Another problem: The size of symbols is fixed in SLD file?
I want to change is size accords to map scale. Any good idea?
Create multiple rules in the sld, each one using a different
min/max scale denominator range. See how you can change styling
according to scale in the tiger_roads style used in the
default geoserver distribution.
And oh, please don't write me personal mail, use the mailing
list.
Cheers
Andrea