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

Function: st_asbinary

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: g1, NDR_or_XDR - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

 

Options

Option

Value

Returns

bytea

Language

sql

Parameters

public.geography

text

 

Definition

CREATE OR REPLACE FUNCTION public.st_asbinary (
 public.geography,
 text
)
RETURNS bytea AS
$span$
SELECT
ST_AsBinary($1::geometry, $2);
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_asbinary(public.geography, text)
IS 'args: g1, NDR_or_XDR - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.';

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