e information at
> https://modtools.wordpress.com/packages/fuzzysim/
>
> Regards,
>
> El vie, 27 sept 2024 a las 12:29, Manuel Spínola ()
> escribió:
>
>> Thank you very much Marcelino and MIke.
>>
>> spmodel should be a good option. I also learned that CARBayes also works
&g
pmodel/index.html
> Mike
>
> On Thursday, September 26, 2024, Marcelino de la Cruz Rot <
> marcelino.delac...@urjc.es> wrote:
> >
> > https://cran.r-project.org/package=dismo
> >
> > https://rspatial.org/sdm/index.html
> >
> >
> > El 26/09/2024
Dear list members,
Are there any R packages focused on species distribution models based on
areal data (specifically grids) instead of point pattern?
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
e
>
> On Monday, September 23, 2024, Manuel Spínola
> wrote:
> > Thank you very much Dexter.
> >
> > Manuel
> >
> > El lun, 23 sept 2024 a las 16:29, Dexter Locke ( >)
> > escribió:
> >
> >> or in a tidy way
> >>
> >>
On Sep 23, 2024, at 5:55 PM, Josiah Parry wrote:
>
> nc <- sf::st_read(system.file("shape/nc.shp", package = "sf"))
>
>
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Her
4. Use those as an index to subset from
>
> nc <- sf::st_read(system.file("shape/nc.shp", package = "sf"))
>
> n <- 10
> idx <- sample(1:nrow(nc), n)
> nc[idx, ]
>
> On Mon, Sep 23, 2024 at 2:45 PM Manuel Spínola
> wrote:
>
>> Dear
Dear list members,
How can I select polygons at random from an sf or terra vector (polygon or
multipolygon geometry).
For example for the nc file:
nc = st_read(system.file("shape/nc.shp", package="sf"))
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Cons
Thank you very much!
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr
mspinol...@gmail.com
Teléfono: (506) 8706 - 4662
Sitio web institucional: ICOMVIS
<h
Dear list members,
Is there an R package or a way to obtain with R night lights for a specific
region or country?
I found 2 packages but they are outdated, rnighlights and nightlights.
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Dear list members,
Is there a way in R or an R example code to model land use/land cover under
climate change scenario.
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr
mspinol
__________
> From: R-sig-Geo on behalf of Manuel
> Spínola
> Sent: 08 April 2024 13:47
> To: Jin Li
> Cc: r-sig-geo
> Subject: Re: [R-sig-Geo] R packages for multivariate spatial models
>
> [You don't often get email from mspinol...@gmail.com. L
information, please see "Spatial Predictive
> Modeling with R" that provides many reproducible examples of these methods.
>
> Hope this helps,
>
> On Mon, Apr 8, 2024 at 7:14 AM Manuel Spínola
> wrote:
>
>> Dear list members,
>>
>> I am lo
Dear list members,
I am looking for suggestions of R packages to fit multivariate spatial
models.
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr
mspinol...@gmail.com
t 9:36 PM Ben Tupper wrote:
>
>> Hi,
>>
>> Perhaps this might be a good place to start?
>>
>> https://esajournals.onlinelibrary.wiley.com/doi/10.1002/eap.1898 The
>> authors state that the work was done primarily in R.
>>
>> Cheers,
>> Ben
&
Dear list members,
I am looking for suggestions for R packages or an approach using R for
wildfire risk analysis.
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr
I also echo all this comments.
Very grateful for Roger Bivand effort.
Manuel
On Tue, 3 Oct 2023 at 07:41 Sean Trende via R-sig-Geo <
r-sig-geo@r-project.org> wrote:
> Agreed 100%. I'm blown away by the amount of work and care that you put
> into helping people use these packages. I never would
verlap for a given size. You'd probably also want tiling enabled and
> choose a particular tile size (perhaps to match the next resolution down).
> And I'd definitely want to make sure my extent was clean whole numbers and
> choose sensible sized zoom and tile levels.
>
> Che
t;) escribió:
>
> g_25000_c_polygons_only <- g_25000_c[st_is(x = g_25000_c, type =
> "POLYGON"),] # with a comma
>
>
> El 10/02/2023 a las 21:33, Manuel Spínola escribió:
> > Thnak you very much Bede-Fazekas.
> >
> > I got the following error:
> >
> > g_
elino
>
>
>
>
>
>
>
> >
> >> library(maptools)
> >> R <- as(affine(letterR, mat=diag(c(20,20))), "SpatialPolygons")
> >> plot(R, border="blue")
> >>
> >> # "overimpose" grids A to C on R:
> &
gt; result is GEOMETRY if the type of the different features is not the same
> > (e.g. POLYGON+POINT).
> > You can subset the result in this way:
> > g_25000_c_polygons_only <- g_25000_c[st_is(x = g_25000_c, type =
> > "POLYGON")]
> >
> > HTH,
> > Ákos
> > ___
his way:
> g_25000_c_polygons_only <- g_25000_c[st_is(x = g_25000_c, type =
> "POLYGON")]
>
> HTH,
> Ákos
> ___
> Ákos Bede-Fazekas
> Centre for Ecological Research, Hungary
>
> 2023.02.10. 18:32 keltezéssel, Manuel Spínola írta:
> > Dear l
;- st_intersection(g_25000, g_5_d)
g_25000_c # Geometry type: GEOMETRY
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr
mspinol...@gmail.com
Teléfono: (50
0))), "SpatialPolygons")
> > plot(R, border="blue")
> >
> > # "overimpose" grids A to C on R:
> > plot(C, border="green", add=T)
> > plot(B, border="red", add=T)
> > plot(A, add=T)
> >
> > Cheers,
>
lt;- as(affine(letterR, mat=diag(c(20,20))), "SpatialPolygons")
> plot(R, border="blue")
>
> # "overimpose" grids A to C on R:
> plot(C, border="green", add=T)
> plot(B, border="red", add=T)
> plot(A, add=T)
>
> Cheers,
> Mar
Física y Química Inorgánica
> Universidad Rey Juan Carlos
> Móstoles España
>
> ___
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
*Manuel Spínola, Ph.D.*
Instit
Dear list members,
Is it possible to generate a spatial nested grid in R?
For example, a grid of several 8km x 8km tiles, and within that grid, I
want 4 tiles of 4km x 4km, and in each of those I want 4 tiles of 2km x
2km, and in each of those I want 4 tiles of 1km x 1km.
Manuel
--
*Manuel
Dear list members,
I would like to announce 2 R packages with geospatial data:
cageo, an R package with geospatial data of Central America.
https://github.com/ManuelSpinola/cageo
crgeo, an R package with geospatial data of Costa Rica
https://github.com/ManuelSpinola/crgeo
--
*Manuel Spínola
scientific paper about this:
> https://www.sciencedirect.com/science/article/pii/S1364815223000130?dgcid=rss_sd_all
> Please note that it is about daily climate instead of long-term averages.
>
> HTH,
> Ákos
> _
> Ákos Bede-Fazekas
> Centre for Ecological Research, H
Thank you very much Edzer.
El mié, 25 ene 2023 a las 9:00, Edzer Pebesma (<
edzer.pebe...@uni-muenster.de>) escribió:
>
>
> On 25/01/2023 15:48, Manuel Spínola wrote:
> > Thank you very much Ákos.
> >
> > It didn't work either.
> >
> > Is ther
p126_2021-2040.tif
>
> Have a nice week,
> Ákos
>
> _
> Ákos Bede-Fazekas
> Centre for Ecological Research, Hungary
>
> 2023.01.24. 23:29 keltezéssel, Manuel Spínola írta:
> > Dear list members,
> >
> > I am trying to download CMIP6 climate model data
0s_bioc_ACCESS-CM2_ssp126_2021-2040_tile-28.tif
'
download failed
I cannot even download the data using the worldclim website.
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin.
Dear list members,
When using the terra package:
f <- system.file("ex/lux.shp", package="terra")
v <- vect(f)
r <- rast(v, ncols=75, nrows=100)
z <- rasterize(v, r, "NAME_2")
plot(z)
lines(v)
How can I obtain the same result using st_rasterize from
which touch too. To avoid this behaviour you can specify
> the .predicate argument to another option like st_within as in:
>
> nc_filter <- st_filter(nc, nc_smaller, .predicate = st_within)
>
> Hope this helps.
>
> All the best,
>
> Matt
>
> On 2021-06-30 16:52, M
ID %in% c(1825, 1827, 1828))
nc_filter <- st_filter(nc, nc_smaller)
The nc_smaller has 3 features, but the nc_filter ended with 8 features. I
was expecting to have on 3 features in the nc_filter.
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo
columns
from your shapes
dplyr::summarize(len_m = sum(len_m))
but the grid has 613 features and the final object has 556 because some of
the hexagons do not have roads inside.
How can I keep the 615 hexagons in the final object even those one having a
value of 0 road?
--
*Manuel Spínola, Ph.D
1 a las 1:02, Edzer Pebesma ()
escribió:
>
>
> On 07/06/2021 01:16, Manuel Spínola wrote:
> > Dear list members,
> >
> > When using st_transform in a stars object the offset and delta parameters
> > become NA, is this an expected behavior?
>
> Yes, it also
Dear list members,
When using st_transform in a stars object the offset and delta parameters
become NA, is this an expected behavior?
geomatrix = system.file("tif/geomatrix.tif", package = "stars")
x = read_stars(geomatrix)
new = st_crs(4326)
y = st_transform(x, new)
y
;,"TIRAST6")]
mB <- train.spLearner(eberg["Parabraunerde"], covariates=X,
family=binomial(), cov.model = "nugget", parallel=FALSE)
eberg.Parabraunerde <- predict(mB)
eberg.Parabraunerde$pred
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Con
Thank you very much Edzer.
El mar, 1 jun 2021 a las 11:59, Edzer Pebesma (<
edzer.pebe...@uni-muenster.de>) escribió:
>
>
>
> On 01/06/2021 19:15, Manuel Spínola wrote:
> > Thank you very much Edzer.
> >
> > What about the labels of the stripes?
> >
&g
raster 02")
ggplot() +
geom_stars(data = s2) +
facet_wrap(~attributes, labeller = labeller(attributes = n)) +
coord_equal()
El mar, 1 jun 2021 a las 10:54, Edzer Pebesma (<
edzer.pebe...@uni-muenster.de>) escribió:
>
>
> On 01/06/2021 18:43, Manuel Spínola wrote:
> >
uot;, package="raster"))
s1 <- c(r, r*2)
ggplot() +
geom_stars(data = s1) +
coord_equal() +
facet_wrap(~ band)
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@un
,
Manuel
El mié, 31 mar 2021 a las 13:07, Roger Bivand ()
escribió:
> On Wed, 31 Mar 2021, Manuel Spínola wrote:
>
> > Thank you very much Roger.
> >
> > I reinstalled the sf and rgdal packages from binaries and the problem
> > persisted.
>
> This must be eith
045 Bergen, Norway
> roger.biv...@nhh.no
>
>
> ________
> Fra: R-sig-Geo på vegne av Manuel
> Spínola
> Sendt: onsdag 31. mars 2021 17.55
> Til: r-sig-geo
> Emne: [R-sig-Geo] R crashes when reading geopackage files with st_read (sf
&g
)
world = st_read(system.file("shapes/world.gpkg", package = "spData"))
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr
mspinol...@gmail.com
Teléfon
Thank you very much Roger.
Manuel
El vie, 26 mar 2021 a las 8:47, Roger Bivand ()
escribió:
> On Thu, 25 Mar 2021, Manuel Spínola wrote:
>
> > Dear list members,
> >
> > I am working with the epsg 5367.
> >
> > The information for this epsg according to thi
ature
Geometry type: POLYGON
Dimension: XY
Bounding box: xmin: -218962 ymin: 237951.9 xmax: 785959.7 ymax: 1309622
Projected CRS: CR05 / CRTM05POLYGON ((-218962 239233.5, 785959.7 237951.9, ...
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvest
class labels are not literally 1-23 but are 23 labels selected from the
> range of 0-255. You could do a brief check with ...
>
> table(r[])
>
> Cheers,
> Ben
>
>
>
> On Tue, Mar 2, 2021 at 12:15 PM Manuel Spínola
> wrote:
>
>> Dear list members,
>&
different discrete classes included in the raster
representing each land cover type.
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr
mspinol...@gmail.com
Teléfono: (506) 8706
;kppm'.
>
> It is also extensively documented in Chapter 12 of the spatstat book (
> book.spatstat.org)
>
> Adrian Baddeley
>
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
m
> wrote:
>
>> A way out of this may be to make a local copy of the lgcp sources,
>> remove the rpanel dependency from DESCRIPTION, and install it from
>> there. You won't get the functions that need rpanel, but those might not
>> be essential.
>>
>> O
u won't get the functions that need rpanel, but those might not
> be essential.
>
> On 09/02/2021 20:09, Manuel Spínola wrote:
> > Thank you very much Edzer.
> >
> > I tried to install lgcp, but I got an error message regarding BWidget.
> > I think that Bw
9 feb 2021 a las 12:51, Edzer Pebesma (<
edzer.pebe...@uni-muenster.de>) escribió:
> Have you tried package lgcp?
>
> On 09/02/2021 17:26, Manuel Spínola wrote:
> > Dear list members,
> >
> > I would like to know of any R package that can be used for mod
Dear list members,
I would like to know of any R package that can be used for modeling species
distribution with presence-only data using log-Gaussian Cox process.
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado
est official country
> boundaries:
> https://data.humdata.org/
>
> --Mel.
>
>
> On 12/1/20 5:34 PM, Manuel Spínola wrote:
>
> Thank you very much Diego. Don´t worry.
>
> El mar, 1 dic 2020 a las 10:32, Diego Hernangómez Herrero
> () escribió:
>
>
> My mis
t;>
>> > My two cent: 'giscoR’ package can also be an option. The source of the
>> > file is Eurostat and you can get the data on 5 different resolution
>> levels:
>> >
>> >
>> >
>> https://ec.europa.eu/eurostat/web/gisco/geodata/refe
t;
>>
>> https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/administrative-units-statistical-units/countries
>>
>>
>> El El mar, 1 dic 2020 a las 17:19, Manuel Spínola
>> escribió:
>>
>>> Thank you very much Edzer.
>>>
>>> I
a.com/ - it looks like
> there's more information about its origins and processing that went on
> than behind GADM.
>
> On 12/1/20 4:26 PM, Manuel Spínola wrote:
> > Dear list members,
> >
> > I am looking for a global accurate spatial database for countries'
other spatial database for administrative boundaries
accessible from R, so I can compare and decide which one is the most
accurate of the open access spatial database for the countries I am
interested?
Thank you very much in advance.
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacion
Thank you very much Ista.
Manuel
El vie., 5 jun. 2020 a las 18:44, Ista Zahn () escribió:
> On Fri, Jun 5, 2020 at 7:47 PM Manuel Spínola
> wrote:
> >
> > Dear list members,
> >
> > Sorry for the confusion, but with all these suggestions, what is the way
> to
e-mail: roger.biv...@nhh.no
> > https://orcid.org/-0003-2392-6140
> > https://scholar.google.no/citations?user=AWeghB0J&hl=en
> >
> > _______
> > R-sig-Geo mailing list
> > R-sig-Geo@r-project.org
> > https
edictably for
> years without significant modification (unfortunately it seems that
> notarization has defeated Kyngchaos, which had worked well for years but
> no longer).
>
> Roger
>
> On Fri, 5 Jun 2020, Manuel Spínola wrote:
>
> > Thank you very much Thiago.
> >
0
> Phone: (831)-420-3666
> Fax: (831) 420-3980
> e-mail: roy.mendelss...@noaa.gov www: https://www.pfeg.noaa.gov/
>
> "Old age and treachery will overcome youth and skill."
> "From those who have been given much, much will be expected"
> "the arc of th
t; You can solve any doubt through the Github issue page too. I hope you find
> it useful.
>
> Best regards,
>
> Alberto Lázaro López
> about.me/alazarolop
>
> ___
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https
ew community to sort this out.
>
> Best,
> Ista
>
> [1] https://formulae.brew.sh/formula/gdal
> [2] https://github.com/Homebrew/homebrew-core/pull/46817
>
> On Thu, May 21, 2020 at 4:50 PM Manuel Spínola
> wrote:
> >
> > Thank you very much Ista.
> >
&
:~ manuelspinola$
El jue., 21 may. 2020 a las 13:51, Ista Zahn ()
escribió:
> I don't have a Mac myself, but both https://r-spatial.github.io/sf/
> and https://github.com/rspatial/terra recommend installing gdal etc.
> via homebrew.
>
> Best,
> Ista
>
> On Thu, May 21, 2
Thank you very much Rich.
Manuel
El jue., 21 may. 2020 a las 7:22, Rich Shepard ()
escribió:
> On Thu, 21 May 2020, Manuel Spínola wrote:
>
> > I am working with R 4.0.0 on MacOS Catalina 10.15.4.
> > When I load, for example, the library sf, I realized that I have older
&g
DAL 3.0.4 and PROJ
7.0.0
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr
mspinol...@gmail.com
Teléfono: (506) 8706 - 4662
Personal website: Lobito de río <
tocorrelation
> >> from a binomial gam?
> >>
> >> Thank you very much.
> >> Kind regards,
> >> Carlos
> >> --
> >> Carlos Bautista
> >> Institute of Nature Conservation
> >> Polish Academy of Sciences
> >>
tried with same data set before and it works, but not now. I also tried
with similar data sets and it works.
Any idea what could be causing the problem?
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-
assification or regression type
> problem?
>
> T. Hengl
>
> On 9/16/19 4:01 PM, Manuel Spínola wrote:
> > Dear list members,
> >
> > I am fitting an Ensemble Machine Learning with the R package landmap,
> using
> > the function train.spLearner, the resultin
.
Using R 3.6.1
MacOS, 16GB of ram
pred_co <- predict(m_co)
Error: vector memory exhausted (limit reached?)
Error during wrapup: vector memory exhausted (limit reached?)
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apart
uot;)Fitting a Quantile Regression Forest model...Shapiro-Wilk
> normality test and Anderson-Darling normality test report probability of <
> .05 indicating lack of normal distribution for residualsFitting a 2D
> variogram...Saving an object of class 'gstatModel'...> rk_rf_a
of large objects
> by default.
>
>
> On 9/13/19 5:38 PM, Manuel Spínola wrote:
> > Dear list members,
> >
> > I am fitting a model with the GSIF package, but I ran into a problem of
> > vector allocation. Is there any way to solve this problem? See code and
>
on for residualsFitting a 2D
> variogram...Saving an object of class 'gstatModel'...> rk_rf_ac_pred <-
> GSIF::predict(rk_rf_ac, covar_finales_sp, predict.method = "KED")Error:
> cannot allocate vector of size 19.4 Gb
Thank you very much,
Manuel
--
*Man
ective bytes: 1215
Compression method : gzip
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr
mspinol...@gmail.com
Teléfono: (506) 8706 - 4662
Personal website
r than redo raster or make raster and sf
> compatible. Stars will consider compatibility with raster, but don't
> hold your breath.
>
> stars development will start soon.
>
> [1] https://github.com/r-spatial/stars
>
> On 29/08/17 17:03, Manuel Spínola wrote:
> > De
onglat +datum=NAD27 +no_defs
> raster(nc)
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘raster’ for signature
‘"sf"’
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
c)
Error in eval(expr, envir, enclos) : object 'lon' not found
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr
mspinol...@gmail.com
Teléfono: (506) 8706 - 4662
Thank you very much Tim.
Manuel
2017-03-06 14:20 GMT-06:00 Tim Keitt :
>
> On Mon, Mar 6, 2017 at 2:18 PM, Tim Keitt wrote:
>
>> You might search the list
>
>
> https://stat.ethz.ch/pipermail/r-sig-geo/2007-March/001791.html
>
> http://www.keittlab.org/
d = T)[1:10]
>
>
>
>
> Since you asked me about getGridLayer via PM, this function of the
> cartography package uses spsample with its cellsize argument, maybe I
> should add a "targeted area" argument...
>
> ___
> R
do
>>
>> xxx <- hextess(W,s,trim=FALSE)
>> unique(sapply(tiles(xxx),area.owin))
>>
>> you get 0.42 --- i.e. 0.42 square kilometres, or 42 hectares.
>>
>> cheers,
>>
>> Rolf
>>
>>
>
> --
> Marcelino de la Cruz Rot
> Depto
.19
Both results are wrong, because I was expecting close to 1.
How can I make a spatial grid of 1 ha (or other size) in R?
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin..
Thank you very much Rolf.
Manuel
2017-03-01 2:03 GMT-06:00 Rolf Turner :
> On 01/03/17 17:33, Manuel Spínola wrote:
>
>> Dear list members,
>>
>> How can I define the size in hectares of the cell when doingan hexagonal
>> grid with the function spsample. What i
~x+y
plot(meuse.grid)
HexPts <-spsample(meuse.grid, type="hexagonal", cellsize=1000)
HexPols <- HexPoints2SpatialPolygons(HexPts)
plot(HexPols[meuse.grid,], add=TRUE)
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad N
Thank you very much Edzer,
it works for me:
> ggplot(nc) + geom_sf(aes(fill = SID79))
Warning message:
st_crs<- : replacing crs does not reproject data; use st_transform for that
2017-02-26 11:46 GMT-06:00 Edzer Pebesma :
>
>
> On 26/02/17 13:23, Manuel Spínola wrote:
> &
Dear list members,
How can I draw a legend when plotting an sf (simple feature) object.
nc = st_read(system.file("gpkg/nc.gpkg", package="sf"), quiet = TRUE)
plot(nc["SID79"])
Best,
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo
e) <- CRS("+init=epsg:28992")
>> WGS84 <- CRS("+proj=longlat +ellps=WGS84")
>> meuse <- spTransform(meuse, WGS84)
>>
>> pal <- colorFactor(palette = c("red", "blue", "green"), levels =
>> meuse$soil)
>>
;, "Type 2",
"Type 3"), title="Soil type")
Duplicate levels detected
Show Traceback
Error in addLegend(., "topright", color = ~pal(soil), labels = c("Type 1",
: 'colors' and 'labels' must be of the same length
Best,
Man
Thank you very much Rolf.
Manuel
2017-02-08 17:06 GMT-06:00 Rolf Turner :
> On 09/02/17 02:56, Manuel Spínola wrote:
>
>> Dear list members,
>>
>> I have a spatial line (a road) segmented in 500-meters segments. I also
>> have spatial points (roadkills) and I wan
,
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr
mspinol...@gmail.com
Teléfono: (506) 8706 - 4662
Personal website: Lobito de río <https://sites.google.com/site/lobitode
en implemetation of a GRASS cost analysis to
> estimate the movement patterns and connectivity corridors of running beetle
> occurrences in high asia.
>
> cheers Chris
>
>
>
>
> On 13.12.2016 21:00, Jérome Mathieu wrote:
>
>> Hi Manuel,
>>
>> Perhaps t
Forrest Stevens :
> Check out sdmtools if fragstats like patch/class metrics are what you're
> looking for: https://cran.r-project.org/web/packages/SDMTools/index.html
>
> Sincerely,
> Forrest
>
> On Tue, Dec 13, 2016 at 1:29 PM Manuel Spínola
> wrote:
>
>> D
Dear list members,
Is there any R package, besides grainscape, to assess landscape
connectivity?
Best,
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr
mspinol
Thank you very much Michael.
It works.
Manuel
2016-12-07 16:43 GMT-06:00 Michael Sumner :
> On Thu, Dec 8, 2016, 04:21 Edzer Pebesma
> wrote:
>
>
>
> On 07/12/16 17:49, Manuel Spínola wrote:
> > Dear list members,
> >
> > Is there a way to plot a simple
Thank you very much Edzer.
Manuel
2016-12-07 11:21 GMT-06:00 Edzer Pebesma :
>
>
> On 07/12/16 17:49, Manuel Spínola wrote:
> > Dear list members,
> >
> > Is there a way to plot a simple features (sf) multipolygon (imported
> > shapefile) using ggplot2?
>
>
Dear list members,
Is there a way to plot a simple features (sf) multipolygon (imported
shapefile) using ggplot2?
Similar to plotting a SpatialPolygonDataFrame with ggplot2 using the
function fortify first to convert the SPDF to a data frame.
Best,
Manuel
--
*Manuel Spínola, Ph.D
Thank you very much Roger.
2016-11-24 8:09 GMT-06:00 Roger Bivand :
> On Thu, 24 Nov 2016, Manuel Spínola wrote:
>
> Thank you very much Roger.
>>
>> Sorry about that, I took the name from the Processing toolbox in QGIS and
>> I
>> assumed (wrongly) that was t
; Regarding this issue, we have already notified the QGIS developers, and
> they told us that they fixed the issue. Hence, with the release of the next
> QGIS patch release, the manual adjustment of the Python code should no
> longer be necessary.
>
> Best regards,
>
> Jannes
>
>
ensure that the output of R-only approaches
> matches the desired output object.
>
> Roger
>
>
> On Wed, 23 Nov 2016, Manuel Spínola wrote:
>
> Dear list members,
>>
>> Is it possible to run v.split.length from GRASS in R? Or is there anyway
>> to
>>
qgis_env = qgis_env)
> length(Sl) # 2 line objects
> length(out) # 9 line objects
> # Have a look at the output
> plot(out, col = rep(c("blue", "green", "black"), 3))
>
> Cheers,
>
> Jannes
>
> _
1 - 100 of 191 matches
Mail list logo