n attribute to the Monarch
Station Locations File: 'newcol'
cbind(monarchstaswith...@data,newcol)
}
# Write the output file
writePointsShape(monarchStasWithGDD,outFileName)
}
}
####
On 10/26/2010 1:09 PM, Edzer Pebesma wrote:
Are you
Hello:
I note a conflict in the documentation for Intamap/interpolate(), need
to know how to resolve:
I have two SpatalPointsDataFrame objects:
growingDegreeObservations <- readShapePoints("OhioGDDStationsGP.shp")
# computed surface phenomena, for individual lat/lon points
OrgStaLocs <- r
___
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
--
Rick Reeves
Scientific Programmer/Analyst and Data Manager
National Center for Ecological Analysis and Synthesis
UC Santa Barbara
www.nceas.ucsb.edu
805
-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
--
Rick Reeves
Scientific Programmer/Analyst and Data Manager
National Center for Ecological Analysis and Synthesis
UC Santa Barbara
www.nceas.ucsb.edu
805 892 2533
s.
Question: What has changed in R 2.9 and later? Is this technique
deprecated, and is there a better
way of creating such a point list?
Thanks,
Rick R
< Attached zip file contains the script and sample data set>
--
Rick Reeves
Scientific Programmer/Analyst and Data
at operate on the
Spatial classes?
If not, are there any alternatives to the PBSmapping methods?
Thanks,
Rick R
--
Rick Reeves
Scientific Programmer/Analyst and Data Manager
National Center for Ecological Analysis and Synthesis
UC Santa Barbara
www.nceas.ucsb.edu
80
binary file, not a complete line.
Say I want to read values 3, 7, and 10, process them, write the result, and
then read values 4, 5, and 17. How do I direct readBin to those specific
values? Thanks.
You need to seek help. Or help(seek). Yes really.
Barry
--
Rick Reeves
Sci
data set and let me know
where I might be mistaken!
Thanks,
Rick Reeves
--
Rick Reeves
Scientific Programmer/Analyst and Data Manager
National Center for Ecological Analysis and Synthesis
UC Santa Barbara
www.nceas.ucsb.edu
805 892 2533
___
R-sig-G
n't built the rgdal library on their machines.
Or, is there another way?
Thanks,
Rick R
--
Rick Reeves
Scientific Programmer/Analyst and Data Manager
National Center for Ecological Analysis and Synthesis
UC Santa Barbara
www.nceas.ucsb.edu
805 892 2533
___
Elevation")
Hope this helps, pls feel free to send more information!
Rick Reeves
Struve, Juliane wrote:
Dear list,
I am trying to incoporate spatial information (for example distance) into a
movement model by reading an ascii -b converted raster and matching the raster
with points of a
ot; "y"
.. .. ..$ : chr [1:2] "min" "max"
..@ proj4string:Formal class 'CRS' [package "sp"] with 1 slots
.. .. ..@ projargs: chr NA
Warning message:
In data.row.names(row.names, rowsi, i) :
some row.names duplicated:
2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37
v.net.path might work for you.
There is a good data interface between R and GRASS: see the spgrass6
package.
Rick Reeves
Huizhu "Chrissy" Li wrote:
Dear All,
I am working on a project which involves shortest path, cost distance analysis.
I could not find any package in R that c
___
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
--
Rick Reeves
Scientific Programmer/Analyst and Data Manager
National Center for Ecological Analysis and Synthesis
UC Santa Barbara
www.nceas.ucsb.edu
805 892 2533
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
--
Rick Reeves
Scientific Programmer/Analyst and Data Manager
National Center for Ecological Analysis and Synthesis
UC Santa Barbara
www.nceas.ucsb.edu
805 892 2533
___
R-sig-Geo mailing list
R-sig-Geo@st
ryrawlins.googlepages.com<http://barryrawlins.googlepages.com/>
--
Rick Reeves
Scientific Programmer/Analyst and Data Manager
National Center for Ecological Analysis and Synthesis
UC Santa Barbara
www.nceas.ucsb.edu
805 892 2533
___
R-sig-Geo mailing li
/SampleVectorPolysRastGrid.html
You could modify this example to randomly select a point inside each
polygon from the point grid (or a similar modification).
Hope this helps..
Rick Reeves
Heuvelink, Gerard wrote:
Dear list,
I use readShapePoly to import a shape file. The file has multiple polygons (actually, a
Dave:
Here is one place to obtain the Digital Chart of the World, which should
be more accurate:
http://www.maproom.psu.edu/dcw/ (Penn State University DCW Server)
Get the shape files, use R maptools routines (e.g., ReadShapePoly) to
read the files.
Hope this helps,
Rick Reeves
Dave
emory
limitations.
http://www.nceas.ucsb.edu/scicomp/GISSeminar/UseCases/SampleVectorPolygonsRasterGrid/SampleVectorPolysRastGrid.html
I might suggest the use of GRASS for this task.
Rick Reeves
Dylan Beaudette wrote:
On Wednesday 10 December 2008, Rob Robinson wrote:
Help - please! :-)
I have w
Hi:
Check out the FindPolys method in the PBSMapping package. here is a code
snippet from a larger example:
(I will be extracting a simpler use case for distribution soon, but this
will give you the general idea
HucPolys = readShapePoly("AllHucsMerged")
DamPoints = readShapePoints("Part1D
Mary:
Have a look at this tutorial:
http://nceas.ucsb.edu/scicomp/GISSeminar/UseCases/AssignClosestPointsR/AssignClosestPointsR.html
Uses R, which has a good set of geospatial analysis functions. This web
site has several other examples!
Hope this helps,
Rick Reeves
[EMAIL PROTECTED
the two systems)
You might check out the GIS links on the attached page to get a
bird's-eye view of GRASS:
http://nceas.ucsb.edu/scicomp/SoftwareLinks.html
You would have to be creative in your use of coordinate systems, but you
could solve this
problem using GRASS GIS.
Regards,
Rick R
nd.
http://nceas.ucsb.edu/scicomp/GISSeminar/UseCases/MapProdWithRGraphics/OneMapProdWithRGraphics.html
Regards,
Rick Reeves
Mathieu Basille wrote:
Hello everyone,
I'm not very familiar with visualization of spatial objects in R,
especially with the possibilities of the spplot functio
classes.
Thanks for any insight into this!
Rick Reeves
begin:vcard
fn:Rick Reeves
n:Reeves;Rick
org:UC Santa Barbara;National Center For Ecological Analysis and Synthesis
adr:Suite 300;;735 State Street;Santa Barbara;CA;93101;USA
email;internet:[EMAIL PROTECTED]
title:Rick Reeves, Scientific
map)
Best Regards,
Rick Reeves
Tom Sgouros wrote:
Hello all:
I was referred to this list when I asked a question on the r-help list
about mapping. Unfortunately, I seem to be a little late to the party,
and a couple of weeks of monitoring the traffic have left me no more
enlightened than I
Debs (and list)
Please forgive the oversignt: that post contained two errors:
pcrds <- cbind(tritest.vp[[8]][,1],tritest.vp[[8]][,2] )
replaced by
pcrds <- cbind(tritest.vp[[i]][,1],tritest.vp[[i]][,2] )
and this line should be removed:
points(crds)
Thanks, Rick R
here is a correct
)
library(maptools)
writePolyShape(SPDF1, "hex")
}
Debarchaa Ghosh wrote:
Hi Rick,
Thanks for your help. I'll be looking forward to your script.
Thanks,
Debs.
Rick Reeves wrote:
Hello Debs:
Yes, this can be done by 'promoting' the polygons generated by the
trip
;> # display list entries for first two points
>> #
>> pt1 = list("sp.text",c(LatLongs[1,1],LatLongs[1,2]),ss[1],col="white",pos=2)
>> pt2 = list("sp.text",c(LatLongs[2,1],LatLongs[2,2]),ss[2],col="white",pos=2)
>> #
>> #
since
it has the most
straightforward input data requirements.
Hope this helps,
Rick Reeves
--
Rick Reeves
Scientific Programmer / Analyst
National Center for Ecological Analysis and Synthesis
UC Santa Barbara
[EMAIL PROTECTED]
www.nceas.ucsb.edu
805 892 2533
daiconnie wrote:
Hi, everyo
proj4string is not NA, then you can use spTransform:
d.ll <- spTransform(d, CRS("+proj=longlat"))
Otherwise, you can project that matrix of coordinates with (if "m" is a
matrix of your polygon centroids)
x.ll <- project(m, "insert non-NA p4string here", inv = T)
Do
translate them to Lat/Long coordinates?
Thanks,
Rick Reeves
--
Rick Reeves
Scientific Programmer / Analyst
National Center for Ecological Analysis and Synthesis
UC Santa Barbara
[EMAIL PROTECTED]
www.nceas.ucsb.edu
805 892 2533
begin:vcard
fn:Rick Reeves
n:Reeves;Rick
org:UC Santa Barba
s shapefile using the PBSmapping tools.
Has anyone else encountered and/or repaired this?
Plan B would be to convert the Map object TriCounty into
a PolySet or PolyData used by PBSmapping package, but
so far I have not worked this out. Any suggestions?
Thanks, Rick Reeves
NCEAS / UC Santa Barbara
d the issue of processing multiple-band HDF4 files
with R / rgdal?
Cheers,
--
Rick Reeves
Scientific Programmer / Analyst
National Center for Ecological Analysis and Synthesis
UC Santa Barbara
[EMAIL PROTECTED]
www.nceas.ucsb.edu
805 892 2533
begin:vcard
fn:Rick Reeves
n:Reeves;Rick
org:UC Sa
4.2r1-linux,
but neither hdf4 or mfhdf lib found."
Google search reveals that several others have encountered this issue
in the past, but no solution is posted.
Has anyone encountered and perhaps resolved this?
Thanks in advance,
Rick Reeves
--
Rick Reeves
Scientific Programmer / Analyst
the R HDF5 library routine hdf5load(), which seems to
read the new .hdf5 format
but NOT the older .hdf format (I tried, unsuccessfully)
Question is: Has anyone developed a technique to read HDF files with R?
Thanks in advance, Rick R
--Rick Reeves
Scientific Programmer / Analyst
National C
library routine hdf5load(), which seems to read
the new .hdf5 format
but NOT the older .hdf format (I tried, unsuccessfully)
Question is: Has anyone developed a technique to read HDF files with R?
Thanks in advance, Rick R
--
Rick Reeves
Scientific Programmer / Analyst
National Center for
active R users and I am working to
post a series of geospatial data processing
tutorials for our residents. Stay tuned for more as soon as I can
produce them
Regards,
Rick Reeves
Scientific Programmer
National Center for Ecological Analysis and Synthesis/ UC Santa Barbara
Wang, Hao wrote:
Hi
t;,
#
SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
Please see attached jpg for the 'big picture'
Many thanks for any suggestions!
Regards,
Rick Reeves
UCSB / NCEAS
--
Rick Reeves
Scie
nyone explored (and returned alive from) the upper limits of
R Matrix and SparseM problem sizes?
Thanks in advance for any insights!
Rick Reeves
--
Rick Reeves
Scientific Programmer Analyst
National Center for Ecological Analysis and Synthesis (NCEAS)
University of California, Santa Barbara
[
Mr. Zhang:
There are many good summaries on the Internet: Google 'spatial
coordinate systems'
Here is a good example...
http://www.environment.sa.gov.au/mapland/sicom/sicom/tp_scs.html
Best of luck!
Rick Reeves,
UC Santa Barbara
NCEAS
www.nceas.ucsb.edu
zhijie zhang wrote:
>
o the voronoi.mosaic()
method. For example, if the coordinates are expressed in decimal
degrees, then the cell side lengths
are also expressed in decimal degrees and the cell areas would be in
units of decimal degrees ** 2.
Can someone affirm or correct this assumption?
Thanks,
Rick R
--
Rick R
both a SpatialPolygon and SpatialPolygonDataFrame objects to use
as input...
Thanks, RR
--
Rick Reeves
Scientific ProgrammerAnalyst
National Center for Ecological Analysis and Synthesis (NCEAS)
University of California, Santa Barbara
[EMAIL PROTECTED]
805 892
rings".
Even loading the spmaptools package does
not resolve this problem.
Any suggestions on resolving this issue?
Thanks, Rick Reeves
Now, R reports that
# --start ---
#
Srsl <- vector(mode="list", length=length(AllSps))
#
# Srings object com
tance.
Thanks,
Rick R
--
Rick Reeves
Scientific ProgrammerAnalyst
National Center for Ecological Analysis and Synthesis (NCEAS)
University of California, Santa Barbara
[EMAIL PROTECTED]
805 892 2533
___
R-sig-Geo mailing list
R-sig-Geo@stat.math.et
?
Thanks!
Rick Reeves
Scientific Programmer / Quantitative Analyst
National Center for Ecological Analysis and Synthesis
University of California, Santa Barbara
805 892 2534
[EMAIL PROTECTED]
___
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https
44 matches
Mail list logo