Re: [mapserver-users] PHP mapscript $shape-buffer() takes a long time

2009-11-18 Thread Ludwig Kniprath
We had the same problem. In deed the buffer-algorithm is very expensive, especially with large polygons and a large buffer-radius. If you use Postgis, you can simplify the Polygon with ST_Simplify or ST_SimplifyPreserveTopology in dependency from scale and buffer-radius, this will make the

[mapserver-users] PHP mapscript $shape-buffer() takes a long time

2009-11-17 Thread Worth Lutz
I'm trying to buffer a shape returned from a point query on a polygon layer of parcels. When I try to use: $bufferedShape = $shape-buffer(200); I get back a fatal error: Maximum execution time of 30 seconds exceeded. I know that this is a php error message and that I could increase

Re: [mapserver-users] PHP mapscript $shape-buffer() takes a long time

2009-11-17 Thread Pavel Iacovlev
17, 2009 at 10:43 PM, Worth Lutz w...@mindspring.com wrote: About 740, I think. -Original Message- From: Pavel Iacovlev [mailto:iacovlev.pa...@gmail.com] Sent: Tuesday, November 17, 2009 1:35 PM To: Worth Lutz Subject: Re: [mapserver-users] PHP mapscript $shape-buffer() takes a long

Re: [mapserver-users] PHP mapscript $shape-buffer() takes a long time

2009-11-17 Thread Pavel Iacovlev
. -Original Message- From: Pavel Iacovlev [mailto:iacovlev.pa...@gmail.com] Sent: Tuesday, November 17, 2009 1:35 PM To: Worth Lutz Subject: Re: [mapserver-users] PHP mapscript $shape-buffer() takes a long time If the geometry has a lot of vertices's it can take some time, how many