the other doesn't.
The difference between NAD27 and WGS84 in Southern Mexico should be
around 200m N and 20m E. But I get
points-as.data.frame(NAD27_WGS84(points))
x y
1 0.5857494 -112.2658
2 0.5855395 -112.2768
Thanks for any advice.
Duncan Golicher
--
Dr Duncan Goliche
hanks for this Dennis. I found morphology in adehabitat does what we
needed through erosion or dilation. Good to know that there isn't
another simple way that we overlooked.
Duncan
--
Dr Duncan Golicher
Ecologia y Sistematica Terrestre
Conservación de la Biodiversidad
El Colegio de la F
disjunct polygons in R (forest fragments)? Its easy to
use centroids in spdep, but we were interested in the distances between
the edges.
Duncan
--
Dr Duncan Golicher
Ecologia y Sistematica Terrestre
Conservación de la Biodiversidad
El Colegio de la Frontera Sur
San Cristobal de Las Casas,
g R < 2.4.0, I suggest only
>upgrading when sensible.
>
>Roger
>
>
>
>>Thanks,
>>
>>Duncan
>>
>>
>>
>>
>
>
>
--
Dr Duncan Golicher
Ecologia y Sistematica Terrestre
Conservación de la Biodiversidad
El Colegio de l
I have quite a number of SpatialGridDataFrame objects that were saved
internally under R 2.3.0 and sp0.8-16. Can anyone suggest a quick and
easy way to convert them for use with R2.4.0 and sp0.9-2. (I do have
ways, but they are all a bit longwinded).
Thanks,
Duncan
--
Dr Duncan Golicher
0.9-2 I needed to fix the function spixdf2kasc in order to get
sp data into the adehabitat kasc format.
The line that reads ka <- as.data.frame(attr([EMAIL PROTECTED], "att"))
should be changed to
ka <- [EMAIL PROTECTED]
>For image manipulation rimage may be useful.
>
A simple work around is to just add some random noise to the points with
jitter.
?jitter
--
Dr Duncan Golicher
Ecologia y Sistematica Terrestre
Conservación de la Biodiversidad
El Colegio de la Frontera Sur
San Cristobal de Las Casas,
Chiapas, Mexico
Email: [EMAIL PROTECTED]
Tel: 967 674
uot;e:/",loc="wgs84",mapset="PERMANENT")
Error in gmeta() : Bad or no region for current mapset
Error in GRASS.connect(TRUE, gisdbase = "e:/", loc = "wgs84", mapset =
"PERMANENT") :
cannot retrieve window metadata from specificed loca
n then use, for example
set.cygwinstring("c/cygwin")
GRASS.connect(TRUE,gisdbase="c:/cygwin/Duncan",loc="altos",mapset="SCLC")
G<-gmeta()
d<-rast.get(G,c("dem","slope")
but I can't find the equivalent with spgrass6.
Thanks for any ad
;graphics" "grDevices" "utils" "datasets"
>[7] "base"
>
>other attached packages:
> lattice sp
>"0.13-8" "0.8-16"
>
>
>This approach is advocated for tweaking trellis plots.
>
>On Thu, July 6, 2006 17:52
ction within spplot.
>
> Try:
>
> spplot(municipios, "yourvariable", panel <- function(x,y,...){
> sp.grid(chisgrid)
> panel.polygonsplot(x,y,...)
> })
>
> Regards, Arien
>
> Duncan Golicher schreef:
>
>> Many thanks to everyone involved in putting t
t we expected or wanted. I couldn't find how to avoid
this, apart from the simple solution of ..
image(chisgrid,col=terrain.colors(20))
plot(municipios,add=T)
instead of spplot.The figures on http://r-spatial.sourceforge.net all
appear to have the grid drawn first. Is there a way to rever
12 matches
Mail list logo