Cobol Intro

2
PostGIS 1.5.1 Manual 284 / 315 ST_Force_3DM - Forces the geometries into XYM mode. ST_Force_3DZ - Forces the geometries into XYZ mode. This is a synonym for ST_Force_3D. ST_Force_4D - Forces the geometries into XYZM mode. ST_Force_Collection - Converts the geometry into a GEOMETRYCOLLECTION. ST_GeoHash - Return a GeoHash representation (geohash.org) of the geometry. ST_GeogFromWKB - Creates a geography instance from a Well-Known Binary geometry representation (WKB) or extended Well Known Binary (EWKB). ST_GeomFromEWKB - Return a specified ST_Geometry value from Extended Well-Known Binary representation (EWKB). ST_GeomFromEWKT - Return a specified ST_Geometry value from Extended Well-Known Text representation (EWKT). ST_GeomFromText - Return a specified ST_Geometry value from Well-Known Text representation (WKT). ST_GeomFromWKB - Creates a geometry instance from a Well-Known Binary geometry representation (WKB) and optional SRID. ST_GeometryN - Return the 1-based Nth geometry if the geometry is a GEOMETRYCOLLECTION, MULTIPOINT, MUL- TILINESTRING, MULTICURVE or MULTIPOLYGON. Otherwise, return NULL. = - Returns TRUE if A’s bounding box is the same as B’s. &<| - Returns TRUE if A’s bounding box overlaps or is below B’s. && - Returns TRUE if A’s bounding box overlapsB’s. ST_HasArc - Returns true if a geometry or geometry collection contains a circular string ST_IsClosed - Returns TRUE if the LINESTRING’s start and end points are coincident. ST_IsEmpty - Returns true if this Geometry is an empty geometry . If true, then this Geometry represents the empty point set - i.e. GEOMETRYCOLLECTION(EMPTY). ST_LineToCurve - Converts a LINESTRING/POLYGON to a CIRCULARSTRING, CURVED POLYGON ST_Mem_Size - Returns the amount of space (in bytes) the geometry takes. ST_NPoints - Return the number of points (vertexes) in a geometry. ST_NRings - If the geometry is a polygon or multi-polygon returns the number of rings. ST_PointFromWKB - Makes a geometry from WKB with the given SRID ST_PointN - Return the Nth point in the first linestring or circular linestring in the geometry. Return NULL if there is no linestring in the geometry. ST_Rotate - This is a synonym for ST_RotateZ ST_RotateZ - Rotate a geometry rotRadians about the Z axis. ST_SRID - Returns the spatial reference identifier for the ST_Geometry as defined in spatial_ref_sys table. ST_Scale - Scales the geometry to a new size by multiplying the ordinates with the parameters. Ie: ST_Scale(geom, Xfactor, Yfactor, Zfactor). ST_SetSRID - Sets the SRID on a geometry to a particular integer value. ST_TransScale - Translates the geometry using the deltaX and deltaY args, then scales it using the XFactor, YFactor args, working in 2D only. ST_Transform - Returns a new geometry with its coordinates transformed to the SRID referenced by the integer parameter.

description

cobol intro

Transcript of Cobol Intro

Page 1: Cobol Intro

PostGIS 1.5.1 Manual284 / 315

• ST_Force_3DM - Forces the geometries into XYM mode.

• ST_Force_3DZ - Forces the geometries into XYZ mode. This is a synonym for ST_Force_3D.

• ST_Force_4D - Forces the geometries into XYZM mode.

• ST_Force_Collection - Converts the geometry into a GEOMETRYCOLLECTION.

• ST_GeoHash - Return a GeoHash representation (geohash.org) of the geometry.

• ST_GeogFromWKB - Creates a geography instance from a Well-Known Binary geometry representation (WKB) or extendedWell Known Binary (EWKB).

• ST_GeomFromEWKB - Return a specified ST_Geometry value from Extended Well-Known Binary representation (EWKB).

• ST_GeomFromEWKT - Return a specified ST_Geometry value from Extended Well-Known Text representation (EWKT).

• ST_GeomFromText - Return a specified ST_Geometry value from Well-Known Text representation (WKT).

• ST_GeomFromWKB - Creates a geometry instance from a Well-Known Binary geometry representation (WKB) and optionalSRID.

• ST_GeometryN - Return the 1-based Nth geometry if the geometry is a GEOMETRYCOLLECTION, MULTIPOINT, MUL-TILINESTRING, MULTICURVE or MULTIPOLYGON. Otherwise, return NULL.

• = - Returns TRUE if A’s bounding box is the same as B’s.

• &<| - Returns TRUE if A’s bounding box overlaps or is below B’s.

• && - Returns TRUE if A’s bounding box overlaps B’s.

• ST_HasArc - Returns true if a geometry or geometry collection contains a circular string

• ST_IsClosed - Returns TRUE if the LINESTRING’s start and end points are coincident.

• ST_IsEmpty - Returns true if this Geometry is an empty geometry . If true, then this Geometry represents the empty point set- i.e. GEOMETRYCOLLECTION(EMPTY).

• ST_LineToCurve - Converts a LINESTRING/POLYGON to a CIRCULARSTRING, CURVED POLYGON

• ST_Mem_Size - Returns the amount of space (in bytes) the geometry takes.

• ST_NPoints - Return the number of points (vertexes) in a geometry.

• ST_NRings - If the geometry is a polygon or multi-polygon returns the number of rings.

• ST_PointFromWKB - Makes a geometry from WKB with the given SRID

• ST_PointN - Return the Nth point in the first linestring or circular linestring in the geometry. Return NULL if there is nolinestring in the geometry.

• ST_Rotate - This is a synonym for ST_RotateZ

• ST_RotateZ - Rotate a geometry rotRadians about the Z axis.

• ST_SRID - Returns the spatial reference identifier for the ST_Geometry as defined in spatial_ref_sys table.

• ST_Scale - Scales the geometry to a new size by multiplying the ordinates with the parameters. Ie: ST_Scale(geom, Xfactor,Yfactor, Zfactor).

• ST_SetSRID - Sets the SRID on a geometry to a particular integer value.

• ST_TransScale - Translates the geometry using the deltaX and deltaY args, then scales it using the XFactor, YFactor args,working in 2D only.

• ST_Transform - Returns a new geometry with its coordinates transformed to the SRID referenced by the integer parameter.

Page 2: Cobol Intro

PostGIS 1.5.1 Manual285 / 315

• ST_Translate - Translates the geometry to a new location using the numeric parameters as offsets. Ie: ST_Translate(geom, X,Y) or ST_Translate(geom, X, Y,Z).

• ST_XMax - Returns X maxima of a bounding box 2d or 3d or a geometry.

• ST_XMin - Returns X minima of a bounding box 2d or 3d or a geometry.

• ST_YMax - Returns Y maxima of a bounding box 2d or 3d or a geometry.

• ST_YMin - Returns Y minima of a bounding box 2d or 3d or a geometry.

• ST_ZMax - Returns Z minima of a bounding box 2d or 3d or a geometry.

• ST_ZMin - Returns Z minima of a bounding box 2d or 3d or a geometry.

• ST_Zmflag - Returns ZM (dimension semantic) flag of the geometries as a small int. Values are: 0=2d, 1=3dm, 2=3dz, 3=4d.

• UpdateGeometrySRID - Updates the SRID of all features in a geometry column, geometry_columns metadata and srid tableconstraint

8.8 PostGIS Function Support Matrix

Below is an alphabetical listing of spatial specific functions in PostGIS and the kinds of spatial types they work with or OGC/SQLcompliance they try to conform to.

• A means the function works with the type or subtype natively.

• A means it works but with a transform cast built-in using cast to geometry, transform to a "best srid" spatial ref andthen cast back. Results may not be as expected for large areas or areas at poles and may accumulate floating point junk.

• A means the function works with the type because of a auto-cast to another such as to box3d rather than direct typesupport.

Function geometry geography 3D (2.5D) Curves SQL MMBox2D

Box3D

Find_SRID

GeometryType

ST_Accum

ST_AddMeasure

ST_AddPoint

ST_Affine

ST_Area

ST_AsBinary

ST_AsEWKB

ST_AsEWKT

ST_AsGML