[R-sig-Geo] points in shape file

Roger Bivand Roger.Bivand at nhh.no
Thu Mar 4 09:22:31 CET 2004


On Thu, 4 Mar 2004, Susumu Tanimura wrote:

> Hi, there.
> 
> Import of point data in shape file seems to be fine with maptools.
> There is no problem to plot the points with plot(Map.object), but I do
> not know how to extract xy coordinates of points from Map.object for
> overlying on another polygon map.

Map2points() ?

The function returns a matrix with a maplim attribute for its bounding 
box, and class "Mappoints".

> 
> Thank you
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-geo
> 

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




More information about the R-sig-Geo mailing list