Hi,
I have a large table of points (emergency service call out destinations) which I would like to 'thin out'.
The records are ordered descending in importance (by ".Count", referring to the number of incidents at those locations).
I would like MapInfo to:
1) Fetch the first record
2) Select all the records from the same table within 250m of it (not including itself)
3) Delete them (or at least, mark them for deletion if this would cause a packing issue)
4) Fetch the next record (obviously bypassing those already deleted or marked)
5) Loop until end of table
I was going to use a buffer but I'd rather a 'cleaner' way forward like utilizing the code "Select By Location" feature uses - ObjectDistance(). But alas I cannot get that to work.
Any help would be greatly appreciated.
My name is Ryan and I work on behalf of emergency services around the world building simulation models which help improve their response times and cope with changes to their service and environment.
------------------------------
Ryan Cook
Knowledge Community Shared Account
------------------------------