Hi Jonathan,

It isn't a fixed value. The offset seems related to the zoom. As I zoom in the 
symbols moves closer and closer to where it should be and as I zoom out it 
moves further away!

I'm sure this is something obvious and that I'm doing something stupid...


From: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk]
Sent: 30 January 2013 16:36
To: Chris Haste
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] SVG Marks

Hi Chris,
  Well, if the offset is consistently wrong (i.e., always 3 pixels too far left 
for instance) the SLD spec may allow you to use a "displacement" parameter (you 
can for fills with SLD 1.1).

Jonathan


On 30 January 2013 16:22, Chris Haste 
<cha...@airdata.co.uk<mailto:cha...@airdata.co.uk>> wrote:
Hello List,

I want to use an external SVG symbol as a mark and I'm using the CSS module for 
my styling, although I don't think that makes any difference to this question.

The SVG represents a pin and I want to position the pin so that the base of the 
pin is drawn at the position for that point, but the pins all seem to be drawn 
quite away to the left of the actual position.

What considerations do I need to take into account in order to be able to 
accurately position the SVG symbol relative to the reference coordinate?

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.***

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
________ _________________________ ______________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to