Re: [R-sig-Geo] Good projection for N/S America?

2007-04-09 Thread White . Denis
Roger Bivand <[EMAIL PROTECTED]> wrote on 2007-04-09 13:52:45: > On Mon, 9 Apr 2007 [EMAIL PROTECTED] wrote: > > > Roger's solution makes sense to me. > > > > The sinusoidal does have the appearance of pinching poleward, a > > consequence of allocating equal area by spacing equally in both x and y

Re: [R-sig-Geo] Good projection for N/S America?

2007-04-09 Thread White . Denis
Roger's solution makes sense to me. The sinusoidal does have the appearance of pinching poleward, a consequence of allocating equal area by spacing equally in both x and y. Also the Lambert cylindrical sent in before should have had standard parallels set to +/- 30, i.e., (See attached file: whem

Re: [R-sig-Geo] Good projection for N/S America?

2007-04-09 Thread White . Denis
For preview graphics and for large areas such as continents, large countries, hemispheres, or the whole earth, spherical projections are often adequate. I can provide some of the ones I have used. For detailed work at sites and small areas, ellipsoidal projections such as UTM are usually used, an

[R-sig-Geo] agenda for R's Geo capabilities?

2007-03-16 Thread White . Denis
The thread below and many others in R-sig-Geo raise questions about future directions. In reinventing GIS there are a whole list of capabilities and functions that would be helpful. Some that I have noticed include, Topological representation to enable Planar enforcement of boundary integr

Re: [R-sig-Geo] classInterval(style="fisher") vs. ArcView GIS natural breaks

2007-03-16 Thread White . Denis
Just found out a little about this in ArcGIS (ArcMap), version 9.1. Yes, apparently with large datasets, the "natural breaks" classification (and maybe others like quantile) does sample. However, it is possible to change the sample size by clicking the "Sampling" button in the Classification windo

Re: [R-sig-Geo] Identifying overlapping polygons

2007-02-09 Thread White . Denis
[EMAIL PROTECTED] wrote on 2007-02-09 13:27:13: > Andrew, > > Util the functionality is programmed in, here is a quick approximation > to what you want: > > 1. generate a large number of random (or gridded) points within the > polygon of interest in the first object (sample.polygon function in > p

Re: [R-sig-Geo] calculating area

2007-01-26 Thread White . Denis
[EMAIL PROTECTED] wrote on 2007-01-26 00:34:22: > On Fri, 26 Jan 2007, Pedro S. A. Wolf wrote: > > > I am a psychology student who has been using R to analyze experimental data > > mainly within the general linear model for about 2 years. I have some > > working knowledge with R, but by no means

Re: [R-sig-Geo] group data into squares [map projection]

2006-11-29 Thread White . Denis
Luis Ridao Cruz <[EMAIL PROTECTED]> wrote on 2006-11-29 03:40:25: > R-sig-geo-help, > > I have locations of fish abundance > which I want to aggregate into squares. > > The code below creates the grid: > > > library(sp) > test <- GridTopology(c(-10.5,60),c(0.1,0.1),c(67,35)) > coordinates(test) >

Re: [R-sig-Geo] group data into squares

2006-11-29 Thread White . Denis
Luis Ridao Cruz <[EMAIL PROTECTED]> wrote on 2006-11-29 03:40:25: > R-sig-geo-help, > > I have locations of fish abundance > which I want to aggregate into squares. > > The code below creates the grid: > > > library(sp) > test <- GridTopology(c(-10.5,60),c(0.1,0.1),c(67,35)) > coordinates(test) >

Re: [R-sig-Geo] GRASS with R and distances between polygon edges

2006-10-30 Thread White . Denis
Duncan Golicher <[EMAIL PROTECTED]> wrote on 2006-10-30 08:09:49: > ... > > Also while posting, can anyone suggest a way of measuring the closest > distance between disjunct polygons in R (forest fragments)? Its easy to > use centroids in spdep, but we were interested in the distances between > th

Re: [R-sig-Geo] correlogram for categorical data

2006-10-20 Thread White . Denis
Roger Bivand <[EMAIL PROTECTED]> wrote on 2006-10-19 00:05:31: > On Wed, 18 Oct 2006 [EMAIL PROTECTED] wrote: > > > I have a 1000 x 1000 grid of categorical values (nine of these) and want > > to compute and plot a correlogram. Function cell2nb() will take a while > > it appears but if that succe

Re: [R-sig-Geo] correlogram for categorical data

2006-10-20 Thread White . Denis
-Roger Bivand <[EMAIL PROTECTED]> wrote: -On Wed, 18 Oct 2006 [EMAIL PROTECTED] wrote:> I have a 1000 x 1000 grid of categorical values (nine of these) and want> to compute and plot a correlogram.  Function cell2nb() will take a while> it appears but if that succeeds then can methods of sp.

Re: [R-sig-Geo] correlogram for categorical data

2006-10-19 Thread White . Denis
Yes, a "joincountogram" is the idea. Thanks for advice on size, I'll try scaling up. Roger Bivand <[EMAIL PROTECTED]> wrote on 2006-10-19 00:05:31: > On Wed, 18 Oct 2006 [EMAIL PROTECTED] wrote: > > > I have a 1000 x 1000 grid of categorical values (nine of > these) and want > > to compute and

[R-sig-Geo] correlogram for categorical data

2006-10-18 Thread White . Denis
I have a 1000 x 1000 grid of categorical values (nine of these) and want to compute and plot a correlogram. Function cell2nb() will take a while it appears but if that succeeds then can methods of sp.correlogram() be used on categorical data? What are "style" options in sp.correlogram()? thanks,

Re: [R-sig-Geo] Computing polygon area with decimal degree coordinates

2006-06-02 Thread White . Denis
Computing area on the spheroid: Kimerling AJ. 1984. Area computation from geodetic coordinates on the spheroid. Surveying and Mapping 44(4):343-351. Measuring distortion: Many cartography texts cover this. Analytical formulas for computing distortion were developed by Tissot in the 19th century.

[R-sig-Geo] t-test with autocorrelation correction

2006-05-11 Thread White . Denis
Has anyone implemented a t-test with the effective sample size correction proposed by Dale and Fortin, Ecoscience 9(2):162-167, 2002, using a discussion by Cressie, 1993, page 15? thanks, Denis ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch http

Re: [R-sig-Geo] Grid projections and spatial matrices

2006-01-31 Thread White . Denis
[EMAIL PROTECTED] wrote: - To: r-sig-geo@stat.math.ethz.ch From: Colin Beale <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] Date: 31.01.2006 08:20 Subject: [R-sig-Geo] Grid projections and spatial matrices Hi, Two questions really (elaborated below): (1) Has anyone created what is essentially

Re: [R-sig-Geo] Maps across the dateline

2006-01-19 Thread White . Denis
>I'm trying to plot some >data for the Pacific Ocean and want to get a map onto my plot as >well. >I'm using the function 'map()' from library(maps). However, I cannot >get it to plot anything across the dateline since it requires that >longitudes between 180 and 360 degrees east to be written as

Re: [R-sig-Geo] Generating random points

2005-09-13 Thread White . Denis
csr package:splancs R Documentation Generate completely spatially random points on a polygon Description: Generate completely spatially random points on a polygon. Usage: csr(poly,npoints) Arguments: poly: A polygon data set. npoints: The numbe

Re: [R-sig-Geo] Plotting an image on a stereographic grid orientation

2005-08-12 Thread White . Denis
Here is a script using two functions. I hope this helps. Note that this version of the stereographic projection uses a spherical model of the earth not an ellipsoidal, and is set up for the north polar aspect of the projection, since that appears to be most appropriate for the kind of data you ha