Re: [R-sig-Geo] border

2010-02-15 Thread Roger Bivand
. Thanks in advance for your help. Adam -- 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.biv...@nhh.no

Re: [R-sig-Geo] R crash with readOGR

2010-02-14 Thread Roger Bivand
, Caspar On Fri, Feb 12, 2010 at 3:47 PM, Roger Bivand roger.biv...@nhh.no wrote: On Fri, 12 Feb 2010, caspar hallmann wrote: Dear All, Perhaps one can help me with the obvious, however I have been trying to import a shapefile using function readOGR as in: myshp-readOGR(mydirectorypath

Re: [R-sig-Geo] rgdal writeOGR, KML examples

2010-02-14 Thread Roger Bivand
/r-sig-geo -- 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.biv...@nhh.no

Re: [R-sig-Geo] R crash with readOGR

2010-02-12 Thread Roger Bivand
@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- 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.biv...@nhh.no

Re: [R-sig-Geo] Export IDRISI vector format

2010-02-11 Thread Roger Bivand
]] ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- 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

Re: [R-sig-Geo] Reversed raster after readGDAL()

2010-02-10 Thread Roger Bivand
]] ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway

Re: [R-sig-Geo] Reversed raster after readGDAL()

2010-02-10 Thread Roger Bivand
writing the GTiff? Roger Agus 2010/2/10 Roger Bivand roger.biv...@nhh.no On Wed, 10 Feb 2010, Agustin Lobo wrote: Hi! After r3 - readGDAL(test2.tif) test2.tif has GDAL driver GTiff and has 256 rows and 256 columns image(r3,col=rainbow(128)) I get the image N-S reversed. I've put

Re: [R-sig-Geo] Additional info on Reversed raster after readGDAL() (Fwd: Overlay spatial lines on raster)

2010-02-10 Thread Roger Bivand
___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- 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

Re: [R-sig-Geo] Problem to Read maptools Help

2010-02-10 Thread Roger Bivand
changes have been made and when. Hope this helps, Roger [[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 -- Roger Bivand Economic Geography Section

Re: [R-sig-Geo] problem with Maptools pack

2010-02-10 Thread Roger Bivand
time I have this problem, sorry for desturb Gianni [[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 -- Roger Bivand Economic Geography Section

Re: [R-sig-Geo] zero distance in spDistsN1

2010-02-10 Thread Roger Bivand
: spDistsN1(cbind(c(1,2,3,4),c(0,0,0,0)), c(0,0), longlat = TRUE) [1] 111.3195 222.6390 333.9585 445.2780 cheers wouter ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography

Re: [R-sig-Geo] spatial autocorrelation, grids, and the ks-test

2010-02-08 Thread Roger Bivand
but I figured I'd cut to the chase and see if you all could help me get a jumpstart on this. Thanks ahead of time. -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55

Re: [R-sig-Geo] RE : RE : rgdal problem when connecting with postgres

2010-02-02 Thread Roger Bivand
that running everything within your target environment is the key. Roger ## notes for building gdal against OSGeo4W (modified from Roger Bivand) ## 1- download rgdal sources http://cran.r-project.org/web/packages/rgdal/index.html ## in the following I just copied it in c:\ ## 2- Run

Re: [R-sig-Geo] plot polygons - transparent holes/island

2010-02-02 Thread Roger Bivand
) # and the out points If your output devive uses and alpha channel, you may be able to find other ways forward, but they will not be portable across devices. Hope this helps, Roger 2010/1/31 Roger Bivand roger.biv...@nhh.no On Sun, 31 Jan 2010, Paulo Eduardo Cardoso wrote: Roger, I really thank

Re: [R-sig-Geo] plot polygons - transparent holes/island

2010-02-02 Thread Roger Bivand
2010/2/2 Roger Bivand roger.biv...@nhh.no: On Mon, 1 Feb 2010, Paulo Eduardo Cardoso wrote: Hi, Code exemple library(maptools) load(file='D:\\R\\transparencia\\TransparentPolygon.Rdata') areas - readShapeSpatial('D:\\R\\transparencia\\Areas.shp') pontos - readShapeSpatial('D:\\R\\transparencia

Re: [R-sig-Geo] RE : rgdal problem when connecting with postgres

2010-02-01 Thread Roger Bivand
(first use in this function) make: *** [console.o] Error 1 --- Cédric De : Roger Bivand [roger.biv...@nhh.no] Date d'envoi : vendredi 29 janvier 2010 20:11 À : Cédric Briand Cc : r-sig-geo@stat.math.ethz.ch

Re: [R-sig-Geo] distance problem in GWR

2010-02-01 Thread Roger Bivand
Servet ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N

Re: [R-sig-Geo] How to put name in map?

2010-02-01 Thread Roger Bivand
=map$NAME[10]) Roger I appreciate any help. Thank you all. -- 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.biv

Re: [R-sig-Geo] plot polygons - transparent holes/island

2010-01-31 Thread Roger Bivand
transparent, in order to see any other layer plotter at first. Should I send a simple example? Please do, either code for a provided data set, or code and a link to the URL where the data set is available. Roger 2010/1/30 Roger Bivand roger.biv...@nhh.no On Sat, 30 Jan 2010, Paulo Eduardo Cardoso

Re: [R-sig-Geo] plot polygons - transparent holes/island

2010-01-30 Thread Roger Bivand
[[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 -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics

Re: [R-sig-Geo] Problem with readRAST6

2010-01-29 Thread Roger Bivand
spgrass6_0.6-12 [5] XML_2.6-0 maptools_0.7-29 lattice_0.18-3 foreign_0.8-38 [9] simecol_0.6-9 deSolve_1.6 rgdal_0.6-24sp_0.9-52 loaded via a namespace (and not attached): [1] grid_2.10.1 tools_2.10.1 Cheers, Rainer -- Roger Bivand Economic Geography Section, Department

Re: [R-sig-Geo] Problem with readRAST6

2010-01-29 Thread Roger Bivand
On Fri, 29 Jan 2010, Rainer M Krug wrote: On Fri, Jan 29, 2010 at 2:32 PM, Roger Bivand roger.biv...@nhh.no wrote: On Fri, 29 Jan 2010, Rainer M Krug wrote: Hi I have a question concerning readRAST6 and the plugin. When I use the default (plugin=NULL), I get the error below, Well

Re: [R-sig-Geo] Convert grids with 0/1 attribute to polygons with neighbor grids of same values merged

2010-01-29 Thread Roger Bivand
: Contents of R-sig-Geo digest... Today's Topics: 1. Re: rgdal 64bit Windows version? (Rainer Hurling) 2. Re: points to lines and/or polygons (Roger Bivand) 3. Distance to (nearest) polygon (Karl Ove Hufthammer) 4. Re: Distance to (nearest) polygon (Roger Bivand) 5. maxdist for kriging

Re: [R-sig-Geo] rgdal problem when connecting with postgres

2010-01-29 Thread Roger Bivand
are at a loss on how to add a driver to the drivers in R. So any hint would be really valuable. C?dric [[alternative HTML version deleted]] -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045

Re: [R-sig-Geo] points to lines and/or polygons

2010-01-27 Thread Roger Bivand
),stringsAsFactors=F) row.names(coastdata) - 1:142 coast - SpatialLinesDataFrame(sl=coast, data=coastdata, match.ID = TRUE) writeOGR(coast,dsn=Kolacoast,layer=Kolacoasts,driver=ESRI Shapefile) Agus 2010/1/26 Roger Bivand roger.biv...@nhh.no On Tue, 26 Jan 2010, Agustin Lobo wrote: Hi! Package StatDA

Re: [R-sig-Geo] negative local R2 in gwr

2010-01-27 Thread Roger Bivand
, Jorge Menezes [[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 -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School

Re: [R-sig-Geo] points to lines and/or polygons

2010-01-26 Thread Roger Bivand
/listinfo/r-sig-geo -- 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.biv...@nhh.no

Re: [R-sig-Geo] Distance to (nearest) polygon

2010-01-26 Thread Roger Bivand
-- distance to the polygon border, e.g., shoreline, would be OK. There are methods for point to line segment distances in spatstat. Further, for projected (planar) coordinates, this could be added to R-Forge rgeos; for geographical coordinates Boost ggl would be needed. Roger -- Roger

Re: [R-sig-Geo] rgdal 64bit Windows version?

2010-01-25 Thread Roger Bivand
/listinfo/r-sig-geo -- 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.biv...@nhh.no

Re: [R-sig-Geo] quick projection question

2010-01-22 Thread Roger Bivand
. Roger Thanks! Julie __ [[elided Yahoo spam]] ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic

Re: [R-sig-Geo] status of gpclib licence

2010-01-19 Thread Roger Bivand
maptools from a cvs checkout from r-spatial. When I have some feedback, I'll release. Helpers very welcome! Roger Adrian Baddeley ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger

Re: [R-sig-Geo] Status of gpclib license

2010-01-17 Thread Roger Bivand
or is senility completely catching up with me. Nicholas Date: Fri, 15 Jan 2010 20:00:30 +0100 (CET) From: Roger Bivand roger.biv...@nhh.no To: rick reeves ree...@nceas.ucsb.edu Cc: r-sig-geo@stat.math.ethz.ch r-sig-geo@stat.math.ethz.ch Subject: Re: [R-sig-Geo] Alternate methods: Polygon Algebra

Re: [R-sig-Geo] Status of gpclib license

2010-01-17 Thread Roger Bivand
On Sun, 17 Jan 2010, Roger Bivand wrote: On Sun, 17 Jan 2010, Nicholas Lewin-Koh wrote: Hi, Thanks, I must be remembering something else then. I hope I am not APOE4 +/+. Hi Nicholas, ... When CRAN had few packages, and packages had few dependencies, users could control the licenses

Re: [R-sig-Geo] Alternate methods: Polygon Algebra / Polygon Overlay with R Spatial objects..

2010-01-15 Thread Roger Bivand
, Rick R -- 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.biv...@nhh.no

Re: [R-sig-Geo] Best way to calculate distance between geographicalpoints

2010-01-14 Thread Roger Bivand
signed document. ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration

Re: [R-sig-Geo] Best way to calculate distance between geographicalpoints

2010-01-14 Thread Roger Bivand
On Thu, 14 Jan 2010, Karl Ove Hufthammer wrote: On Thu, 14 Jan 2010 12:27:04 +0100 (CET) Roger Bivand roger.biv...@nhh.no wrote: So in principle geod.dist() and spDistsN1(..., longlat=TRUE) should yield equivalent results, because their assumptions are the same. Several of the references

[R-sig-Geo] Changes in the sp package

2010-01-13 Thread Roger Bivand
in advance for your cooperation, 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.biv...@nhh.no

Re: [R-sig-Geo] Is latest Rgdal support spatialite

2010-01-12 Thread Roger Bivand
/listinfo/r-sig-geo -- 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.biv...@nhh.no

Re: [R-sig-Geo] MGRS conversion

2010-01-08 Thread Roger Bivand
Nils -- 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.biv...@nhh.no ___ R-sig

Re: [R-sig-Geo] Problems reading netcdf with RGDAL

2010-01-07 Thread Roger Bivand
;, http://www.cdc.noaa.gov/cdc/data.narr.html; ; } [[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 -- Roger Bivand Economic Geography Section

Re: [R-sig-Geo] One-to-many table relationship to shapefile polygon in spplot / plot - possible?

2010-01-06 Thread Roger Bivand
25 10 OTRM 26 10 SORM 31 -- 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.biv

Re: [R-sig-Geo] Deleting shapefile polygon with no attribute / record

2010-01-06 Thread Roger Bivand
R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- 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

Re: [R-sig-Geo] (no subject)

2010-01-05 Thread Roger Bivand
Thanks in advance, Laure Please find attached the shape and the raster Vous ?tes ?tudiants ? B?n?ficiez de Windows 7 ? 35? ! D?couvrez notre offre ! _ [[elided Hotmail spam]] [[alternative HTML version deleted]] -- Roger

Re: [R-sig-Geo] prism maps

2010-01-05 Thread Roger Bivand
/mailman/listinfo/r-sig-geo -- 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.biv...@nhh.no

Re: [R-sig-Geo] Spatial correlogram - Problems with creating neigbourhood list and weights

2010-01-05 Thread Roger Bivand
version 0.4-56, Windows Vista Home Premium Service Pack 2 on Acer Extensa 5630 Dr. Diederik Strubbe Evolutionary Ecology Group Department of Biology University of Antwerp Groenenborgerlaan 171 2020 Antwerpen, Belgium tel: +32 3 265 3464 [[alternative HTML version deleted]] -- Roger

Re: [R-sig-Geo] mixed geographically weighted regression

2010-01-05 Thread Roger Bivand
. Roger Kind regards, Marco Original-Nachricht Datum: Tue, 5 Jan 2010 18:00:50 +0100 (CET) Von: Roger Bivand roger.biv...@nhh.no An: Marco Helbich marco.helb...@gmx.at CC: r-sig-geo@stat.math.ethz.ch Betreff: Re: [R-sig-Geo] mixed geographically weighted regression On Tue, 5

Re: [R-sig-Geo] Testing if a point-pattern is on a regular grid

2010-01-05 Thread Roger Bivand
-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- 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.biv

Re: [R-sig-Geo] One-to-many table relationship to shapefile polygon in spplot / plot - possible?

2010-01-05 Thread Roger Bivand
-- 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.biv...@nhh.no ___ R-sig-Geo

Re: [R-sig-Geo] Question about a spatial non-square cells error in R

2010-01-05 Thread Roger Bivand
, Nanaimo, BC V9T 6N7 joshua.mailh...@dfo-mpo.gc.ca Telephone: 250-729-8381 [[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 -- Roger Bivand Economic

Re: [R-sig-Geo] newbie rgdal projection problem

2010-01-04 Thread Roger Bivand
/library/rgdal/proj Thanks for your help, Peter -- Peter Adler Dept. of Wildland Resources and the Ecology Center 5230 Old Main Utah State University Logan, UT 84322 tel: (435) 797-1021 email: peter.ad...@usu.edu http://www.cnr.usu.edu/htm/facstaff/adler-web -- Roger Bivand Economic Geography

Re: [R-sig-Geo] How to implement Org2Org -dcso NameField=... in rgdal, writeOGR() KML

2010-01-03 Thread Roger Bivand
=NameField=var1) OK? Roger --- Roger Bivand, NHH, Helleveien 30, N-5045 Bergen, roger.biv...@nhh.no -Original Message- From: Noli Sicad [mailto:nsi...@gmail.com] Sent: Sat 02.01.2010 03:14 To: Roger Bivand Cc: sig-geo Subject: How to implement Org2Org -dcso NameField=... in rgdal

Re: [R-sig-Geo] POSIX* objects and writeOGR()

2010-01-01 Thread Roger Bivand
/listinfo/r-sig-geo -- 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.biv...@nhh.no

Re: [R-sig-Geo] Close Spatial Lines into a Polygon

2009-12-30 Thread Roger Bivand
...@gmail.com Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia -- 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

Re: [R-sig-Geo] Creating random (but believable) geographies

2009-12-28 Thread Roger Bivand
/mailman/listinfo/r-sig-geo -- 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.biv...@nhh.no

Re: [R-sig-Geo] routine write.pointShape missing from maptools under R 2.10?

2009-12-24 Thread Roger Bivand
for 'write.pointShape' and no documentation for it as a function Is write.pointShape still supported under R 2.10? Thanks, Rick R ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand

Re: [R-sig-Geo] Rshhs() import problem

2009-12-21 Thread Roger Bivand
On Wed, 9 Dec 2009, Roger Bivand wrote: On Wed, 9 Dec 2009, Maik Renner wrote: Dear R-Geographers, I am trying to use the GSHHS shoreline data for annotating my maps. I used Rgshhs() from the package maptools to import it into R as a Spatial object. However it seems that there is a problem

Re: [R-sig-Geo] ecw for rgdal package

2009-12-21 Thread Roger Bivand
from source is easier now than it was in 2007. Hope this helps, Roger Best regards Alex -- 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

Re: [R-sig-Geo] plot shape file using lattice xyplot

2009-12-17 Thread Roger Bivand
, (a)) }, ) ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography

Re: [R-sig-Geo] create nb object

2009-12-17 Thread Roger Bivand
-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- 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

Re: [R-sig-Geo] create nb object

2009-12-17 Thread Roger Bivand
in geographical coordinates (so use longlat=TRUE), but yours are fresh-water? Roger Any help would be appreciated. Pete Roger Bivand wrote: On Wed, 16 Dec 2009, Pete Larson wrote: Hello all, I have a data frame with lat and lon coordinates for some sample areas (not a grid) . I

[R-sig-Geo] Beta sp release 0.9-53 with C *Polygon* API

2009-12-17 Thread Roger Bivand
good. Running R CMD check with valgrind is also clean. Despite this, please treat the beta with appropriate caution. Extension to *Line* objects is clearly possible and may follow soon, but *Polygon* were the most pressing. Best wishes, Roger -- Roger Bivand Economic Geography Section

Re: [R-sig-Geo] How to crop a shapefile ?

2009-12-17 Thread Roger Bivand
. For this GRASS approach, see the v.overlay command. Cheers, Dylan -- 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.biv

Re: [R-sig-Geo] spplot : varying dots for multiple parameters

2009-12-14 Thread Roger Bivand
packages: [1] rgdal_0.6-23 sp_0.9-51 loaded via a namespace (and not attached): [1] grid_2.10.0 lattice_0.17-26 tools_2.10.0 ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic

Re: [R-sig-Geo] converting grid objects to spatial polygon objects and export as shapefile

2009-12-10 Thread Roger Bivand
@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- 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.biv...@nhh.no

Re: [R-sig-Geo] Rshhs() import problem

2009-12-09 Thread Roger Bivand
.zip until an update can be made. Maybe gshhs_1.12.zip will also work, but 2.0 will not, as the C struct definition has been changed. Roger Any suggestions welcome. -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business

Re: [R-sig-Geo] local R2

2009-12-07 Thread Roger Bivand
or similar. Roger Thank you in advance On Fri, Nov 27, 2009 at 1:12 PM, Roger Bivand roger.biv...@nhh.no wrote: On Fri, 27 Nov 2009, Eda Laze wrote: Hello, I am currectly using gwr in R to get local R2. I have a shape file - polygon data. When I write codes as below: case 1 and 2, I

Re: [R-sig-Geo] spgrass6 and initGRASS

2009-12-07 Thread Roger Bivand
not found Then, if I try the same commande on QGIS Metis, I got: initGRASS(C:/Program Files/Quantum GIS/grass,home=U:/Documents and Settings/pgiraudo,override=T) Error in Sys.setenv(GISRC = gisrc) : wrong length for argument Best, Patrick Roger Bivand a écrit : On Sun, 6 Dec 2009, Patrick

Re: [R-sig-Geo] spgrass6 and initGRASS

2009-12-07 Thread Roger Bivand
- this is a GRASS question much more than an R one: http://lists.osgeo.org/mailman/listinfo/grass-stats Roger Patrick Roger Bivand a écrit : On Mon, 7 Dec 2009, Patrick Giraudoux wrote: Here is the result: library(spgrass6) debug(initGRASS) initGRASS(C:/OSGeo4W/bin,home=U:/Documents

Re: [R-sig-Geo] spgrass6 and initGRASS

2009-12-06 Thread Roger Bivand
of lines earlier. Maybe the grass-stats list would have a higher proportion of users of both GRASS and R. Hope this helps, Roger Patrick -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045

Re: [R-sig-Geo] combining polygons from shapefiles...

2009-12-02 Thread Roger Bivand
___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- 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

Re: [R-sig-Geo] combining polygons from shapefiles...

2009-12-02 Thread Roger Bivand
I'll have a look at these and get back with my results. Kind regards, Sean On Wed, Dec 2, 2009 at 3:07 PM, Roger Bivand roger.biv...@nhh.no wrote: On Wed, 2 Dec 2009, Sean O'Riordain wrote: Good afternoon, I've been making good progress in the last few weeks thanks to this list, along

Re: [R-sig-Geo] convert points into SHP polygons

2009-11-28 Thread Roger Bivand
]] ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- - Jane Chang Queen's -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration

Re: [R-sig-Geo] local R2

2009-11-27 Thread Roger Bivand
and update. Though an accurate answer is very welcome. Thank you. ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School

Re: [R-sig-Geo] Assessing residual spatial autocorrelation in a Poisson or Negative Binomial model

2009-11-26 Thread Roger Bivand
-- 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.biv...@nhh.no ___ R-sig-Geo

Re: [R-sig-Geo] problem reading netcdf file with readGDAL: no bands in dataset

2009-11-26 Thread Roger Bivand
from the R-sig-geo mailing list archive at Nabble.com. ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School

Re: [R-sig-Geo] Converting nb list containing areas with no neighbours with nb2WB()

2009-11-25 Thread Roger Bivand
and the number of weights, but I would need to check with you data and code. Best wishes, Virgilio ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section

Re: [R-sig-Geo] Converting nb list containing areas with no neighbours with nb2WB()

2009-11-25 Thread Roger Bivand
and Virgilio, for your timely advice! Best regards, Xingli -Original Message- From: Roger Bivand [mailto:roger.biv...@nhh.no] Sent: Wednesday, 25 November, 2009 6:20 AM To: Xingli Giam Cc: 'Virgilio Gómez-Rubio'; R-sig-Geo@stat.math.ethz.ch Subject: Re: [R-sig-Geo] Converting nb list containing

Re: [R-sig-Geo] Map labels

2009-11-23 Thread Roger Bivand
the other arguments to text() as usual to change size, etc. If overlapping is a problem, use pointLabel() in maptools to provide alternative placings for the same set of labels and cex= value (with thanks to Tom Short). Hope this helps, Roger Many thanks, -tom -- Roger Bivand Economic

Re: [R-sig-Geo] Map labels

2009-11-23 Thread Roger Bivand
the shapefiles are from the US Census, the second by downloading the bundle from http://www.asdar-book.org/bundles/cm2_bundle.zip Roger Thanks for the help, -tom Roger Bivand roger.biv...@nhh.no wrote: This doesn't, though. When I read in my data, the IDvar is supposed to be the column

Re: [R-sig-Geo] Spatially Weighted T-Test?

2009-11-22 Thread Roger Bivand
about that? Thanks, Ezra [[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 -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian

Re: [R-sig-Geo] Writing an ASCII grid with nodata values

2009-11-21 Thread Roger Bivand
mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- 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

Re: [R-sig-Geo] thinning a SpatialPolygonsDataFrame

2009-11-19 Thread Roger Bivand
; where density4; or proc gmap map=mymap(where=(density4)); ... Meanwhile, I can't see easily how I could use shapefiles::dp() to thin my Guerry::gfrance maps, because the documentation is, shall we say, somewhat thin. -Michael Roger Bivand wrote: On Wed, 18 Nov 2009, Pinaud David wrote: Hi

Re: [R-sig-Geo] execGRASS() for r.mapcalc?

2009-11-19 Thread Roger Bivand
-sig-geo -- 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.biv...@nhh.no ___ R

Re: [R-sig-Geo] flags in execGRASS

2009-11-19 Thread Roger Bivand
? Thanks Agus ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien

Re: [R-sig-Geo] newbie questions

2009-11-16 Thread Roger Bivand
On Mon, 16 Nov 2009, Karl Ove Hufthammer wrote: On Sun, 15 Nov 2009 19:52:48 +0100 (CET) Roger Bivand roger.biv...@nhh.no wrote: Do use readShapeSpatial() (or better readOGR() in rgdal) Why (or how) is readOGR better? Because it uses OGR, with an updated rather than frozen shapelib

Re: [R-sig-Geo] newbie questions

2009-11-16 Thread Roger Bivand
On Sun, 15 Nov 2009, tom sgouros wrote: Roger Bivand roger.biv...@nhh.no wrote: I'm trying to make some simple maps of election results and I am having some trouble. I'm hoping to use Grass (or QGis) to make the maps, but apparently this requires getting my data into the shape files, and I

Re: [R-sig-Geo] spdep neighbor generation and subsequent regression analysis

2009-11-16 Thread Roger Bivand
, Jochen ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30

Re: [R-sig-Geo] newbie questions

2009-11-15 Thread Roger Bivand
. Plus it seems a ridiculous amount of work for what must be a fairly routine operation. So here's my question: I have some data I want to add to a shape file (the SHP, DBF, etc). Can I use R maptools to do that easily, and if so, how? Many thanks in advance for the help, -tom -- Roger

Re: [R-sig-Geo] sub-selecting spatial data by distance from a different point(set)

2009-11-14 Thread Roger Bivand
please? Thanks in advance, Sean O'Riordain ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics

Re: [R-sig-Geo] 3d-Shapefile in R

2009-11-13 Thread Roger Bivand
rosi.si...@eawag.ch http://www.eawag.ch/~siberros [[alternative HTML version deleted]] -- 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

Re: [R-sig-Geo] sample.Spatial question

2009-11-12 Thread Roger Bivand
https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- 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.biv...@nhh.no

Re: [R-sig-Geo] How to create a SpatialPolygonsDataFrame object

2009-11-10 Thread Roger Bivand
://stat.ethz.ch/mailman/listinfo/r-sig-geo -- 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.biv...@nhh.no

Re: [R-sig-Geo] Multiple predictors for external drift kriging

2009-11-10 Thread Roger Bivand
() - the newdata= argument works in exactly the same way. Hope this helps, Roger as I understand that newdata is the grid where it does the interpolations How can I obtained the kriged soil moisture?, what is wrong here?, Thanks, Ageel [[alternative HTML version deleted]] -- Roger

Re: [R-sig-Geo] metatdata

2009-11-09 Thread Roger Bivand
, and the history mechanism is used for lineage. Hope this helps, Roger Agus ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section, Department of Economics

Re: [R-sig-Geo] grid error for kriging

2009-11-09 Thread Roger Bivand
mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- 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

Re: [R-sig-Geo] Finding polygons corresponding to points

2009-11-09 Thread Roger Bivand
any hits in spsample (Antigua and Barbuda). Generating the point samples also involves a lot of point-in-polygon too, so making the example takes twice as long for me (10s) than doing the overlay (4s). Roger -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian

Re: [R-sig-Geo] RE : grid error for kriging

2009-11-09 Thread Roger Bivand
together. Simplify first, please. The error you reported came from wrong syntax in subsetting a SpatialGridDataFrame, whatever you may have intended. Roger Any ideas? Cheers De : Roger Bivand [roger.biv...@nhh.no] Date d'envoi : lundi, 9. novembre

Re: [R-sig-Geo] metadata

2009-11-09 Thread Roger Bivand
]] ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045

Re: [R-sig-Geo] need to create US map with colors by state

2009-11-05 Thread Roger Bivand
boundaries in the source used. Other boundaries may be found as shapefiles on the US Census site. To get to the projection used on the CDC webpage, use spTransform() in the rgdal package. Access to US data continues to please, and lead to envy! Roger Hope this helps, -- Roger Bivand

Re: [R-sig-Geo] spatstat

2009-11-03 Thread Roger Bivand
system. Roger Thanks Agus ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business

<    1   2   3   4   5   6   7   8   9   10   >