<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=068492716-27052008><FONT face=Arial color=#0000ff size=2>Have 
you defined an output projection for your map and input projections for each of 
your layers?&nbsp; It is likely that MapServer needs to know what the input 
projection/SRS is before it can translate to different 
units.</FONT></SPAN></DIV>
<DIV><SPAN class=068492716-27052008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=068492716-27052008><FONT face=Arial color=#0000ff 
size=2>David.</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Pierre-Benoit 
  Besse [mailto:besse.pb@gmail.com] <BR><B>Sent:</B> Tuesday, May 27, 2008 11:26 
  AM<BR><B>To:</B> Fawcett, David<BR><B>Cc:</B> Ritesh Ambastha; 
  mapserver-users@lists.osgeo.org<BR><B>Subject:</B> Re: [MAPSERVER-USERS] 
  Displaying population density with Mapserver<BR><BR></FONT></DIV>Ha, well, I 
  prefer that :) I would need a lot of layer definitions to obtain something 
  ok...<BR><BR>But I just tried the "ground units" stuff, I tried with a 50 
  kilometers wide square and it drew squares the size of ASIA !! oO<BR>I had to 
  define a 1 feet wide square to obtain something more or less ok...<BR>Does 
  anybody know why ?<BR><BR>Aside from that It seems to work, thank you 
  !<BR><BR>I will try the scalesymbol stuff tomorrow.<BR><BR>Regards<BR><BR><BR>
  <DIV class=gmail_quote>2008/5/27 Fawcett, David &lt;<A 
  href="mailto:David.Fawcett@state.mn.us">David.Fawcett@state.mn.us</A>&gt;:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Before 
    you create lots of different layers to simulate symbol scaling,<BR>you may 
    want to try something else. &nbsp;It has been a long time since I<BR>have 
    played with scaled symbols, but give it a try.<BR><BR>You should be able to 
    scale the symbols by setting a SYMBOLSCALE in the<BR>LAYER object. 
    &nbsp;This is the scale at which you want the symbol to appear<BR>at the 
    SIZE stated in the map file.<BR><BR>You may want to modify STYLE MAXSIZE if 
    you think that you will want<BR>your symbols to be larger than 50 
    pixels.<BR><BR>Another completely different approach that just came to my 
    mind would be<BR>to use ground units (e.g. meters) to set the size of your 
    symbol. &nbsp;To do<BR>this, set LAYER SIZEUNITS to meters. &nbsp;Calculate 
    the size of a symbol in<BR>meters on the ground that will touch adjacent 
    symbols, or give you the<BR>desired amount of space between the symbols. 
    &nbsp;That way, the symbols<BR>should scale consistently.<BR><BR>David.<BR>
    <DIV class=Ih2E3d><BR>-----Original Message-----<BR>From: <A 
    href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</A><BR></DIV>
    <DIV>
    <DIV></DIV>
    <DIV class=Wj3C7c>[mailto:<A 
    href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</A>] 
    On Behalf Of Ritesh<BR>Ambastha<BR>Sent: Tuesday, May 27, 2008 10:16 
    AM<BR>To: <A 
    href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR>Subject: 
    Re: [MAPSERVER-USERS] Displaying population density 
    with<BR>Mapserver<BR><BR><BR><BR>Dear Faldor,<BR><BR>Robert is absolutely 
    right. You will have to make different LAYERS for<BR>the same POINT layer. 
    But, define MAX/MINSCALE for each Layer. Change<BR>STYLE -&gt; SIZE values 
    in each of the layer. You are done !!<BR><BR>Cheers 
    !<BR>Ambastha<BR><BR><BR>Faldor wrote:<BR>&gt;<BR>&gt; Yes, but I need them 
    to adapt for different extents.<BR>&gt;<BR>&gt; For example, When I zoom out 
    enough to see the world, I need them 1<BR>&gt; pixel wide (it's ugly 
    otherwise), but when I zoom in I will need then<BR>&gt; 2 or 5 or even 30 
    pixels wide to cover all space.<BR>&gt;<BR>&gt; 2008/5/27 Ritesh Ambastha 
    &lt;<A 
    href="mailto:group.ritesh@gmail.com">group.ritesh@gmail.com</A>&gt;:<BR>&gt;<BR>&gt;&gt;<BR>&gt;&gt; 
    Dear Faldor,<BR>&gt;&gt;<BR>&gt;&gt; &lt;snip&gt;What I need is to have the 
    points grow to cover all space<BR>&gt;&gt; available when I zoom 
    in.&lt;/snip&gt;<BR>&gt;&gt;<BR>&gt;&gt; Do you mean that the size of points 
    should grow? It can be done<BR>&gt;&gt; easily by setting proper SIZE in the 
    STYLE tag.<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; Regards,<BR>&gt;&gt; 
    Ambastha<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; Faldor 
    wrote:<BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt; Hi,<BR>&gt;&gt; &gt;<BR>&gt;&gt; 
    &gt; Sorry for my first empty message.<BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt; My 
    problem is, I need to display population density with 
    Mapserver.<BR><BR>&gt;&gt; &gt; The data comes from GPWv3 and has a 
    resolution of 15'. I converted<BR>&gt;&gt; &gt; it to a POINT Shapefile 
    using ogr2ogr.<BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt; At first when I display it 
    on a world map it shows nicely. But when<BR><BR>&gt;&gt; &gt; I<BR>&gt;&gt; 
    zoom<BR>&gt;&gt; &gt; in it begins to show separated points for each value 
    in the<BR>&gt;&gt; &gt; shapefile. What I need is to have the points grow to 
    cover all<BR>&gt;&gt; &gt; space available<BR>&gt;&gt; when<BR>&gt;&gt; 
    I<BR>&gt;&gt; &gt; zoom in.<BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt; Is there any 
    mean to do it with Mapserver ? I did not find it in<BR>&gt;&gt; &gt; the 
    mapfile reference.<BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt; I don't know if I 
    explained it well (I'm not english speaking). If<BR>&gt;&gt; &gt; 
    you<BR>&gt;&gt; do<BR>&gt;&gt; &gt; not understand something, please 
    ask.<BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt; Cordialy,<BR>&gt;&gt; 
    &gt;<BR>&gt;&gt; &gt; Faldor<BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt;<BR>&gt;&gt; 
    &gt;<BR>&gt;&gt;<BR>&gt;&gt; --<BR>&gt;&gt; View this message in 
    context:<BR>&gt;&gt; <A 
    href="http://www.nabble.com/Displaying-population-density-with-Mapserver-tp" 
    target=_blank>http://www.nabble.com/Displaying-population-density-with-Mapserver-tp</A><BR>&gt;&gt; 
    17492210p17492387.html<BR>&gt;&gt; Sent from the Mapserver - User mailing 
    list archive at Nabble.com.<BR>&gt;&gt;<BR>&gt;&gt; 
    _______________________________________________<BR>&gt;&gt; mapserver-users 
    mailing list<BR>&gt;&gt; <A 
    href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR>&gt;&gt; 
    <A href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" 
    target=_blank>http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><BR>&gt;&gt;<BR>&gt;<BR>&gt; 
    _______________________________________________<BR>&gt; mapserver-users 
    mailing list<BR>&gt; <A 
    href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR>&gt; 
    <A href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" 
    target=_blank>http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><BR>&gt;<BR>&gt;<BR><BR>--<BR>View 
    this message in context:<BR><A 
    href="http://www.nabble.com/Displaying-population-density-with-Mapserver-tp174" 
    target=_blank>http://www.nabble.com/Displaying-population-density-with-Mapserver-tp174</A><BR></DIV></DIV>92210p17492783.html<BR>
    <DIV>
    <DIV></DIV>
    <DIV class=Wj3C7c>Sent from the Mapserver - User mailing list archive at 
    Nabble.com.<BR><BR>_______________________________________________<BR>mapserver-users 
    mailing list<BR><A 
    href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR><A 
    href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" 
    target=_blank>http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><BR>_______________________________________________<BR>mapserver-users 
    mailing list<BR><A 
    href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR><A 
    href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" 
    target=_blank>http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>