<div dir="ltr">Thanks a lot, it's what I exactly needed.<br><br><div class="gmail_quote">On Mon, Sep 1, 2008 at 1:05 AM, ROBERT HOLLINGSWORTH <span dir="ltr"><<a href="mailto:reh2@prodigy.net">reh2@prodigy.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
You're basically describing "generalization" here. I don't think mapscript has facilities for this, but you may be able to perform your own generalization on your shape objects. Try a google on "Douglas-Peucker algorithm" and see what you find. In some cases I think people simplify their polygons at various scales in advance and store them, then use the mapserver CLASS and MINSCALE/MAXSCALE in the mapfile to select which polygons to output.<br>
</td></tr></tbody></table></blockquote></div><br></div>