Skip to content

shapefiles, images, iimagemaps, and removinginternalboundary lines

2 messages · matt.pettis at thomson.com, Roger Bivand

#
Thanks! Got it to work.

However, the install of "imagemap" didn't work for me... I'm on Windows
XP, and the souce comes in a .tar.gz file, which the 'Packages > Install
packages(s) from local .zip files...' doesn't recognize.  Any alternate
location for this, or a method for windows xp to import this module
correctly?

Thanks,
matt 

-----Original Message-----
From: Roger Bivand [mailto:Roger.Bivand at nhh.no] 
Sent: Thursday, October 19, 2006 11:14 AM
To: Pettis, Matthew (TLR Corp)
Cc: r-sig-geo at stat.math.ethz.ch
Subject: RE: [R-sig-Geo] shapefiles, images, iimagemaps, and
removinginternalboundary lines
On Thu, 19 Oct 2006 matt.pettis at thomson.com wrote:

            
image maps.
No, but it isn't on CRAN, only on the little sp extras repository on
sourceforge:

rSpatial <- "http://r-spatial.sourceforge.net/R"
install.packages("spgpc", repos=rSpatial)

so this should install it. In fact there isn't yet a Windows binary for
2.4, so 2.3 is OK.
in the database.
--
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
#
On Thu, 19 Oct 2006 matt.pettis at thomson.com wrote:

            
The *.tar.gz is a source package. The *.zip are typically Windows binary 
packages, pre-built. Some Windows users with programming experience do 
build their own from source, the toolset is described in Appendix E of the 
R Installation and Administration manual, and package installation in Ch. 
6. If that isn't for you (or anybody nearby), say, and someone may have a 
go at building a Windows binary. Whether it is worth the trouble for 
spatial objects will however depend on the objects you want to make 
clickable, if they are simple, it'll work, but if they are polygons with 
very detailed boundaries (remember that the image map is raster while the 
boundaries are vector), it may not scale well. Probably worth trying, 
though.

Roger