2,128 reputation
817
bio website staff.acecrc.org.au/~mdsumner
location
age
visits member for 4 years, 6 months
seen 4 hours ago

R, Manifold, GDAL, also interested in Python, topojson/D3 and NetCDF/HDF


Feb
21
comment How to import several GeoTiff files into R?
Try library(raster); r <- stack(list.files(pattern="tif$", full.names=FALSE)) ## you can convert to sp/rgdal format if need be
Feb
8
comment Simulation of random flight paths for helicopters
Another candidate is MUCflights
Feb
7
comment Simulation of random flight paths for helicopters
The package adehabitatLT has a number of simm.[x] functions for simulating animal tracks. Also fwiw, the SpatioTemporal Task View lists packages with support for tracking data.
Feb
3
comment Calculate shortest path not on land but over sea
Some prior discussions: stackoverflow.com/questions/8120594/… and stat.ethz.ch/pipermail/r-sig-geo/2010-January/007491.html and stat.ethz.ch/pipermail/r-sig-geo/2008-March/003313.html
Jan
30
comment How to read *.adf files into R?
Please change the title to something intelligent and accurate.
Jan
29
comment Georeferencing using corner coordinate
I would first point gdalinfo at one of the files, it may well be a GeoTIFF anyway
Jan
26
comment Manifold GIS Scripting/Queries — query a web page and scrape page source?
This might be relevant, but generally I wouldn't be using Manifold directly for the web scraping part. If you can get it working with Python I'd do it externally first before trying to run it inside Manifold itself, though that should also work. georeference.org/doc/a_flashy_demo_web_queries_and_kml.htm
Jan
7
comment Identify nearest neighbor in grid in R (spatial)
See sp::gridIndex2nb or raster::adjacent
Jan
6
comment Error in warping the merged hdf4 files
You can't warp from an unknown projection, either the file needs to have that information embedded or you can tell gdalwarp what it is with -s_srs
Jan
1
comment How to find if two gps tracks were from the same trip?
Dupe: gis.stackexchange.com/questions/81551/matching-gps-tracks
Dec
24
comment Software for opening .img files
.img is not enough to identify a format, it is ambiguous at best. Note that some software ignore the extension,or only use it as part of the evidence, and some formats ship without an extension at all
Dec
21
comment Runnig of LSMA method in ENVI sotware
What is runnig, lsma, envi and ppi? Details please.
Dec
20
comment Is there an R equivalent of NEAR in ESRI ArcGIS?
What nearest neighbour packages? kdtree in nabor is likely to be the most efficient, but if you need ellipsoid distances you can roll your own with spDistsN1 in sp.
Dec
6
comment Raster to polygon using R
What has this got to do with R? I would focus on that, you give no details on the crash, your computer, or the code.
Dec
1
comment Is esri-leaflet officially an Esri project on github?
And title-case fixes that? :)
Dec
1
comment How to merge an excel file with a shapefile in r
Provide the code you are using and more detail about the files. This is pretty straightforward using tools in sp. Also, generally it's better to use rgdal::readOGR rather than maptools::readShapePoly since you'll also get projection metadata automatically (if it's there).
Nov
26
comment How to use shapefile in QGIS on Debian?
Does your ssh client allow X-forwarding? It's the -X argument to ssh, or some setting on the interface, or as it states the configuration of your client DISPLAY.
Nov
26
comment How to use shapefile in QGIS on Debian?
I install xorg-dev on Ubuntu, then ensure my ssh client enables X-forwarding, then qgis will start. I don't use Debian but it will have a similar way.
Nov
24
comment Assign CRS to shapefile in R
it is proj4string not projection (the latter is in raster)
Nov
22
comment gdalwarp with NETCDF files
Ultimately the GCPs are those long/lat arrays, but you may not need any "warping" to re-establish the original LCC projection. Can you point to an example file somewhere? If the creators have smashed/lost the original projection sometimes you can recover with a bit of detective work, or it may be as simple as re-assigning it with gdal_translate's arguments "-a_srs" and "-a_ullr". If you think the data is in LCC but it ships with longlat arrays, then there's a disconnect in there somewhere.