Re: [R-sig-Geo] Accuracy and limitations of Raster and Vector maps

2009-08-31 Thread Mehdi Khan
curves into a grid structure? I appreciate your help, my experience only goes back 8 weeks or so with this program. Mehdi Khan On Mon, Aug 31, 2009 at 12:37 AM, Edzer Pebesma < edzer.pebe...@uni-muenster.de> wrote: > I am not sure if I can follow your reasoning. The function > Spatia

Re: [R-sig-Geo] Accuracy and limitations of Raster and Vector maps

2009-08-31 Thread Mehdi Khan
I will read up on how grids are created tomorrow, if you have any usefull links on how R connects points to form grids and vectors, please send it my way! Thank you! On Mon, Aug 31, 2009 at 12:55 AM, Mehdi Khan wrote: > For that specific problem, this is what I ended up doing: >

Re: [R-sig-Geo] Accuracy and limitations of Raster and Vector maps

2009-08-30 Thread Mehdi Khan
While looking at ?SpatialGridDataFrame, this is you get: tolerance precision up to which extent points should be exactly on a grid This is where I get that question. Does this allude to the issue you speak of (points being on the edge of two cells)? On Sun, Aug 30, 2009 at 10:36 PM, Mehdi Khan

Re: [R-sig-Geo] Accuracy and limitations of Raster and Vector maps

2009-08-30 Thread Mehdi Khan
example raster with problem points > and the code that you have been using. > > Robert > > > On Sun, Aug 30, 2009 at 6:29 PM, Mehdi Khan wrote: > >> Hello everyone, I am trying to investigate what the shortcomings may be of >> using vectors/ rasters in determining attr

[R-sig-Geo] Accuracy and limitations of Raster and Vector maps

2009-08-30 Thread Mehdi Khan
Hello everyone, I am trying to investigate what the shortcomings may be of using vectors/ rasters in determining attribute data from one program to another. My project has entailed overlaying points on different maps (vector as well as raster based) and then determining attribute data from each on

Re: [R-sig-Geo] Creating grid from xyz file

2009-08-26 Thread Mehdi Khan
) > coordinates(d) <- 1:2 > d <- SpatialPixelsDataFrame(coordinates(d), as.data.frame(d)[,3,drop = > FALSE], tolerance = 0.125) > fullgrid(d) <- TRUE > > Cheers, Mike. > > > - Original Message - > From: Mehdi Khan > Date: Thursday, August 27, 2009 6:29 >

Re: [R-sig-Geo] Creating grid from xyz file

2009-08-26 Thread Mehdi Khan
file available but it seems extremely difficult to get it to read in R. ideas? On Wed, Aug 26, 2009 at 1:19 PM, Paul Hiemstra wrote: > Mehdi Khan schreef: > >> Hello everyone, I have a table with 2 columns containing geographical >> coordinates (lat, long) and one column contain

[R-sig-Geo] Creating grid from xyz file

2009-08-26 Thread Mehdi Khan
e.usgs.gov/research/hazmaps/interactive/vs30/predefined.php I tried to use the "gridded" command, but it did not work for my data. Is there any other method? Thank you! Mehdi Khan [[alternative HTML version deleted]] ___ R-sig-Geo ma

Re: [R-sig-Geo] Overlay on raster loses points when merging with data frame

2009-08-25 Thread Mehdi Khan
e minimum/maximum limits are > included on your minimum/maximum limit of your grid; > (2) try to see a frequency table of X/Y combination, to have sure if some > of your X/Y combinations have frequencies>1. > > good luck, > > milton > > On Mon, Aug 24, 2009 at 6:24 PM, Meh

[R-sig-Geo] Overlay on raster loses points when merging with data frame

2009-08-24 Thread Mehdi Khan
-3254339 3615978 CI MGE68 330 4 15 -3257283 3597678 CI PMD 296 257 3 I am assuming there is no precision error since there are no decimals.. Thanks! Mehdi Khan [[alternative HTML version deleted]] ___ R-sig-Geo

Re: [R-sig-Geo] Creating a Grid out of a matrix of coordinates

2009-08-21 Thread Mehdi Khan
obj) = TRUE > > or shorthand: > > gridded(myobj) = ~x+y > > cheers, > Paul > > Mehdi Khan schreef: > >> Hello, I have a matrix 1.5 million rows long.. >> >> wald: >> >> coordinates V3 >> 1 (-124.996, 42.0458) 150 >> 2 (-124

[R-sig-Geo] Creating a Grid out of a matrix of coordinates

2009-08-21 Thread Mehdi Khan
(-124.929, 42.0458) 150 10 (-124.921, 42.0458) 150 > I would like to coerce this into a grid object so that I can overlay points onto it. How exactly could I accomplish that? Thank you!! Mehdi Khan [[alternative HTML version deleted]] ___ R-sig-

[R-sig-Geo] Adjusting axis on strip plot

2009-08-18 Thread Mehdi Khan
Hello, I have a relatively simple question: I want to define the axis tick marks, and more importantly, the scale of the axis. How would I do that? Thank you! sample code: stripplot(jitter(wills.vs30) ~tif.vs30 , xlim=c(0, 1000), ylim=c(0,3000), data = completetabledf) thank you! Mehdi

[R-sig-Geo] projectRaster function

2009-08-11 Thread Mehdi Khan
ename: calitiffile.tif thanks!!! Mehdi Khan [[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

[R-sig-Geo] Points in Polygon question

2009-07-29 Thread Mehdi Khan
ame$X, shearveldataframe$Y, clahancoordattr$x, clahancoordattr$y) the result is an array of 0 and 1s. What I should be getting are almost all 1s (if we plot the two files all the points lie within the shape file boundaries. Am I interpreting the array correctly? Thank you! Mehdi K

Re: [R-sig-Geo] Creating an attribute table from 3 different files

2009-07-20 Thread Mehdi Khan
I figured out the first problem by first coercing the attribute vector into a data frame and then using the spatialpointsdataframe command to merge it with the coordinate matrix. On Sun, Jul 19, 2009 at 7:59 PM, Mehdi Khan wrote: > > Greetings, > > I have a shape file, a tiff file,

[R-sig-Geo] Fwd: Creating an attribute table from 3 different files

2009-07-19 Thread Mehdi Khan
into one once (1) is resolved, in which the combination takes in to account placing values within the correct coordinate row? Help is much appreciated, and due apologies for the lengthy email! Thank you all! Mehdi Khan [[alternative HTML version deleted]] __