Thank you, Henrique.
  This command returned a short list of coordinates (maybe the limits?):
>coordinates(br)          [,1]      [,2][1,] -53.31971 -29.70562[2,] -50.48913 
>-27.24445> 
  Any other suggestion?
  Cheers,
  Thiago.

--- On Wed, 9/6/10, Henrique Dallazuanna <www...@gmail.com> wrote:

From: Henrique Dallazuanna <www...@gmail.com>
Subject: Re: [R-sig-Geo] How to extract coordinates values from a shapefile?
To: "Thiago Veloso" <thi_vel...@yahoo.com.br>
Cc: r-sig-geo@stat.math.ethz.ch
Date: Wednesday, 9 June, 2010, 15:53

Try:

coordinates(br)

On Wed, Jun 9, 2010 at 3:45 PM, Thiago Veloso <thi_vel...@yahoo.com.br> wrote:


  Dear R colleagues,

  Does anyone know if it's possible to create a vector with coordinate values 
extracted from a shape loaded with readShapePoly command of "maptools" package?

  For example, the following code loads the shapefile containing Brazilian 
states division:

library(maptools)br<-readShapePoly("BR-map/3.shp")

  What I need to do is create a vector which contains all lat and lon values 
inside this shapefile...

  Thanks in advance,

  Thiago Veloso.







        [[alternative HTML version deleted]]




_______________________________________________

R-sig-Geo mailing list

R-sig-Geo@stat.math.ethz.ch

https://stat.ethz.ch/mailman/listinfo/r-sig-geo





-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O




      
        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to