<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I don&#8217;t know if there is any way to
select the STYLE based on the SCALE (which sounds like what you want to do),
but you may consider constructing a few separate copies of your layer, each
with a different point size, and restricted to display over a certain range of
map scales, using MINSCALE and MAXSCALE settings on each of the layers.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This would achieve the desired affect, I
think,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Robert W. Burgholzer</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Surface Water Modeler</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Office of Water Supply and Planning</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Virginia Department of Environmental
Quality</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><a
href="mailto:rwburgholzer@deq.virginia.gov">rwburgholzer@deq.virginia.gov</a></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>804-698-4405</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Open Source Modeling Tools:</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><a
href="http://sourceforge.net/projects/npsource/">http://sourceforge.net/projects/npsource/</a></span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Pierre-Benoit Besse<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, May 27, 2008 11:07
AM<br>
<b><span style='font-weight:bold'>To:</span></b> Ritesh Ambastha<br>
<b><span style='font-weight:bold'>Cc:</span></b>
mapserver-users@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [MAPSERVER-USERS]
Displaying population density with Mapserver</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Yes,
but I need them to adapt for different extents.<br>
<br>
For example, When I zoom out enough to see the world, I need them 1 pixel wide
(it's ugly otherwise), but when I zoom in I will need then 2 or 5 or even 30
pixels wide to cover all space.</span></font></p>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>2008/5/27 Ritesh Ambastha &lt;<a
href="mailto:group.ritesh@gmail.com">group.ritesh@gmail.com</a>&gt;:</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
Dear Faldor,<br>
<br>
&lt;snip&gt;What I need is to have the points grow to cover all space available<br>
when I zoom in.&lt;/snip&gt;<br>
<br>
Do you mean that the size of points should grow? It can be done easily by<br>
setting proper SIZE in the STYLE tag.<br>
<br>
<br>
Regards,<br>
Ambastha</span></font></p>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br>
<br>
Faldor wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Sorry for my first empty message.<br>
&gt;<br>
&gt; My problem is, I need to display population density with Mapserver. The<br>
&gt; data comes from GPWv3 and has a resolution of 15'. I converted it to a<br>
&gt; POINT Shapefile using ogr2ogr.<br>
&gt;<br>
&gt; At first when I display it on a world map it shows nicely. But when I zoom<br>
&gt; in it begins to show separated points for each value in the shapefile.<br>
&gt; What I need is to have the points grow to cover all space available when I<br>
&gt; zoom in.<br>
&gt;<br>
&gt; Is there any mean to do it with Mapserver ? I did not find it in the<br>
&gt; mapfile reference.<br>
&gt;<br>
&gt; I don't know if I explained it well (I'm not english speaking). If you do<br>
&gt; not understand something, please ask.<br>
&gt;<br>
&gt; Cordialy,<br>
&gt;<br>
&gt; Faldor<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
--</span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>View this message in context: <a
href="http://www.nabble.com/Displaying-population-density-with-Mapserver-tp17492210p17492387.html"
target="_blank">http://www.nabble.com/Displaying-population-density-with-Mapserver-tp17492210p17492387.html</a></span></font></p>

<div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>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></span></font></p>

</div>

</div>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>