From tganders@tscnet.com Wed Jun 2 08:27:49 1999 Received: from mxu3.u.washington.edu (mxu3.u.washington.edu [140.142.33.7]) by lists.u.washington.edu (8.9.3+UW99.02/8.9.3+UW99.01) with ESMTP id IAA31710 for ; Wed, 2 Jun 1999 08:27:48 -0700 Received: from tscnet.com (root@tscnet.com [207.227.236.10]) by mxu3.u.washington.edu (8.9.3+UW99.02/8.9.3+UW99.01) with ESMTP id IAA13413 for ; Wed, 2 Jun 1999 08:27:48 -0700 Received: from tscnet.com (ekanders@ppp-ip69-b4.tscnet.net [207.227.237.69]) by tscnet.com (8.9.3/8.7.3) with ESMTP id IAA24944 for ; Wed, 2 Jun 1999 08:27:46 -0700 Message-ID: <37554C85.6055EAE4@tscnet.com> Date: Wed, 02 Jun 1999 08:23:50 -0700 From: Tom Anderson X-Mailer: Mozilla 4.05 [en] (Win95; U) MIME-Version: 1.0 To: waphgis@u.washington.edu Subject: Re: Calculating a proximity matrix References: <004901bead00$e0ed35c0$7b790518@olmpi1.wa.home.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Richard, Is the data in raster or vector format? Tom Richard E. Hoskins wrote: > 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 .