Problems displaying a very large polygon
Brock Anderson
banders at REFRACTIONS.NET
Thu May 4 15:54:45 PDT 2006
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"
> ------------------------------------------------------------------------
>
More information about the MapServer-users
mailing list