<html>
<head>
</head>
<body style="font-variant: normal; font-family: Comic Sans MS; line-height: normal; margin-left: 4px; margin-bottom: 1px; margin-right: 4px; margin-top: 4px; font-weight: normal; font-style: normal; font-size: 12pt">
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Comic Sans MS">Stephen,</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Comic Sans MS">I was thinking the same thing. I did wonder about the wider outlines around the labels doing the gradual fade to nothing though, which I think is what makes them more readable.. I've never seen or used a setting in MapServer that can do that. The rest of it seems to be completely rebuildable as far as Mapserver/Mapfiles go.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Comic Sans MS">bobb</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<br>
<br>
>>> Stephen Woodbridge <woodbri@swoodbridge.com> wrote:<br> </p>
<table bgcolor="#f3f3f3" border="0" style="margin-left: 15px; margin-bottom: 0; margin-top: 0; margin-right: 0; font-size: 1em">
<tr>
<td>
<div style="padding-left: 7px; border-left: solid 1px #050505">
<p style="margin-top: 0; margin-bottom: 0">
On 12/15/2010 4:47 AM, thomas bonfort wrote:<br>> Steve,<br>><br>> Looking at that article, it seems we already have nearly all that is<br>> needed with simple mapfile syntax and classified data to obtain<br>> similar results. You do have to ensure that you use label priorities,<br>> and/or ensure that that your datasource serves out labels by<br>> increasing order of importance.<br>><br>> based on the different classes of labels, we have:<br>> * adjustable size of text<br>> * adjustable color of text<br>> * adjustable outline width on text<br>> * absence of clusters by applying a buffer<br>><br>><br>><br>> the only thing I see missing is the "collar" around major metropolitan<br>> cities. We have nearly this with label the label buffer, but this will<br>> also remove city labels from the metro area.<br><br>Thomas,<br><br>Yes, we are very close. I was thinking about the collar problem and I'm<br>wondering is that can be achieved with something like MINBUFFER and<br>MAXBUFFER like:<br><br><br>     city metro     collar<br>       O---------x------------y<br><br>where O is the city, x is the MINBUFFER, and y is the max buffer and we<br>would allow labels between O and MINBUFFER and exclude labels between<br>MINBUFFER and MAXBUFFER.<br><br>Do you think that this would solve the collar problem?<br><br>I'm thinking that this might not be smart enough and we might need<br>something like:<br><br>COLLAR MIN MAX [ATTRIB < num]<br><br>Where we apply the collar only to entities where ATTRIB<num which would<br>all us to filter small cities, but would allow another major<br>metropolitan area to join the current one. You would obviously have to<br>have the data ordered by size so that this can be processed in a single<br>pass. Also I'm not sure what should happen if the 2nd collar excludes<br>the firsts metro zone or vica versa.<br><br>if new point is in any metro zone then its ok<br>elsif new point is in any collar zone then exclude it.<br><br>Anyway, I really liked the article and the analysis they did.<br><br>Regards,<br>   -Steve W<br><br>> regards,<br>> thomas<br>><br>> On Tue, Dec 14, 2010 at 19:30, Stephen Woodbridge<br>> <woodbri@swoodbridge.com>  wrote:<br>>> <a href="http://www.41latitude.com/post/2072504768/google-maps-label-readability">http://www.41latitude.com/post/2072504768/google-maps-label-readability</a><br>>><br>>> It would be cool if we could do some of these tricks in mapserver.<br>>><br>>> -Steve W<br>>> _______________________________________________<br>>> mapserver-dev mailing list<br>>> mapserver-dev@lists.osgeo.org<br>>> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>>><br><br>_______________________________________________<br>mapserver-dev mailing list<br>mapserver-dev@lists.osgeo.org<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
</p>
</div>
</td>
</tr>
</table>
</body>
</html>