Re: [R-sig-Geo] reading img files with rgdal

2007-07-11 Thread Matthew Landis
Dear Roger, Many thanks for your rapid reply! I guess I was so caught up in the details of rgdal that I completely failed to see that obvious problem. I've managed to fix the coordinates, and now rgdal reads the image just fine. I'm still searching for a good overview of rgdal or gdal tho

[R-sig-Geo] readOGR and nonASCII character

2007-07-11 Thread Agustin Lobo
Hi list, Is there any way to get readOGR() to correctly read non-ascii character strings from the dbf file? I've checked and my dbf file correctly displays names with accents, but once read into R accents are substituted by wrong symbols. Agus -- Dr. Agustin Lobo Institut de Ciencies de la Terr

Re: [R-sig-Geo] reading img files with rgdal

2007-07-11 Thread Roger Bivand
On Wed, 11 Jul 2007, Matthew Landis wrote: > Dear R-sig-Geo, > > I'm trying to get started with rgdal, and not having much luck so far. > I'm running R 2.5.0 on an i386-pc-mingw32 with rgdal 0.5-9 and sp 0.9-14. > > For starters, I'd like to read in an .img file created in ArcGIS 9.2. As > you can

[R-sig-Geo] reading img files with rgdal

2007-07-11 Thread Matthew Landis
Dear R-sig-Geo, I'm trying to get started with rgdal, and not having much luck so far. I'm running R 2.5.0 on an i386-pc-mingw32 with rgdal 0.5-9 and sp 0.9-14. For starters, I'd like to read in an .img file created in ArcGIS 9.2. As you can see below, the file is a global map in geographic c

Re: [R-sig-Geo] OT : get lat-long coordinates

2007-07-11 Thread Christopher Paciorek
Hi Stéphane, For US locations, you might try www.nationalatlas.gov, click on MapMaker (upper left) and then 'Find' (upper right). It allows you to search by name of geographic features. I've found some small ponds by name and state using this. -chris

[R-sig-Geo] OT : get lat-long coordinates

2007-07-11 Thread Stéphane Dray
Dear list, I have a question, not directly linked to R, but I hope that some people could help me. I have a paper, where there are some data that I would like to analyse with spatial tools. In the appendix of the paper, for each site, there are some data... but I do not have the spatial coordi

Re: [R-sig-Geo] [R] Plot SpatialLinesDataFrame with xlim & ylim

2007-07-11 Thread Roger Bivand
On Wed, 11 Jul 2007, Edzer J. Pebesma wrote: > Michael, > > The plot method for SpatialLinesDataFrame objects resides in package sp, > and questions regarding it are easier noticed on the r-sig-geo mailing > list. > > The reason why they are plotted with aspect ratio 1 is that they are > assumed t

Re: [R-sig-Geo] Large dataset

2007-07-11 Thread Roger Bivand
On Wed, 11 Jul 2007, KAM Tin Seong wrote: > Hi all, I have a large dataset of 360,000 sample points. When I perform > analysis using Khat function of splancs, the following error messages > prompted: > > Error: cannot allocate vector of size 589.6 Mb > In addition: Warning messages: > 1: Reached

[R-sig-Geo] [R] Plot SpatialLinesDataFrame with xlim & ylim

2007-07-11 Thread Edzer J. Pebesma
Michael, The plot method for SpatialLinesDataFrame objects resides in package sp, and questions regarding it are easier noticed on the r-sig-geo mailing list. The reason why they are plotted with aspect ratio 1 is that they are assumed to be spatial (geographical) data, and assume that 1 m nor