Does anyone have MapBasic  code for MapInfo, or can any of this be done in
MI itself  that will calculate a proximity matrix or the components of it
such as:

Given, say, a 1000 census tracts how can I determine

1. The IDs of the adjacent census tracts
2. The length of the shared boundary of the adjacent census tracts
3. The distance between centroids
4. Second order adjacent tracts, i.e. tracts that are adjacent to tracts
that are adjacent to a census tract.
5. The distance from a centroid of a census tract and to the nearest point
on the boundary of adjacent centroids


For all the census tracts

1. The areas for each one (some data I have, has this for census tracts but
suppose I had school districts)
2. The intercentroid distance
3. The distance from a centroid of a census tract and to the nearest point
on the boundary of adjacent centroids

The purpose is for developing routines to apply a variety of map smoothing
techniques which need to have information about the neighboring regions,
census tracts, Zipcodes, etc.

More industrial strength GISs  can do some of this, but its not clear any of
the desktop packages can.
I am learning MapBasic now but I am a little lost about how to proceed and a
jumpstart would be handy. Believe or not I can do some of this in SAS (not
SAS GIS) but I know I am re-inventing a square wheel. (and I don't have
access to ArcInfo right now)

Thanks a lot

Richard Hoskins

----------------------------------------------------------------------
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