Hi,

See:

http://rwiki.sciviews.org/doku.php?id=tips:spatial-data:spatial_data_visualization

For some tips.

cheers,
Paul

On 06/28/2010 04:28 AM, Felipe Carrillo wrote:
Sorry, the subject is not very informative but after a few tries my email keeps 
going to the spam folder

Hi:
Could someone show me how to add state borders to a shapefile.
Please follow the bellow link to download it.Thanks

http://docs.google.com/leaf?id=0B9LuhHLxsabgNmUxM2VhZmQtNzNlNC00ZDhiLTg0MTQtODJhN2U5MWI3ZTdi&hl=en&authkey=CMeh644K
http://docs.google.com/leaf?id=0B9LuhHLxsabgZTJkNmY3NmYtZjI3NS00ZmZlLTljMWEtZTkzOWY5NWJiNzZm&hl=en&authkey=CNHh6vkL
http://docs.google.com/leaf?id=0B9LuhHLxsabgYjIxZTAxZGYtYTc1Zi00M2Y0LWI2NDMtNTQwMzc2ODZjZTlm&hl=en&authkey=CPGYi9gL
http://docs.google.com/leaf?id=0B9LuhHLxsabgMDgyMTBjMjMtOGZjZS00OGM1LTgzNDQtMGM3M2JlYWNhMzky&hl=en&authkey=COWjorMD
http://docs.google.com/leaf?id=0B9LuhHLxsabgN2E4YTllOTEtMjhmMC00ZjY5LWFmYWQtMmQ0YmRmMzJjYWM5&hl=en&authkey=COWkixM
http://docs.google.com/leaf?id=0B9LuhHLxsabgODVkMmJlNjctYTQxZi00MDA5LWIzMDEtZDc0YTY4YjExMjc2&hl=en&authkey=CIzq0_EH
library(rgdal)
library(maptools)
dsn="C:/pathtoshapefile"
wolves.map<- readOGR(dsn=dsn, layer="PNW_wolf_habitat_grid")
cols<-heat.colors(16);cols
spplot(wolves.map, "PRED_SUIT", names.attr = "PRED_SUIT", col.regions=rev(cols),
     colorkey=list(space="bottom"), main = "Wolf Presence", as.table = TRUE)


Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish&  Wildlife Service
California, USA




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


--
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 253 5773
http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770

_______________________________________________
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