The size information from the SLD file is only used if the size parameter
is omitted in your style. The whole point of using SVG is that it can be
scaled with no quality loss, so the size of the SVG file doesn't really
matter in that sense.
--
David Winslow
OpenGeo - http://opengeo.org/
On Mon, Jan 21, 2013 at 5:58 AM, Chris Haste <[email protected]> wrote:
> Thank you David.****
>
> ** **
>
> I will try this this morning.****
>
> ** **
>
> Another related question though. When I define an SVG symbol for use like
> this how big should the original symbol be or does it not matter and it is
> ‘tuned’ via the symbol size values in the SLD/CSS?****
>
> ** **
>
> *From:* David Winslow [mailto:[email protected]]
> *Sent:* 18 January 2013 15:26
> *To:* Chris Haste
> *Cc:* [email protected]
> *Subject:* Re: [Geoserver-users] Label shields as direction indicators****
>
> ** **
>
> I believe the shield will be rotated along with the text when you use
> <VendorOption name="followLine">true</VendorOption>****
>
> ** **
>
> If so, it seems that you can use select an icon based on the direction
> attribute. SVG icons would be good - when you have GeoServer manipulating
> your icons, storing them in a vector format helps to reduce visual
> artifacts. If SVG's not an option for whatever reason, using
> high-resolution icons can also help avoid problems.****
>
> ** **
>
> I've attached CSS (using the community module) and SVG examples, hope it
> helps.****
>
> ** **
>
> --****
>
> David Winslow****
>
> OpenGeo - http://opengoe.org/****
>
> ** **
>
> On Fri, Jan 18, 2013 at 7:06 AM, Chris Haste <[email protected]> wrote:
> ****
>
> Hello List,****
>
> ****
>
> I would like to be able to render road numbers inside a shield where the
> shield itself is used to indicate direction. I’m guessing that I would
> require 3 different shield symbols (SVG?), or possibly just two if one can
> be rotated. One symbol would be a rectangle with an arrow at each end
> (indicating bidirectional) the other(s) a rectangle with just the arrow at
> one end (indicating direction)****
>
> ****
>
> So, I have a couple of questions:****
>
> · Is this the correct approach for achieving this objective?****
>
> · How do you control the orientation of a label shield in order
> to have the arrow pointing in the correct direction?****
>
> ****
>
> The data has an attribute of Forward, Backward or Both relative to the
> order in which the line is defined.****
>
> ****
>
> Any helps or pointers greatly appreciated.****
>
> ****
>
> Thanks****
>
> ****
>
> Chris ****
>
> ****
>
> *** This communication has been sent from World Fuel Services
> Corporation or its subsidiaries or its affiliates for the intended
> recipient
> only and may contain proprietary, confidential or privileged information.
> If you are not the intended recipient, any review, disclosure, copying,
> use, or distribution of the information included in this communication
> and any attachments is strictly prohibited. If you have received this
> communication in error, please notify us immediately by replying to this
> communication and delete the communication, including any
> attachments, from your computer. Electronic communications sent to or
> from World Fuel Services Corporation or its subsidiaries or its affiliates
> may be monitored for quality assurance and compliance purposes.*******
>
>
>
> ------------------------------------------------------------------------------
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users****
>
> ** **
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users