Hi All,

 

I'm having trouble using the proportion overlap function.  It wont
calculate the overlap for how much a line object is in a region.  As far
as I was aware (from the mapbasic reference book) that only point
objects could not be used.  I have a script with the following code in
it but it falls over with the error message line object can not be used
in argument 1,  and swap the position of the line object I get the same
message but now argument 2.  

 

 

Select TestStreets.Street, TestStreets.FromLeft, TestStreets.ToLeft,
TestStreets.FromRight, TestStreets.ToRight, TestStreets.AreaId,
TestStreets.Type, TestStreets.Created, Localaties.Name, 

 

>From TestStreets, Localaties 

 

Where   Localaties.obj intersects TestStreets.obj AND
((ProportionOverlap(TestStreets.obj,Localaties.obj)>0.5))

 

Into test1

 

Any help will be greatly appreciated. Thanks

 

Samuel Shelley

GIS OFFICER 

FIRE MANAGEMENT UNIT

 

TASMANIA FIRE SERVICE

GPO Box 1526 
HOBART,  Tasmania
AUSTRALIA, 7001

 

(CNR ARGYLE AND MELVILLE STS, HOBART 7000)

EMAIL: [EMAIL PROTECTED]

PHONE: (03) 6230 8735

FAX: (03) 6230 6647

IF CALLING FROM OUTSIDE AUSTRALIA REPLACE 03 WITH 613

 

Reply via email to