Reputation
3,091
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
9 17
Newest
 Yearling
Impact
~126k people reached

Jan
10
comment Identify Hawaiian coordinate system
There are at least 5 State Plane coordinate systems for Hawaii and there's no reason to believe any of them are it. Where did you come across this? The actual source is always the best place to look, the evidence comes in many forms.
Jan
4
answered GDAL “Simple Tiling” (Or yet another - how do I tile question)
Jan
3
comment GDAL “Simple Tiling” (Or yet another - how do I tile question)
I think you could use gdal.org/gdal_retile.html
Dec
28
comment Visualizing shapefiles on web using SHINY package of R with PostGIS?
It's pretty similar to how you plot and analyse data from PostGIS in R. Once you got all that working you can build it into a Shiny page easily enough. The great thing about Shiny is it requires very little modification of working code, you just hook up the UI and the server to run your functions.
Dec
26
comment How to find the cell location index of a raster using Lat long information?
Can simplify to rowColFromCell(ras, cellFromXY(ras, cbind(-82.8,35.2)))
Dec
23
comment Buffer from Point or Polygon with Information from Raster
You can modify the 'directions' argument to get exactly the cells you want relative to the centre, I think that can cover the "linear" modification you want?
Dec
23
answered Buffer from Point or Polygon with Information from Raster
Dec
23
comment R: extract values from raster stack and aggregate results
There's no time wasted here.
Dec
23
comment Geo-Referencing an image from google maps with gdal_translate
The corner coordinates for u_llr must be in the coordinate system used by the image, not longitude/latitudes.
Dec
21
comment How to read file geodatabase with Binary field in R?
Scratch that, I believe your data is a raster. R can't read the geodatabase raster (neither can GDAL). Get them to provide a useable format is the only option I'm afraid. When you read it as vector (or convert to shapefile) I think you just get the bounding box polygon.
Dec
21
comment How to read file geodatabase with Binary field in R?
Try "drop_unsupported_fields=TRUE" see ?readOGR
Dec
21
comment How to read file geodatabase with Binary field in R?
You can read it directly into R with rgdal::readOGR, try "x <- readOGR('eschscholzia_minutiflora_twisselmannii/data/v93/tempgdb.gdb', 'Eschscholzia_minutiflora_ssp_twisselmannii')" but no idea about the .lyr file specifically. See ?ogrListLayers to discover information about the layer/s in the data set.
Dec
20
comment Using R to map matching GPS data?
?sp::over - plus there are "trajectory" specific packages for this kind of guff, it's easy to convert to sp too - see this Task View cran.rstudio.com/web/views/SpatioTemporal.html - it's not at all systematic or organized but there's tonnes of helpful stuff in all those packages
Dec
11
comment How to remove unwanted columns from a polygon in R AND keep the result as a spatial data frame?
meuse$newcol <- seq(nrow(meuse)) There might be missing functionality in sp's methods (think of print for example) but it's time to send a request to the authors, not subvert the design and propagate bad code.A developer will use the slots in methods obviously, not on the interwebs. Every time you do it you should caveat it with warnings IMO.
Dec
11
revised How to remove unwanted columns from a polygon in R AND keep the result as a spatial data frame?
added 290 characters in body
Dec
11
comment How to remove unwanted columns from a polygon in R AND keep the result as a spatial data frame?
That's crazy talk.
Dec
11
answered How to remove unwanted columns from a polygon in R AND keep the result as a spatial data frame?
Dec
11
comment How to remove unwanted columns from a polygon in R AND keep the result as a spatial data frame?
Also, see ?raster::getData to get this data dynamically.
Dec
11
comment How to remove unwanted columns from a polygon in R AND keep the result as a spatial data frame?
Eck!! Don't use slots! eth <- eth[, -(5:67)]
Dec
9
comment How to generate missing points in GPS trajectories?
It's easy enough to interpolate along a line, but you need to worry about the map projection (where the line segment traverses between two points), and whether the track along that path is really sensible, let alone given what kind of behaviour you can expect from the trackee. It's a full-blown modelling problem and there is a massive literature base about it in several different fields. It depends on the context enormously. I think this question is too broad at the moment, you need to decide on specific tasks and give more information about what you're trying to do.