buffer (GEOS) in Mapserver 4.6
Monica Socol
Monica.Socol at DPRA.COM
Fri Jun 24 10:24:20 PDT 2005
Thank you for your response, Lowell.
I am working with PHP Mapscript. Do you know if the ShapeObj from PHP
Mapscript exposes the same functionality as swigmapscript? I didn't find
anything in the objects documentation about it.
Monica
-----Original Message-----
From: Lowell Filak [mailto:lfilak at medinaco.org]
Sent: June 24, 2005 1:16 PM
To: Monica Socol; MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] buffer (GEOS) in Mapserver 4.6
The following message was sent by Monica Socol <Monica.Socol at DPRA.COM>
on Wed, 22 Jun 2005 15:48:00 -0500.
>
> I have found in the History document for Mapserver version 4.6:
> "Finished code to convert back and forth between GEOS geometries.
Buffer
> and
> convex hull operations are exposed in mapscript"
>
> But this is all I could find. Does this mean that mapscript exposes
> Buffer functionality for different types of geometries (not only
point)?
> Does anyone knows how to use GEOS with mapscript?
Monica,
You don't mention what flavor of mapscript...
The configure file for swigmapscript points to mapscript/swiginc/shape.i
which in turn spells out that you can take a shapeObj and run a buffer
on it using a desired width and also take a shapeObj and run a
convexhull on it.
For a buffer the call should be '$newshape = $shape->buffer(int width)'
& '$newshape = $shape->convexHull()' for convex hull.
HTH
Lowell
More information about the MapServer-users
mailing list