Displaying 20 results from an estimated 100 matches similar to: "write geotiff with projection - RGDAL package"
2016 Jul 20
4
un solo un favor
Hola a todos
Esta es mi primera pregunta en el grupo, y es sencilla pero me tiene
atascado. Estoy tratando de cortar mi mapa de (poner limites en UTM) en un
lugar definido como mi area de estudio (en este caso el sur de chile). Pero
creo no estar usando bien la funciĆ³n CRS ponendo bien los limites
requeridos.
> study_area <- readRDS("CHL_adm0.rds")
> study_area_UTM <-
2010 Oct 12
2
Memory limit problem
Dear List,
I am trying to?plot?bathymetry contours around the Hawaiian Islands using the
package rgdal and PBSmapping.? I have run into a memory limit when trying to
combine two fairly small objects using cbind().? I have increased the memory to
4GB, but am being told I can't allocate a vector of size 240 Kb.? I am running R
2.11.1 on a Dell Optiplex 760 with Windows XP.? I have pasted
2009 May 13
3
Virsh-install error
Hi everyone,
This is my first attempt at a PV guest install from scratch and I''m a
tad confused. Have I answered one of the questions virsh-install asks
wrongly?
Does anyone know of a general guide for installing PV guests with
virsh-install? (Most Centos docs seem to use the GUI based virt-manager
and I only have command line access).
Am I meant to make use of the files here:
2017 May 12
1
spTransform
Salutations,
Long story short: I need to create an SPDF to superimpose on a Google map.
I have .shp file which has a long list of locations listed in (what I guess
must be) UTM. I need to transform these into lon, lat. My use of
spTransform, however, keeps giving me the wrong results. For what it's
worth, it only seems to be messing up the latitude.
My final line of code looks like this:
2011 Oct 18
1
problem with project command in rgdal
Hi
I'm trying to analyse some data and need to set the geographic coordinate
system before I can do the analysis. I've been trying to use the project
command in rgdal but keep getting an error message saying:
Error in project(locationsMatrix, PROJECTION.OUT) :
latitude or longitude exceeded limits
( PROJECTION.OUT <- "+proj=aea +lat_1=-18 +lat_2=-36 +lat_0=0 +lon_0=132
2012 Oct 18
2
Re-projecting geotiff
Dear R users,
I'm currently trying to re-project a geotiff in another coordinate system.
For instance, I have a tif image in UTM 19 zone which I would like to
reproject into UTM 18. I was wondering if it was possible in R.
Furthermore, I looked into 'rgdal' package, but I can't really find out if
I'm doing the right thing. So far, here is what I'm doing:
library(rgdal)
2007 Nov 14
2
geotiff calculations
Dear list,
I have to compare two digital elevation models in raster format (geotiff).
I then have to calculate the differences in altitude for each cell and make
some statistics (basic as mean, median, std, range but also more "advanced"
as RMSE) on that.
I do not know very much how to proceed:
1) is it possible to import the geotiff in R? If so with which package? if
not which is the
2007 Sep 05
1
geotiff or tiff files with world files
Hi,
I have a matrix of data which i can vizualize as an image - for example. I would like to save this image as a geotiff file or at a tiff file with a world file which holds the projection of my data (ultimately the data represent a map of some sort). I know i can save the data as an ESRI grid, but i am not interested in that.
I wonder if anybody knows about any code which will help me do
2018 Mar 28
2
Fwd: netCDF to GeoTIFF by layer in r
Hi
I have a netCDF file of volumetric soil water content at four
different soil layers and want to convert each soil layer in the
netCDF file to a GeoTIFF layer. This code converts the netCDF file to
one GeoTIFF layer, i.e. unclear which soil depth.
file.nc <- "C:/Soil_Weather_data/Agro/VMC21/VMC21.nc"
file.tiff <- "C:/Soil_Weather_data/Agro /VMC21/VMC21"
importnetcdf
2018 Mar 28
0
netCDF to GeoTIFF by layer in r
Hi Ahmed,
When reading from a ncdf file you can use the 'varname', 'lvar' and 'level' arguments - see the 'Details' section in the docs
https://www.rdocumentation.org/packages/raster/versions/2.6-7/topics/raster <https://www.rdocumentation.org/packages/raster/versions/2.6-7/topics/raster>
We can't tell what is in the ncdf file from what you report other
2010 Apr 01
3
Using GIS data in R
I have a simple problem: I need to load a ERSI shapefile of US states
and check whether or not a set of points are within the boundary of
these states. I have the shapefile, I have the coordinates but I'm
having a great deal of difficulty bringing the two together. The
problem is the various GIS packages for R do not play well with each
other. sp, shapefiles, maptools, etc all use different
2004 Feb 03
3
sementation fault with mpg123
I'm still getting a sementation fault with mpg123. I have tried different
parameters creating mp3s the last from cd audio ...
lame -m s --resample 8000 -q 0 -a --cbr -b 32
and several versions of mpg123. I have always created 8000 hz outputs. I've
got other * boxes that don't use moh that have been up for months. This one
crashes every couple of days - the verbose output leading to a
2011 Nov 04
2
How to write a shapefile with projection
Hi,
?
I am trying to write a shapefile with projection. I have
my data in a data.frame called try and consists in xy coordinates and a
numerical attribute value z1.
?
Libraries loaded are: sp, rgdal, raster, maptools
?
head(try)
???????? x?????? ??? y??? ? ? ? ? ? ? ??? z1
1 610237.1 ???????? 3375751
???????????? 8.221
2 610236.1 ???????? 3375750
???????????? 8.153
3 610236.1 ????????
2011 Jan 05
1
Prediction error for Ordinary Kriging
Hi ALL,
Can you please help me on how to determine the prediction error for ordinary
kriging?Below are all the commands i used to generate the OK plot:
rsa2 <- readShapeSpatial("residentialsa", CRS("+proj=tmerc
+lat_0=39.66666666666666 +lon_0=-8.131906111111112 +k=1 +x_0=0 +y_0=0
+ellps=intl +units=m +no_defs"))
x2 <- readShapeSpatial("ptna2",
2007 Sep 20
2
Superimposing vector polygons over raster grid in a plot
Hello:
I would like to superimpose vector polygons (state outlines) from a
Shape file on top of a satellite image,
imported into a SpatialGridDataFrame from GEOTIFF via gdal_translate and
readGDAL.
When I plot polygon and point shape files in R, into
SpatialPointDataFrame and SpatialPolygonDataFrame,
the two feature sets line up geographically, so it seems logical that a
SpatialGridDataFrame
2002 Nov 09
1
MFWorks and R
I know there is some integration between Grass and R available, but
has anyone produced a link between R and MFWorks.
I am considering Buying MFWorks (Windows) and it would be useful to
know if anyone has written such a link.
Many thanks,
Graham S
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2004 Nov 17
2
R/S-related projects on Sourceforge? Trove Categorization - GDAL
GDAL Package for R
http://sourceforge.net/projects/rgdal
The R GDAL package is an interface for accessing Frank Warmerdam's
Geographic Data Abstraction Library
from within R.
GDAL is capable of reading and writing a wide range of geographic data
formats including ESRI grid format and geotiff.
On Wed, 2004-11-17 at 09:09, Witold Eryk Wolski wrote:
> <SNIP>
> SourceForge.net
2011 Jul 14
1
plotting x y z data from an irregular grid
Hi,
I'm trying to plot some data (z) that is linked to lat&long coordinates
(x&y). These coordinates are not however on a regular grid. I also have some
shapefiles on which I would like to overlay the data. I can plot the
shapefiles (country/city outlines) and overplot the data, but only using
quilt.plot because I otherwise always get the error message that
'Error in
2003 Oct 24
0
no dial out
I can not dial out
Error
1242952640]: File channel.c, Line 1642 (ast_request): No channel type re
gistered for ''
NOTICE[1242952640]: File app_dial.c, Line 516 (dial_exec): Unable to
create channel
I believe this to be the device in phone.conf
Am I heading in the right dirrection ???
Regards Mick
2007 Jul 06
0
import DTM with readRAST6()
Hello everybody,
I am a new R & Grass user.
I am interested in doing a kriging of the Temperature in a basin,
based on pixel elevation (DTM).
I use Grass 6.2.1 and R 2.5.1 and have installed the spgrass6 package.
The DTM is called "DTM_trentino_100m" and is like this:
north:5158000.0
south:5058500.0
east:1729700.0
west:1611600.0
rows:995
cols:1181
-9999.0 -9999.0 -9999.0