Hello Phil,
> I'm trying to create a buffer around a complex region using MapBasic.
>
> The buffer function requires a second arguement describing the no of nodes
> in the buffer object. The manual claims this is a smallint, but I find any
> values over 100 result in an error message saying "Argument 2 out of range".
It's best to keep this number pretty small. It's not quite defined as the number of
nodes in the buffer
object but relates to the number of nodes that is used to round-off corners. It does
of course
depend on what type of object you are buffering... point objects are a good candidates
for a higher
number as it is the number of nodes that make up the buffer circle. For large complex
regions, you
might be able to bring the figure right down. The minimum value is three. I think
MapInfo defaults in
the buffer dialog to 12 and that's a pretty good starting point. Experiment with
higher and lower
values to get a value that works for your application.
Regards,
Warren Vick
Europa Technologies Ltd, U.K.
http://www.europa-tech.com
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]