Name

bb_makepoint — produce a PostGIS geometry point in the WGS 1984 UTM Zone 37South coordinate system from X and Y coordinates

Synopsis

geometry bb_makepoint ( X,  
  Y);  
double precision X ;
double precision Y ;
 

Input

X

The X coordinate of the point in the WGS 1984 UTM Zone 37South coordinate system. A double precision number, or any other data type that can be interpreted as a number and converted to double precision.

Y

The Y coordinate of the point in the WGS 1984 UTM Zone 37South coordinate system. A double precision number, or any other data type that can be interpreted as a number and converted to double precision.

Description

Return a PostGIS geometry point in the WGS 1984 UTM Zone 37South coordinate system, the geolocation coordinate system used within Babase. Such points can be used in geospatial analysis.

This is a convenience function that is shorthand for the PostGIS expression: ST_SetSRID(ST_MakePoint(x, y), 32737). However, unlike ST_MakePoint(), bb_makepoint requires that either both x and y be NULL or neither be NULL.


Page generated: 2016-07-22T23:08:46-04:00.