<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=507450312-06042006>Hi list,
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=507450312-06042006>Using SLD and
symbols, I get 2 differents behaviour using Mapserver &
Geoserver. Differences is on point symbolizer and the size parameter.
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=507450312-06042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=507450312-06042006>For example,
using a png file of 20x20px </SPAN></FONT><A
href="http://sandre.eaufrance.fr/geo/sym/port.png"><FONT
size=2>http://sandre.eaufrance.fr/geo/sym/port.png</FONT></A></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=507450312-06042006>in the
following SLD for mapserver : </SPAN><U><FONT color=#0000ff><A
href="http://xml.sandre.eaufrance.fr/exist/Geo/sld/REPOM.xml">http://xml.sandre.eaufrance.fr/exist/Geo/sld/REPOM.xml</A></FONT></U></FONT><A
href="http://sandre.eaufrance.fr/geoserver/data/generated/topp_REPOM.html"></A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=507450312-06042006><FONT size=2><FONT face=Arial>When I ask for
3 images (400x400px) for the REPOM layer at 3 differents scales, the symbol
is getting bigger and bigger ... Size is set to 2. And units in the OGC SLD spec
is defined as "The <B>Size </B></FONT><FONT face=Arial>element gives the
absolute size of the graphic in pixels encoded as a floating-point number.<SPAN
class=507450312-06042006>"</SPAN></FONT></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><A
href="http://services.sandre.eaufrance.fr/geo/ouvrage?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=REPOM&WIDTH=400&HEIGHT=400&BBOX=-6,41,10,52&SRS=epsg:4326&SLD=http://xml.sandre.eaufrance.fr/exist/Geo/sld/REPOM.xml">http://services.sandre.eaufrance.fr/geo/ouvrage?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=REPOM&WIDTH=400&HEIGHT=400&BBOX=-6,41,10,52&SRS=epsg:4326&SLD=http://xml.sandre.eaufrance.fr/exist/Geo/sld/REPOM.xml</A></FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://services.sandre.eaufrance.fr/geo/ouvrage?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=REPOM&WIDTH=400&HEIGHT=400&BBOX=-6,48,0,50&SRS=epsg:4326&SLD=http://xml.sandre.eaufrance.fr/exist/Geo/sld/REPOM.xml">http://services.sandre.eaufrance.fr/geo/ouvrage?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=REPOM&WIDTH=400&HEIGHT=400&BBOX=-6,4<SPAN
class=507450312-06042006>8</SPAN>,<SPAN class=507450312-06042006>0</SPAN>,5<SPAN
class=507450312-06042006>0</SPAN>&SRS=epsg:4326&SLD=http://xml.sandre.eaufrance.fr/exist/Geo/sld/REPOM.xml</A></FONT></DIV>
<DIV><A
href="http://services.sandre.eaufrance.fr/geo/ouvrage?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=REPOM&WIDTH=400&HEIGHT=400&BBOX=-5,48,-4,49&SRS=epsg:4326&SLD=http://xml.sandre.eaufrance.fr/exist/Geo/sld/REPOM.xml"><FONT
face=Arial
size=2>http://services.sandre.eaufrance.fr/geo/ouvrage?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=REPOM&WIDTH=400&HEIGHT=400&BBOX=-<SPAN
class=507450312-06042006>5</SPAN>,4<SPAN class=507450312-06042006>8</SPAN>,<SPAN
class=507450312-06042006>-4</SPAN>,<SPAN
class=507450312-06042006>49</SPAN>&SRS=epsg:4326&SLD=http://xml.sandre.eaufrance.fr/exist/Geo/sld/REPOM.xml</FONT></A></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=507450312-06042006><FONT face=Arial size=2>Using Geoserver with
the same layers, when I ask for 3 images (400x400px) for the REPOM layer at
3 differents scales (same as previous query), the symbol is always the same size
(15 as defined in the STYLES for geoserver).</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><A
href="http://sandre.eaufrance.fr/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=REPOM&WIDTH=400&HEIGHT=400&BBOX=-6,41,10,52&SRS=epsg:4326&STYLES=REPOM&FORMAT=image/png">http://sandre.eaufrance.fr/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=REPOM&WIDTH=400&HEIGHT=400&BBOX=-6,41,10,52&SRS=epsg:4326&STYLES=REPOM&FORMAT=image/png</A></FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://sandre.eaufrance.fr/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=REPOM&WIDTH=400&HEIGHT=400&BBOX=-6,41,10,52&SRS=epsg:4326&STYLES=REPOM&FORMAT=image/png">http://sandre.eaufrance.fr/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=REPOM&WIDTH=400&HEIGHT=400&BBOX=-6,4<SPAN
class=507450312-06042006>8</SPAN>,<SPAN class=507450312-06042006>0</SPAN>,5<SPAN
class=507450312-06042006>0</SPAN>&SRS=epsg:4326&STYLES=REPOM&FORMAT=image/png</A></FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://sandre.eaufrance.fr/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=REPOM&WIDTH=400&HEIGHT=400&BBOX=-5,48,-4,49&SRS=epsg:4326&STYLES=REPOM&FORMAT=image/png">http://sandre.eaufrance.fr/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=REPOM&WIDTH=400&HEIGHT=400&BBOX=-<SPAN
class=507450312-06042006>5</SPAN>,4<SPAN class=507450312-06042006>8</SPAN>,<SPAN
class=507450312-06042006>-4</SPAN>,<SPAN
class=507450312-06042006>49</SPAN>&SRS=epsg:4326&STYLES=REPOM&FORMAT=image/png</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=507450312-06042006>Mapserver is setting
the SIZE parameter in the class ... but maybe not MAXSIZE and MINSIZE. In that
case default value for MAXSIZE and MINSIZE are used ? ... should we have
SIZE=MAXSIZE=MINSIZE to have always the same size for the symbol.
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=507450312-06042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=507450312-06042006>This behaviour also
occurs using well know shape as "square", "circle", "triangle"
...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=507450312-06042006>Any ideas on how to
get symbol always with the same size ? Anyone having the same behaviour ?
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=507450312-06042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=507450312-06042006>Thanks for your
help. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=507450312-06042006>Francois</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=507450312-06042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=507450312-06042006>PS : Geoserver
doesn't support SLD parameter in the URL for the time being so we have to define
a style in Geoserver and the using keyword STYLES in the
URL.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=507450312-06042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=507450312-06042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY><br />--
<br />Ce message a ete verifie par <a href="http://www.mailscanner.info/"><b>MailScanner</b></a>
pour des virus ou des polluriels et rien de suspect n'a ete trouve.
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et privés.Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee.
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
Any data and information contained in this electronic mail is personal, confidential and private. Any total or partial publication, use or distribution must be authorized.
</HTML>