pggeodb.nancy.inra.fr/db_toff - db_toff on pggeodb.nancy.inra.fr
Previous topic Chapter index Next topic

Function: st_asraster

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: geom, ref, pixeltype, value=1, nodataval=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

 

Options

Option

Value

Returns

public.raster

Language

sql

Parameters

geom public.geometry

ref public.raster

pixeltype text

value double precision = 1

nodataval double precision = 0

touched boolean = false

 

Definition

CREATE OR REPLACE FUNCTION public.st_asraster (
 geom public.geometry,
 ref public.raster,
 pixeltype text,
 value double precision = 1,
 nodataval double precision = 0,
 touched boolean = false
)
RETURNS public.raster AS
$span$
SELECT  public
.ST_AsRaster($1, $2, ARRAY[$3]::text[], ARRAY[$4]::double precision[], ARRAY[$5]::double precision[], $6)
$span$
LANGUAGE
'sql'
STABLE
CALLED ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_asraster(geom public.geometry, ref public.raster, pixeltype text, value double precision, nodataval double precision, touched boolean)
IS 'args: geom, ref, pixeltype, value=1, nodataval=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23
Previous topic Chapter index Next topic