See Also: PRX, VECSEL, MAP, GRDVEC
Name Prompt Count Type FILE Database File Name 1-64 Char DBVS Database Vector Segment 1 Int DBOB Database Output Bitmap 0-1 Int DBOW Database Output Window 0-4 Int BUFDIST Buffer Distance (geo units) 1 Real
EASI>FILE="filespec"
EASI> BUFDIST = 200 | Select 200m region around vectors.
EASI> DBVS=i
EASI> DBOB = 9 | Write to existing segment 9or
EASI> DBOB = | Create a new bitmap segment
EASI>DBOW=Xoffset,Yoffset,Xsize,Ysize EASI>DBOW= | use full file area
The buffer area includes all pixels within BUFDIST units of any of the vector features in the given vector segment (VECBUF). Note that all vectors are treated as points, or polylines. Closed polylines are not treated as filled polygons.
The result of the VECBUF program is a bitmap segment marking pixels within the buffer distance of the vector segment lines. This result may be burned into an image channel using the THR program. The PRX (proximity analysis) program may be used to achieve somewhat similar results with raster source data. The GRDVEC program can be used to simply burn vector data into an image channel.
The algorithm used is quite simplistic, and will produced squared, rather than rounded masks at the ends of lines. Strictly speaking this means that the proximity test is inaccurate at the end points. This effect is particularly pronounced for point features for which the resulting buffer is always a square, not a circle.
EASI> file = "irvine.pix" EASI> bufdist = 150 EASI> dbvs = 26 EASI> dbob = EASI> dbow = EASI> run vecbuf