Skip to content
Prev 7845 / 29559 Next

Reading ArcGIS 9.3 spatial weight matrix [swm] file

Dear Roger and all,

Sorry for not putting a sample. Yes, Windows seems to be overloaded.
http://sites.google.com/site/tehtareknow/home/spatial-weight-matrix/

Thanks for the tip and any more help much appreciated,
Gindo

-----Original Message-----
From: Roger Bivand [mailto:Roger.Bivand at nhh.no] 
Sent: 18 March 2010 14:23
To: Gindo Tampubolon
Cc: r-sig-geo at stat.math.ethz.ch
Subject: Re: [R-sig-Geo] Reading ArcGIS 9.3 spatial weight matrix [swm] file
On Thu, 18 Mar 2010, Gindo Tampubolon wrote:

            
Well, make a number of small samples available on a website - most people
do not have access to Arc, so helping is hard. Is there an ESRI site with
shapefiles and matching sample *.swm files?
Always try a subset first. Most likely you need the snap= argument, if the
boundaries do not touch but are close to each other. Almost certainly your
input map also had far too much detail in shorelines and river borders,
leading to your machine getting overloaded (Windows?). Displaying on such
a map would also be dominated by line detail.
Contribute by making sample files available. To read a matrix if you must,
use read.table().

Roger
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no