[mapserver-users] Re: Display a map in lower detail

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Mon Sep 1 01:17:02 EDT 2008


FYI there is an example of shape thinning using Perl mapscript at http://trac.osgeo.org/mapserver/browser/trunk/mapserver/mapscript/perl/examples/thin.pl

..Tom



-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org on behalf of Marte Raphael Y. Soliza
Sent: Sun 31-Aug-08 15:00
To: reh2 at prodigy.net
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Re: Display a map in lower detail
 
Thanks a lot, it's what I exactly needed.

On Mon, Sep 1, 2008 at 1:05 AM, ROBERT HOLLINGSWORTH <reh2 at prodigy.net>wrote:

> 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.
>



More information about the mapserver-users mailing list