Hi
I have a table of points (50k of them), each with an ID number. Many of the ID numbers are repeated, as they're on different sampling lines.
I need to count the number of points which fall between certain ranges.
This is simple to do in "custom ranged thematics", giving me a nice list of point counts, but only for up to 16 bin ranges. I need about 500 bin ranges (which I have in a table: MinID; MaxID).
I don't need the colours, just the count.
I tried to do this in sql and can't work out how to "join" 2 tables - the one with the bin ranges (minID/maxID columns) and the one with the points.
It seems like it should be simple. Something like "where [point_table]pointID>[range_table]minID_value AND [point_table]pointID<=[range_table]maxID_value"
But MapInfo sql doesn't like this as there's no "join" specified.
Thematics does it so quickly, so I'm sure MapInfo is capable, but I don't know how.
Any ideas? If you can even follow what I'm trying to do?
Sample tables below
PointID
3
4
23
456
4
24
25
300
8
etc
MinID MaxID Count
1 12 ?
13 24 ?
25 36
etc
Thanks muchly in advance
------------------------------
Caroline Hilton
Pelican GeoGraphics Ltd (VAR)
Petersfield
------------------------------