[R-sig-Geo] importing file into GRASS via QGIS

2009-11-28 Thread Patrick Giraudoux
Dear all, I am using QGIS 0.11.0 Metis under windows and struggle to import a raster into GRASS. This is an ARCINFO/ESRI grid file in natural coordinates (WGS84) whose heading is: ncols 721 nrows 360 xllcorner -180 yllcorner -90 cellsize 0.5 NODATA_value 254 etc I do not meet

Re: [R-sig-Geo] importing file into GRASS via QGIS

2009-11-28 Thread Jaime R. Garcia M.
Patrick Giraudoux wrote: Dear all, I am using QGIS 0.11.0 Metis under windows and struggle to import a raster into GRASS. This is an ARCINFO/ESRI grid file in natural coordinates (WGS84) whose heading is: ncols 721 nrows 360 xllcorner -180 yllcorner -90 cellsize 0.5 NODATA_value 254

Re: [R-sig-Geo] convert points into SHP polygons

2009-11-28 Thread Nikhil Kaza
Look at this website. http://www.carsonfarmer.com/?p=455 On 27 Nov 2009, at 11:03PM, rusers.sh wrote: Dear Robert, My method to generate the Voronoi tessellation maybe not better, You can show me you method to get it. What i want to get is the the class of SpatialPolygons(sp) based on

Re: [R-sig-Geo] convert points into SHP polygons

2009-11-28 Thread Roger Bivand
On Fri, 27 Nov 2009, rusers.sh wrote: Dear Robert, My method to generate the Voronoi tessellation maybe not better, You can show me you method to get it. What i want to get is the the class of SpatialPolygons(sp) based on the generated Voronoi tessellation. Any ideas or suggestions are

Re: [R-sig-Geo] importing file into GRASS via QGIS

2009-11-28 Thread Tom Gottfried
Hi Patrick, though this may have no effect on your problem: QGIS 0.11.0 is a very old version. Plus it might be more fruitful to ask on GRASS or QGIS lists/forums. Tom ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch

Re: [R-sig-Geo] importing file into GRASS via QGIS

2009-11-28 Thread Patrick Giraudoux
Jaime R. Garcia M. a écrit : Patrick Giraudoux wrote: Dear all, I am using QGIS 0.11.0 Metis under windows and struggle to import a raster into GRASS. This is an ARCINFO/ESRI grid file in natural coordinates (WGS84) whose heading is: ncols 721 nrows 360 xllcorner -180 yllcorner -90

Re: [R-sig-Geo] importing file into GRASS via QGIS

2009-11-28 Thread Patrick Giraudoux
Robert J. Hijmans a écrit : ncols 721 is suspect. Presumably this is a global 0.5 degree grid. If so, ncols shoud be 720 (but your file may well have 721 columns, and perhaps a different x resolution; unless the ullcorner refers to the center of the cell, and the raster is from -180.25

[R-sig-Geo] extract coordinates from contour lines

2009-11-28 Thread Julius Tesoro
To everyone, Is there a way to extract coordinates or an equation from a straight contour line? Thanks. Cheers Julius Tesoro ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Re: [R-sig-Geo] convert points into SHP polygons

2009-11-28 Thread rusers.sh
Perfect. Thanks very much. Also thanks for kind reminding on getting the centroids of polygons. 2009/11/28 Roger Bivand roger.biv...@nhh.no On Fri, 27 Nov 2009, rusers.sh wrote: Dear Robert, My method to generate the Voronoi tessellation maybe not better, You can show me you method to get

Re: [R-sig-Geo] [R] extract coordinates from contour lines

2009-11-28 Thread Julius Tesoro
Hi I just found the answer. I used contourLines() to extract the z values. Thanks anyway. --- On Sun, 11/29/09, David Winsemius dwinsem...@comcast.net wrote: From: David Winsemius dwinsem...@comcast.net Subject: Re: [R] extract coordinates from contour lines To: Julius Tesoro