Problems displaying a very large polygon

Frederico Lucca fredlucca at GMAIL.COM
Thu May 4 19:16:03 EDT 2006


Brock,

Ok, i could try some simplification.
But I was thinking that mapserver could deal with this kind of problem.

Thanks.

Best regards,

Fred

On 5/4/06, Brock Anderson <banders at refractions.net> wrote:
>
> Fred,
>
> Can you simplify your polygon to reduce the number of points?
>
> I know Postgis has a simplify() function for that purpose which uses the
> Douglas-Peuker algorithm.  There are probably other tools with a similar
> capability.
>
> Brock
>
> Frederico Lucca wrote:
>
> > Hello list,
> >
> > I have a layer with a single polygon, but it has 131570 points. It's
> > the territory from brazil.
> > When I try to export a gif showing only a small piece, like 1/30 from
> > the total, this spends 30 seconds (attached).
> > I observe that when the coast is more irregular this is slower to
> export.
> > Other layers are very quick to export, something like 1 or 2 second.
> > How I can deal with this problem?
> >
> > Thanks in advance.
> >
> > Fred
> >
> > --
> > "Everything under the sun is in tune
> > But the sun is eclipsed by the moon"
> > ------------------------------------------------------------------------
> >
>
>


--
"Everything under the sun is in tune
But the sun is eclipsed by the moon"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060504/bdc7c32b/attachment.html


More information about the mapserver-users mailing list