Hi Zia,
Can I suggest that you have a good read of
?list.files
and in particular the section on pattern=...
and possibly also
?glob2rx
so you might be modifying Matt's script by changing to
list.files(glob2rx('poly_shape.*.shp'))
or similar
cheers,
Sean
On Thu, Jan 21, 2010 at 2:40 AM, Zia Ah
Hi Matt,
Your code work perfectly. As a test run, I am able to merge lower 48
states and create a polygon of Con. USA when all files are in one
folder. But SSURGO data organized like following way (not exactly)
state_name (wd)/
state_001 (subfolder)/spatial/several shape files (a_s
Patrick, that was the main point of the package, that you could easily plot
on the mp canvas anything that R offers in terms of plotting, so overlaying
points and lines is its main functionality !
PlotOnStaticMap() has an argument FUN which by default is points but if you
change that to lines it'l
Thank you so much Matt. I will try this code with my data. I like to
merge all shape files of a county (SSURGO polygons) and want to
create a single shape file for a state. I did it before for 15 states
of NE-region of USA. I used ArcGIS. I do not like to work with ArcGIS.
I now it is not po
Thanks. This has been very helpful and I am very appreciative. A few more
queries I have though, if you don't mind.
Is there an easy to way to plot axes onto the png? I am trying to make an
'atlas' of an area to create a printable map that is gridded by the
lat/longs. I basically have an area of i
Thanks! I am trying to write a function to merge or combine several
shape files.
First I try to use following function when all shape files in one
folder. It showed error.
setwd("E:/Zia/SURRGO_Data/SSURGO_RAW_DATA/Test1")
library(rgdal)
## obtain shapefile names in current directory
fs <- lis
Dear all,
I believe that this conference will be of interest to some of the people on
this list.
We are hoping to organise a specific session(s) on spatial and spatio-temporal
data analysis, depending on the number of submissions. There will also
be a 3-hour tutorial on spatial data analysis the
ation from ESET Mail Security, version of virus signature
database 4788 (20100120) __
The message was checked by ESET Mail Security.
http://www.eset.com
___
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listi