This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[a4paper,12pt]{article} | |
\usepackage[english,spanish]{babel} | |
\usepackage[utf8]{inputenc} | |
%Load layout and data packages | |
\usepackage{fullpage} | |
\usepackage{filecontents} | |
\usepackage{csvtools} | |
\usepackage{eso-pic} | |
\usepackage{graphicx} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//MyGeometricShapeFactory class for creating tessellations. | |
//Copyright (C) 2012 Benito M. Zaragozi | |
//Authors: Benito M. Zaragozi (www.gisandchips.org) | |
//Send comments and suggestions to [email protected] | |
//This program is free software: you can redistribute it and/or modify | |
//it under the terms of the GNU General Public License as published by | |
//the Free Software Foundation, either version 3 of the License, or | |
//(at your option) any later version. | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//GraticuleBuilder class for creating tessellations. | |
//Copyright (C) 2012 Benito M. Zaragozi | |
//Authors: Benito M. Zaragozi (www.gisandchips.org) | |
//Send comments and suggestions to [email protected] | |
//This program is free software: you can redistribute it and/or modify | |
//it under the terms of the GNU General Public License as published by | |
//the Free Software Foundation, either version 3 of the License, or | |
//(at your option) any later version. | |
// | |
//This program is distributed in the hope that it will be useful, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% GIS&Chips nice business card | |
% By Benito M. Zaragozí | |
% Version 0.1 released 02/11/2011 | |
% Further releases in: www.gisandchips.org | |
% This template is composed by three .tex files (businessCard.tex, businessCard_back.tex and businessCardx10.tex) for preparing a basic layout. | |
\documentclass{beamer} | |
\usepackage[utf8x]{inputenc} | |
\usepackage[spanish]{babel} | |
\usepackage{hyperref} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% GIS&Chips nice business card | |
% By Benito M. Zaragozí | |
% Version 0.1 released 02/11/2011 | |
% Further releases in: www.gisandchips.org | |
% This template is composed by three .tex files (businessCard.tex, businessCard_back.tex and businessCardx10.tex) for preparing a basic layout. | |
\documentclass{beamer} | |
\usepackage[utf8x]{inputenc} | |
\usepackage[spanish]{babel} | |
\usepackage{geometry} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% GIS&Chips nice business card | |
% By Benito M. Zaragozí | |
% Version 0.1 released 02/11/2011 | |
% Further releases in: www.gisandchips.org | |
% This template is composed by three .tex files (businessCard.tex, businessCard_back.tex and businessCardx10.tex) for preparing a basic layout. | |
\documentclass[10pt,a4paper]{minimal} | |
\usepackage{graphicx} | |
\usepackage[margin=1cm]{geometry} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Abrimos la consola de R y cargamos la librería | |
library(RSAGA) | |
## Seleccionamos el fichero raster que queremos trocear y una capa vectorial que queramos usar como límites. También especificamos el directorio donde van los outputs. Para trabajar con Windows recomiendo rutas sin espacios. | |
raster<- file.choose() | |
poligonos<- file.choose() | |
directorio <-choose.dir() | |
## Consultamos hasta encontrar la herramienta que nos separa un shapefile en varios, obteniendo un shapefile por cada polígono, o lo que quisiéramos. Por ejemplo: | |
## rsaga.get.modules("shapes_grid") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT _plr_clasif_textural ( 'arenas' , 'limos' , 'arcilla' , 'submuestra' , 'simbolo' , 'etiquetas') ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Function: _plr_clasif_textural(text, text, text, text, text, text) | |
-- DROP FUNCTION _plr_clasif_textural(text, text, text, text, text, text); | |
CREATE OR REPLACE FUNCTION _plr_clasif_textural(text, text, text, text, text, text) | |
RETURNS text AS | |
$BODY$ | |
-- | |
--Put the R code here | |
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cargamos las librerias necesarias | |
library(Cairo) | |
library(plotrix) | |
# Definimos la funcion | |
clasif.textural = function (soiltexture = NULL, at = seq(0.1, 0.9, by = 0.1), | |
axis.labels = c("% arena (entre 0,05 y 2 mm)", "% limo (entre 0,05 y 0,002 mm)", "% arcilla (menor de 0,002 mm)"), | |
tick.labels = list(l = seq(10, 90, by = 10), r = seq(10, | |
90, by = 10), b = seq(10, 90, by = 10)), show.names = TRUE, | |
show.lines = TRUE, col.names = "black", bg.names = par("bg"), | |
show.grid = TRUE, col.axis = "black", col.lines = "black", |
OlderNewer