[postgis-users] line simplication

Eric L. Blevins eblevins at insight.rr.com
Wed Jan 8 09:04:27 PST 2003

----- Original Message -----
From: "Daniel Morissette" <morissette at dmsolutions.ca>
To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
Sent: Wednesday, January 08, 2003 11:21 AM
Subject: Re: [postgis-users] line simplication

> "Eric L. Blevins" wrote:
> >
> > A simplification function that accepts the geometry and a factor of how
> > to simplify will be very usefull to anyone using applications like
> > mapserver.
> > With this function I think I could decrease the rendering time of my
maps by
> > an order of magnitude while still producing quality maps.
> >
> Just a quick note to let you know that MapServer already 'simplifies'
> the shapes before passing them to the rendering code so the gain in
> performance may not be as big as you expect.  With a simplify()
> function at the database end you would slightly reduce the time to
> transfer the shapes from PostGIS to MapServer and to package them as
> shapeObj initially in MapServer, but you would not save any time in the
> rendering code since MapServer already does its own simplification based
> on the pixel size of the output image.
> Daniel
> --
> ------------------------------------------------------------
>  Daniel Morissette               morissette at dmsolutions.ca
>  DM Solutions Group              http://www.dmsolutions.ca/
> ------------------------------------------------------------
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
I was unaware that mapserver did that.

But knowing that I still believe a simplification function in the database
would boost performance for large datasets.

As you stated time would be saved transferring the data to mapserver and
time would be saved by mapserver dealing with less data when it packages it
into ShapeObj.  When using a large dataset the time saved could be

Eric L. Blevins

More information about the postgis-users mailing list