What's the procedure to do that? -----Original Message----- From: Jeff McKenna [mailto:[email protected]] Sent: Monday, February 14, 2011 9:50 AM To: mapserver-users Subject: Re: [mapserver-users] RE: Buffer features?
Also note that you'll need to build MapServer with GEOS support (and verify this with a 'mapserv -v' call). -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 11-02-14 10:40 AM, Lime, Steve D (DNR) wrote: > It should be as simple as: > > # do the query and get the selected shape > > $bDistance = 5; # in layer units > $bShape = $shape->buffer($bDistance); > > # now draw the buffered shape > > Does that help or is the before/after parts that is confusing. > > Steve > > ________________________________________ > From: Bistrais, Bob [[email protected]] > Sent: Monday, February 14, 2011 8:36 AM > To: Lime, Steve D (DNR); mapserver-users > Subject: RE: Buffer features? > > I am working in MapScript. I've got some ideas but haven't quite > figured it out. Are there any code examples available? > > -----Original Message----- > From: Lime, Steve D (DNR) [mailto:[email protected]] > Sent: Monday, February 14, 2011 9:32 AM > To: Bistrais, Bob; mapserver-users > Subject: RE: Buffer features? > > Unless you're working in MapScript you'll have to wait for the 6.0 > release (maybe). 6.0 contains some support for buffering (in pixels) > using the GEOMTRANSFORM style attribute although this is mainly a > cartographic tool. In MapScript you can do this now though. > > Steve > ________________________________________ > From: [email protected] > [[email protected]] On Behalf Of Bistrais, Bob > [[email protected]] > Sent: Monday, February 14, 2011 8:30 AM > To: mapserver-users > Subject: [mapserver-users] Buffer features? > > This question may have come up before, but I haven't found it in the > archives. I would like to take a selected feature and buffer it to a > specified distance. I know it's possible to do a queryByPoint with a > buffer distance, but I need to create an actual buffer shape to display > on the map. Has anyone done something like this before? Does MapServer > have this capability? > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
