12.07.2015 Views

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>PostGIS</strong> <strong>1.5.8</strong> <strong>Manual</strong>124 / 310See AlsoST_AsEWKT, ST_Force_2D, ST_Force_3DM, ST_Force_3D, ST_GeomFromEWKT7.5.7 ST_Force_4DST_Force_4D — Forces the geometries into XYZM mode.Synopsisgeometry ST_Force_4D(geometry geomA);DescriptionForces the geometries into XYZM mode. 0 is tacked on for missing Z and M dimensions.This function supports 3d and will not drop the z-index.This method supports Circular Strings and CurvesExamples--Nothing happens to an already 3D geometrySELECT ST_AsEWKT(ST_Force_4D(ST_GeomFromEWKT(’CIRCULARSTRING(1 1 2, 2 3 2, 4 5 2, 6 7 2, 56 2)’)));st_asewkt---------------------------------------------------------CIRCULARSTRING(1 1 2 0,2 3 2 0,4 5 2 0,6 7 2 0,5 6 2 0)←↪SELECT ST_AsEWKT(ST_Force_4D(’MULTILINESTRINGM((0 0 1,0 5 2,5 0 3,0 0 4),(1 1 1,3 1 1,1 3 ←↪1,1 1 1))’));st_asewkt--------------------------------------------------------------------------------------MULTILINESTRING((0 0 0 1,0 5 0 2,5 0 0 3,0 0 0 4),(1 1 0 1,3 1 0 1,1 3 0 1,1 1 0 1))See AlsoST_AsEWKT, ST_Force_2D, ST_Force_3DM, ST_Force_3D7.5.8 ST_Force_CollectionST_Force_Collection — Converts the geometry into a GEOMETRYCOLLECTION.Synopsisgeometry ST_Force_Collection(geometry geomA);

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!