Hello,

I have following situation:
I read Points (geometry type) from Postgis, style them with SLD and 
render on JMapFrame. I use min and max scale denominator to draw points 
with external graphic with different size.
What i need to know in every moment are SCREEN coordinates of external 
graphic (which is used in SLD), depending on current map scale. I need to 
get bounding box around external graphic in screen coordinates depending on 
map scale. This is because external graphic object is of different size for
different 
map scales.
What i have are world coordinates of center for every point. I am curious is
it 
possible to get screen coordinates from world coordinates and current map
scale?
Also when we specify size of external graphic in SLD with
<sld:Size></sld:Size> is 
it possible to get graphic height and width in pixels from it?

I would appreciate if someone can help me about this issues.

Best regards!

-- 
View this message in context: 
http://n2.nabble.com/ExternalGraphic-GetBoundingBox-tp3698425p3698425.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to