Store
|
Contact Us
|
Careers
Home
Industries
Products
Training
Support
Services
Events
News
About
About Esri
Careers
Esri Video
Partners
Support
Search Support
You are here: >
ArcScripts
>
Search Results
> Script Details
Login
|
Feedback
|
Help
Asymmetric Polyline/Polygon Buffers - improved
contact author
|
download help
|
report inappropriate content
Author
Justin Johnson
File Name
buffers.zip
Language
Visual Basic
Last Modified
May 26 2004
Status of work
Public Domain
Software
ArcGIS Desktop
File Size
531.36 kb
Downloads
3595
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
Summary
This code creates buffers around polylines or polygon boundaries with a different buffer distance for each side of the line.
The code works by creating small polygons along the length of the polyline according to the buffer distances specified by the user. Rectangles are created for each segment, circular "pies" are created for each vertex, and full circles are made at each endpoint. These component polygons are then unioned into a single buffer polygon for each polyline. See the HTML document for an illustration of this procedure.
This approach avoids the problems that were encountered in an earlier version of this script, which used the IConstructCurve:ConstructOffset method. That method sometimes produced non-simple geometries and left voids inside the buffers.
Contact Us
|
Privacy
|
Legal
|
Site Map