I have a piece of mapbasic code that process a road network removing redundant nodes 
and links, leading to a substantially smaller map in terms of number of objects. This 
we then feed into a transport model (Emme/2)

My problem is that the large size of the network (9000 nodes, 9000 links) leads to 
very long run times for my process, ranging from 5 to 12 hours.

The code is not especially complex but makes use of a lot of queries. Each iteration 
(one per node) involves probably at least 5 queries. I discovered the hardway that 
after mapinfo has processed 10000 queries, it hangs, having run out of available temp 
file names. I've resolved this by periodically closing all temp files from within my 
code.

Are there any guidelines for optimising mapinfo code to extract more performance from 
it?

Turning indexing on and off and had very little effect.

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to