Re: [R-sig-Geo] Problem with gdalinfo in landsat package

2013-06-12 Thread Matteo Mattiuzzi
Just a guess, open a terminal and type gdalinfo is the command not known install gdal-bin. sudo apt-get install gdal-bin Matteo Alexandre Santos schrieb: >Dear members list, > >�� >��� I >try to subset a Landsat geotiff image with the lssub( >) function in >a landasat package, but always

Re: [R-sig-Geo] Problem with gdalinfo in landsat package

2013-06-12 Thread Sarah Goslee
[forgot to copy the list] Hi, You need to install gdal following the usual procedure for your linux distro, possibly like this: sudo apt-get install proj sudo apt-get install gdal-bin Sarah On Wed, Jun 12, 2013 at 5:05 PM, Alexandre Santos wrote: > Dear members list, > > > I > try to subs

[R-sig-Geo] Problem with gdalinfo in landsat package

2013-06-12 Thread Alexandre Santos
Dear members list,        I try to subset a Landsat geotiff image with the lssub( ) function in a landasat package, but always done: gdalinfo: not found error. I make: band5.sample<-lssub("LANDSAT_5_TM_20100506_217_074_L2_BAND5.tif", "subimage.tif", centerx = 773810, centery = 7841515, cente

Re: [R-sig-Geo] Reading latitude longitude data from geotags

2013-06-12 Thread Michael Sumner
You can get a start at this with rgdal, I used GDALinfo to read in EXIF metadata from one of the example files here: http://owl.phy.queensu.ca/~phil/exiftool/sample_images.html library(rgdal) x <- GDALinfo("AcerCE-5330.jpg") attr(x, "mdata") [1] "EXIF_ColorSpace=1" "EXIF_ComponentsConfiguration=

[R-sig-Geo] Reading latitude longitude data from geotags

2013-06-12 Thread Proosdij, Andre van
Dear colleagues, I want to read the latitude/longitude data from jpeg pictures. In the properties of the jpeg file, one can read the GPS coordinates in case the picture was taken using a camera with built-in GPS. Now I would like to use a R function to read these geotag data from the file and s

Re: [R-sig-Geo] Adaptive Savitzky Golay Filter function

2013-06-12 Thread Matteo Mattiuzzi
Nicolas, using the meuse dataset you had a shift of 100km? or was it using your 'zone'? Is the problem in your 'zone' as I have no shift using the 'meuse'. Internally the specified extent is reprojected to LatLon using rgdal:::spTransform() so maybe you have to check the CRS of your zone? If you

Re: [R-sig-Geo] function classIntervals {classInt}: arguments over/under/between

2013-06-12 Thread Roger Bivand
On Wed, 12 Jun 2013, RINNER Heinrich wrote: Hello, while making some choropleth maps wit R (version 3.0 under Windows7) I ran into an issue with function classIntervals (in package classInt): I'm not able to change the character string value for "over"/"under"/"between" in printed table labe

Re: [R-sig-Geo] function classIntervals {classInt}: arguments over/under/between

2013-06-12 Thread Pascal Oettli
Hi, From the help file: "From version 0.1-11, the default representation has been changed to use cutlabels=TRUE, and representation within intervals has been corrected, thanks to Richard Dunlap." You need to use cutlabels=FALSE print(classIntervals(jenks71$jenks71, n = 5, style = "equal"), c

[R-sig-Geo] function classIntervals {classInt}: arguments over/under/between

2013-06-12 Thread RINNER Heinrich
Hello, while making some choropleth maps wit R (version 3.0 under Windows7) I ran into an issue with function classIntervals (in package classInt): I'm not able to change the character string value for "over"/"under"/"between" in printed table labels. For example: > library(classInt) > data(jen