293 reputation
214
bio website
location Melbourne, Australia
age 32
visits member for 4 years, 2 months
seen 16 mins ago

I'm a PhD candidate at the University of Melbourne, and am involved in integration of species distribution models and spatially explicit models of population dynamics to predict species' extinction risks under climate change.


1h
answered Exporting Grid from R to use it in ArcGIS
9h
accepted buffer and union in R without reducing to a multi-polygon
2d
comment Join spatial polygons by code in R
I can't help you with ggplot... I find base and lattice much more straightforward for mapping. Good luck though.
2d
comment Join spatial polygons by code in R
@pacomet You can merge by code. First, pad info$codigo with leading zeroes with info$codigo <- sprintf('%05d', info$codigo) and then merge(muni, info[, c('area', 'codigo')], by.x='CODIGOINE', by.y='codigo'). However, there are two records for code 12004 in info (see subset(info, codigo==12004)). You'll have to remove one of these first.
2d
revised buffer and union in R without reducing to a multi-polygon
correction
2d
revised Join spatial polygons by code in R
added 17 characters in body
2d
answered Join spatial polygons by code in R
Jan
27
answered buffer and union in R without reducing to a multi-polygon
Jan
27
comment Join spatial polygons by code in R
Probably going to be a bit tricky without your data/code.
Jan
27
revised buffer and union in R without reducing to a multi-polygon
clarity/grammar
Jan
24
awarded  Explainer
Jan
24
awarded  Promoter
Jan
22
revised Showing csv file on map
code formatting
Jan
22
suggested approved edit on Showing csv file on map
Jan
22
answered Save rasters created by loop operation to different directory?
Jan
22
awarded  Curious
Jan
22
revised buffer and union in R without reducing to a multi-polygon
clarification; updated info
Jan
21
accepted Raster statistics - incorrect and apparently arbitrary minimum value
Jan
21
revised buffer and union in R without reducing to a multi-polygon
added 79 characters in body; deleted 1 character in body
Jan
21
comment buffer and union in R without reducing to a multi-polygon
Have just tested and it seems promising, but my holes are no longer holes :(. Can we adapt this to keep holes together with the polys they're associated with? (I was heading along similar lines as your suggestion, with n <- length(buff@polygons[[1]]@Polygons); SpatialPolygons(mapply(function(x, y) Polygons(list(x), y), buff@polygons[[1]]@Polygons, seq_len(n))) ... I should have mentioned the hole problem in the post, sorry.