buffer (GEOS) in Mapserver 4.6

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Fri Jun 24 11:27:10 PDT 2005


Hi There,

  The php does not yet expose those functions. There is a bug opened on 
that but It is still not adressed for now. Although I do not have a 
precise timeline, It should be done in the coming weeks. 
(http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1327).

Later,

Monica Socol wrote:
> 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
> 
> 

-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the MapServer-users mailing list