R version 2.14.1 (2011-12-22)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i486-pc-linux-gnu (32-bit)
R -- это свободное ПО, и оно поставляется безо всяких гарантий.
Вы вольны распространять его при соблюдении некоторых условий.
Введите 'license()' для получения более подробной информации.
R -- это проект, в котором сотрудничает множество разработчиков.
Введите 'contributors()' для получения дополнительной информации и
'citation()' для ознакомления с правилами упоминания R и его пакетов
в публикациях.
Введите 'demo()' для запуска демонстрационных программ, 'help()' -- для
получения справки, 'help.start()' -- для доступа к справке через браузер.
Введите 'q()', чтобы выйти из R.
> source("pixel-gamm-02.R")
пробую URL '
http://spatial-analyst.net/DATA/plots.zip'
Content type 'application/zip' length 71282 bytes (69 Kb)
открытие URL
==================================================
downloaded 69 Kb
пробую URL '
http://spatial-analyst.net/DATA/contours.zip'
Content type 'application/zip' length 274386 bytes (267 Kb)
открытие URL
==================================================
downloaded 267 Kb
пробую URL '
http://spatial-analyst.net/DATA/elevations.zip'
Content type 'application/zip' length 165060 bytes (161 Kb)
открытие URL
==================================================
downloaded 161 Kb
'data.frame': 100 obs. of 3 variables:
$ ID : int 1 2 3 4 5 6 7 8 9 10 ...
$ GPS_Y: int 6535956 6535958 6535955 6535947 6535949 6535946 6535949 6535953 6535950 6535946 ...
$ GPS_X: int 5066566 5066568 5066575 5066579 5066572 5066572 5066588 5066593 5066580 5066579 ...
Загрузка требуемого пакета: foreign
Загрузка требуемого пакета: sp
Загрузка требуемого пакета: lattice
Checking rgeos availability: TRUE
Formal class 'SpatialPolygonsDataFrame' [package "sp"] with 5 slots
..@ data :'data.frame': 147 obs. of 1 variable:
.. ..- attr(*, "data_types")= chr "C"
..@ polygons :List of 147
.. ..
- ..@ plotOrder : int [1:147] 5 86 43 121 53 83 24 47 42 68 ...
..@ bbox : num [1:2, 1:2] 416900 1887700 417900 1888700
.. ..- attr(*, "dimnames")=List of 2
..@ proj4string:Formal class 'CRS' [package "sp"] with 1 slots
'data.frame': 551 obs. of 3 variables:
$ X : int 209250 209417 209583 209750 209917 210083 210250 210583 210750 210917 ...
$ Y : int 482917 482917 482917 482917 482917 482917 482917 482917 482917 482917 ...
$ c3: num 0.084 0.287 0.517 0.09 0.923 0.923 0.535 0.979 0.903 0.286 ...
Загрузка требуемого пакета: mgcv
This is mgcv 1.7-13. For overview type 'help("mgcv-package")'.
Загрузка требуемого пакета: deldir
deldir 0.0-16
Please note: The process for determining duplicated points
has changed from that used in version 0.0-9 (and previously).
spatstat 1.25-2
Type ‘help(spatstat)’ for an overview of spatstat
‘latest.news()’ for news on latest version
‘licence.polygons()’ for licence information on polygon calculations
Загрузка требуемого пакета: spacetime
Загрузка требуемого пакета: zoo
Присоединяю пакет: ‘zoo’
The following object(s) are masked from ‘package:base’:
as.Date, as.Date.numeric
Загрузка требуемого пакета: xts
Присоединяю пакет: ‘gstat’
The following object(s) are masked from ‘package:spatstat’:
idw
Formal class 'SpatialLinesDataFrame' [package "sp"] with 4 slots
..@ data :'data.frame': 65 obs. of 1 variable:
.. ..- attr(*, "data_types")= chr "N"
..@ lines :List of 65
..@ bbox : num [1:2, 1:2] 6551898 5070575 6555545 5074289
.. ..- attr(*, "dimnames")=List of 2
..@ proj4string:Formal class 'CRS' [package "sp"] with 1 slots
Загрузка требуемого пакета: shapefiles
Присоединяю пакет: ‘shapefiles’
The following object(s) are masked from ‘package:foreign’:
read.dbf, write.dbf
Загрузка требуемого пакета: plyr
error: module
library path: /usr/lib/saga
library name: libgrid_gridding
module name : Shapes to Grid
author : O.Conrad (c) 2003
Load shapes: contours.shp...
ready
Parameters
Shapes: contours
Attribute: VALUE
Method for Multiple Values: last
Method for Lines: thin
Preferred Target Grid Type: Floating Point (4 byte)
Target Grid: user defined
Save grid: contour50_buff.sgrd...
ready
error: module
library path: /usr/lib/saga
library name: libgrid_tools
module name : Grid Proximity Buffer
author : Copyrights (c) 2006 by Volker Wichmann
Load grid: contour50_buff.sgrd...
ready
Parameters
Grid system: 25; 147x 149y; 6551897.5x 5070575y
Source Grid: contour50_buff
Distance Grid: Distance Grid
Allocation Grid: Allocation Grid
Buffer Grid: Buffer Grid
Buffer distance: 1224.971655
Equidistance: 25
Save grid: contours50_dist.sgrd...
ready
Save grid: contours50_alloc.sgrd...
ready
Save grid: contours50_bdist.sgrd...
ready
error: module
library path: /usr/lib/saga
library name: libio_grid
module name : Export ESRI Arc/Info Grid
author : O.Conrad (c) 2007
Load grid: contours50_dist.sgrd...
ready
Parameters
Grid system: 25; 147x 149y; 6551897.5x 5070575y
Grid: contours50_dist
File: /home/user/bin/Pixel_size/test_gamm/contours50_dist.asc
Format: ASCII
Geo-Reference: corner
ASCII Precision: 1
ASCII Decimal Separator: point (.)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.8.0, released 2011/01/12
Path to GDAL shared files: /usr/share/gdal/1.8
Loaded PROJ.4 runtime: Rel. 4.7.1, 23 September 2009, [PJ_VERSION: 470]
Path to PROJ.4 shared files: (autodetected)
contours50_dist.asc has GDAL driver AAIGrid
and has 149 rows and 147 columns
error: module
library path: /usr/lib/saga
library name: libgrid_spline
module name : Thin Plate Spline (Local)
author : (c) 2006 by O.Conrad
Load shapes: contours2.shp...
ready
Parameters
Points: contours2
Attribute: VALUE
Target Grid: user defined
Regularisation: 0.000100
Search Radius: 1224971.655001
Search Mode: all directions
Points Selection: maximum number of points
Maximum Number of Points: 30
Save grid: DEM.sgrd...
ready
error: module
library path: /usr/lib/saga
library name: libio_grid
module name : Export ESRI Arc/Info Grid
author : O.Conrad (c) 2007
Load grid: DEM.sgrd...
ready
Parameters
Grid system: 25; 147x 149y; 6551897.5x 5070575y
Grid: DEM
File: /home/user/bin/Pixel_size/test_gamm/DEM.asc
Format: ASCII
Geo-Reference: corner
ASCII Precision: 1
ASCII Decimal Separator: point (.)
DEM.asc has GDAL driver AAIGrid
and has 149 rows and 147 columns
error: module
library path: /usr/lib/saga
library name: libgrid_spline
module name : Thin Plate Spline (Local)
author : (c) 2006 by O.Conrad
Load shapes: elevations.shp...
ready
Parameters
Points: elevations
Attribute: VALUE
Target Grid: user defined
Regularisation: 0.000100
Search Radius: 1224971.655001
Search Mode: all directions
Points Selection: maximum number of points
Maximum Number of Points: 10
Save grid: DEM20.sgrd...
ready
error: module
library path: /usr/lib/saga
library name: libgrid_spline
module name : Thin Plate Spline (Local)
author : (c) 2006 by O.Conrad
Load shapes: elevations.shp...
ready
Parameters
Points: elevations
Attribute: VALUE
Target Grid: user defined
Regularisation: 0.000100
Search Radius: 1224971.655001
Search Mode: all directions
Points Selection: maximum number of points
Maximum Number of Points: 10
Save grid: DEM30.sgrd...
ready
error: module
library path: /usr/lib/saga
library name: libgrid_spline
module name : Thin Plate Spline (Local)
author : (c) 2006 by O.Conrad
Load shapes: elevations.shp...
ready
Parameters
Points: elevations
Attribute: VALUE
Target Grid: user defined
Regularisation: 0.000100
Search Radius: 1224971.655001
Search Mode: all directions
Points Selection: maximum number of points
Maximum Number of Points: 10
Save grid: DEM40.sgrd...
ready
error: module
library path: /usr/lib/saga
library name: libgrid_spline
module name : Thin Plate Spline (Local)
author : (c) 2006 by O.Conrad
Load shapes: elevations.shp...
ready
Parameters
Points: elevations
Attribute: VALUE
Target Grid: user defined
Regularisation: 0.000100
Search Radius: 1224971.655001
Search Mode: all directions
Points Selection: maximum number of points
Maximum Number of Points: 10
Save grid: DEM50.sgrd...
ready
error: module
library path: /usr/lib/saga
library name: libgrid_spline
module name : Thin Plate Spline (Local)
author : (c) 2006 by O.Conrad
Load shapes: elevations.shp...
ready
Parameters
Points: elevations
Attribute: VALUE
Target Grid: user defined
Regularisation: 0.000100
Search Radius: 1224971.655001
Search Mode: all directions
Points Selection: maximum number of points
Maximum Number of Points: 10
Save grid: DEM60.sgrd...
ready
error: module
library path: /usr/lib/saga
library name: libgrid_spline
module name : Thin Plate Spline (Local)
author : (c) 2006 by O.Conrad
Load shapes: elevations.shp...
ready
Parameters
Points: elevations
Attribute: VALUE
Target Grid: user defined
Regularisation: 0.000100
Search Radius: 1224971.655001
Search Mode: all directions
Points Selection: maximum number of points
Maximum Number of Points: 10
Save grid: DEM80.sgrd...
ready
error: module
library path: /usr/lib/saga
library name: libgrid_spline
module name : Thin Plate Spline (Local)
author : (c) 2006 by O.Conrad
Load shapes: elevations.shp...
ready
Parameters
Points: elevations
Attribute: VALUE
Target Grid: user defined
Regularisation: 0.000100
Search Radius: 1224971.655001
Search Mode: all directions
Points Selection: maximum number of points
Maximum Number of Points: 10
Save grid: DEM100.sgrd...
ready
error: module
library path: /usr/lib/saga
library name: libta_morphometry
module name : Slope, Aspect, Curvature
author : O.Conrad (c) 2001
Load grid: DEM20.sgrd...
ready
Parameters
Grid system: 20; 184x 186y; 6551897.5x 5070575y
Elevation: DEM20
Slope: Slope
Aspect: Aspect
Curvature: [not set]
Plan Curvature: [not set]
Profile Curvature: [not set]
Method: Fit 2.Degree Polynom (Zevenbergen & Thorne 1987)
Save grid: SLOPE20.sgrd...
ready
Save grid: /tmp/Rtmp4lY27A/file110a629ebcf5...
ready
error: module
library path: /usr/lib/saga
library name: libio_grid
module name : Export ESRI Arc/Info Grid
author : O.Conrad (c) 2007
Load grid: SLOPE20.sgrd...
ready
Parameters
Grid system: 20; 184x 186y; 6551897.5x 5070575y
Grid: SLOPE20
File: /home/user/bin/Pixel_size/test_gamm/SLOPE20.asc
Format: ASCII
Geo-Reference: corner
ASCII Precision: 3
ASCII Decimal Separator: point (.)
error: module
library path: /usr/lib/saga
library name: libta_morphometry
module name : Slope, Aspect, Curvature
author : O.Conrad (c) 2001
Load grid: DEM30.sgrd...
ready
Parameters
Grid system: 30; 123x 124y; 6551897.5x 5070575y
Elevation: DEM30
Slope: Slope
Aspect: Aspect
Curvature: [not set]
Plan Curvature: [not set]
Profile Curvature: [not set]
Method: Fit 2.Degree Polynom (Zevenbergen & Thorne 1987)
Save grid: SLOPE30.sgrd...
ready
Save grid: /tmp/Rtmp4lY27A/file110a2862ac0c...
ready
error: module
library path: /usr/lib/saga
library name: libio_grid
module name : Export ESRI Arc/Info Grid
author : O.Conrad (c) 2007
Load grid: SLOPE30.sgrd...
ready
Parameters
Grid system: 30; 123x 124y; 6551897.5x 5070575y
Grid: SLOPE30
File: /home/user/bin/Pixel_size/test_gamm/SLOPE30.asc
Format: ASCII
Geo-Reference: corner
ASCII Precision: 3
ASCII Decimal Separator: point (.)
error: module
library path: /usr/lib/saga
library name: libta_morphometry
module name : Slope, Aspect, Curvature
author : O.Conrad (c) 2001
Load grid: DEM40.sgrd...
ready
Parameters
Grid system: 40; 92x 94y; 6551897.5x 5070575y
Elevation: DEM40
Slope: Slope
Aspect: Aspect
Curvature: [not set]
Plan Curvature: [not set]
Profile Curvature: [not set]
Method: Fit 2.Degree Polynom (Zevenbergen & Thorne 1987)
Save grid: SLOPE40.sgrd...
ready
Save grid: /tmp/Rtmp4lY27A/file110a388388d0...
ready
error: module
library path: /usr/lib/saga
library name: libio_grid
module name : Export ESRI Arc/Info Grid
author : O.Conrad (c) 2007
Load grid: SLOPE40.sgrd...
ready
Parameters
Grid system: 40; 92x 94y; 6551897.5x 5070575y
Grid: SLOPE40
File: /home/user/bin/Pixel_size/test_gamm/SLOPE40.asc
Format: ASCII
Geo-Reference: corner
ASCII Precision: 3
ASCII Decimal Separator: point (.)
error: module
library path: /usr/lib/saga
library name: libta_morphometry
module name : Slope, Aspect, Curvature
author : O.Conrad (c) 2001
Load grid: DEM50.sgrd...
ready
Parameters
Grid system: 50; 74x 75y; 6551897.5x 5070575y
Elevation: DEM50
Slope: Slope
Aspect: Aspect
Curvature: [not set]
Plan Curvature: [not set]
Profile Curvature: [not set]
Method: Fit 2.Degree Polynom (Zevenbergen & Thorne 1987)
Save grid: SLOPE50.sgrd...
ready
Save grid: /tmp/Rtmp4lY27A/file110a4b7a5376...
ready
error: module
library path: /usr/lib/saga
library name: libio_grid
module name : Export ESRI Arc/Info Grid
author : O.Conrad (c) 2007
Load grid: SLOPE50.sgrd...
ready
Parameters
Grid system: 50; 74x 75y; 6551897.5x 5070575y
Grid: SLOPE50
File: /home/user/bin/Pixel_size/test_gamm/SLOPE50.asc
Format: ASCII
Geo-Reference: corner
ASCII Precision: 3
ASCII Decimal Separator: point (.)
error: module
library path: /usr/lib/saga
library name: libta_morphometry
module name : Slope, Aspect, Curvature
author : O.Conrad (c) 2001
Load grid: DEM60.sgrd...
ready
Parameters
Grid system: 60; 62x 63y; 6551897.5x 5070575y
Elevation: DEM60
Slope: Slope
Aspect: Aspect
Curvature: [not set]
Plan Curvature: [not set]
Profile Curvature: [not set]
Method: Fit 2.Degree Polynom (Zevenbergen & Thorne 1987)
Save grid: SLOPE60.sgrd...
ready
Save grid: /tmp/Rtmp4lY27A/file110a7ec8657b...
ready
error: module
library path: /usr/lib/saga
library name: libio_grid
module name : Export ESRI Arc/Info Grid
author : O.Conrad (c) 2007
Load grid: SLOPE60.sgrd...
ready
Parameters
Grid system: 60; 62x 63y; 6551897.5x 5070575y
Grid: SLOPE60
File: /home/user/bin/Pixel_size/test_gamm/SLOPE60.asc
Format: ASCII
Geo-Reference: corner
ASCII Precision: 3
ASCII Decimal Separator: point (.)
error: module
library path: /usr/lib/saga
library name: libta_morphometry
module name : Slope, Aspect, Curvature
author : O.Conrad (c) 2001
Load grid: DEM80.sgrd...
ready
Parameters
Grid system: 80; 47x 47y; 6551897.5x 5070575y
Elevation: DEM80
Slope: Slope
Aspect: Aspect
Curvature: [not set]
Plan Curvature: [not set]
Profile Curvature: [not set]
Method: Fit 2.Degree Polynom (Zevenbergen & Thorne 1987)
Save grid: SLOPE80.sgrd...
ready
Save grid: /tmp/Rtmp4lY27A/file110a5686afec...
ready
error: module
library path: /usr/lib/saga
library name: libio_grid
module name : Export ESRI Arc/Info Grid
author : O.Conrad (c) 2007
Load grid: SLOPE80.sgrd...
ready
Parameters
Grid system: 80; 47x 47y; 6551897.5x 5070575y
Grid: SLOPE80
File: /home/user/bin/Pixel_size/test_gamm/SLOPE80.asc
Format: ASCII
Geo-Reference: corner
ASCII Precision: 3
ASCII Decimal Separator: point (.)
error: module
library path: /usr/lib/saga
library name: libta_morphometry
module name : Slope, Aspect, Curvature
author : O.Conrad (c) 2001
Load grid: DEM100.sgrd...
ready
Parameters
Grid system: 100; 38x 38y; 6551897.5x 5070575y
Elevation: DEM100
Slope: Slope
Aspect: Aspect
Curvature: [not set]
Plan Curvature: [not set]
Profile Curvature: [not set]
Method: Fit 2.Degree Polynom (Zevenbergen & Thorne 1987)
Save grid: SLOPE100.sgrd...
ready
Save grid: /tmp/Rtmp4lY27A/file110a393771e8...
ready
error: module
library path: /usr/lib/saga
library name: libio_grid
module name : Export ESRI Arc/Info Grid
author : O.Conrad (c) 2007
Load grid: SLOPE100.sgrd...
ready
Parameters
Grid system: 100; 38x 38y; 6551897.5x 5070575y
Grid: SLOPE100
File: /home/user/bin/Pixel_size/test_gamm/SLOPE100.asc
Format: ASCII
Geo-Reference: corner
ASCII Precision: 3
ASCII Decimal Separator: point (.)
SLOPE20.asc has GDAL driver AAIGrid
and has 186 rows and 184 columns
SLOPE30.asc has GDAL driver AAIGrid
and has 124 rows and 123 columns
SLOPE40.asc has GDAL driver AAIGrid
and has 94 rows and 92 columns
SLOPE50.asc has GDAL driver AAIGrid
and has 75 rows and 74 columns
SLOPE60.asc has GDAL driver AAIGrid
and has 63 rows and 62 columns
SLOPE80.asc has GDAL driver AAIGrid
and has 47 rows and 47 columns
SLOPE100.asc has GDAL driver AAIGrid
and has 38 rows and 38 columns
> ls()
[1] "bin.VALUE" "contours.5" "contours.50"
[4] "contours50.dist" "contours50.pixsize1" "contours50.pixsize2"
[7] "cor.SLOPE" "dem" "dem.area"
[10] "dem.pixelsize" "dist.box" "dist.sel"
[13] "dist.wesepe" "elevations" "elevations.interp"
[16] "GPS100" "GPS.pixsize1" "GPS.pixsize2"
[19] "GPS.pixsize3" "i" "map.list"
[22] "m.pairs" "my.area" "my.perim"
[25] "pixel.range" "plots" "plots.area"
[28] "plots.area2" "plots.pixsize1" "plots.pixsize2"
[31] "plots.pixsize3" "p.sel" "rsaga.get.version"
[34] "sel" "SLOPE" "SLOPE100"
[37] "SLOPE30" "SLOPE40" "SLOPE50"
[40] "SLOPE60" "SLOPE80" "slope.ov"
[43] "SLOPE.s" "tc3.var" "tc3.vgm"
[46] "URL" "wesepe.area" "wesepe.c"
[49] "wesepe.dens" "wesepe.pixsize0" "wesepe.pixsize1"
[52] "wesepe.pixsize2" "wesepe.pixsize3" "wesepe.pixsize4"
[55] "wesepe.pixsize5" "wesepe.ppp" "zip"