[mapserver-users] PHP mapscript $shape->buffer() takes a long time
Pavel Iacovlev
iacovlev.pavel at gmail.com
Tue Nov 17 12:51:48 PST 2009
All I can advice you is reduce the number of vertices's in your
preferred GIS software.
In postgis you can do it with ST_SimplifyPreserveTopology(geometry,
tolerance) , also you can create a buffer witg
On Tue, Nov 17, 2009 at 10:43 PM, Worth Lutz <wal3 at mindspring.com> wrote:
> About 740, I think.
>
> -----Original Message-----
> From: Pavel Iacovlev [mailto:iacovlev.pavel at 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 does your geometry have ?
>
> On Tue, Nov 17, 2009 at 8:22 PM, Worth Lutz <wal3 at mindspring.com> wrote:
>> 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 the
>> allowable execution time.
>>
>>
>>
>> If I use a buffer distance of 175 I get results.
>>
>>
>>
>> Should it take such a long time to but a buffer around this parcel? It is
> a
>> large parcel with one corner being a long curve like a quarter of a circle
>> and another section on one side being a half circle.
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>
>
>
> --
> http://iap.md, The future is open
>
>
--
http://iap.md, The future is open
More information about the MapServer-users
mailing list