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>112 / 310ExamplesSELECT ST_NumPoints(ST_GeomFromText(’LINESTRING(77.29 29.07,77.42 29.26,77.27 29.31,77.2929.07)’));--result4←↪See AlsoST_NPoints7.4.25 ST_PointNST_PointN — Return the Nth point in the first linestring or circular linestring in the geometry. Return NULL if there is nolinestring in the geometry.Synopsisgeometry ST_PointN(geometry a_linestring, integer n);DescriptionReturn the Nth point in the first linestring or circular linestring in the geometry. Return NULL if there is no linestring in thegeometry.NoteIndex is 1-based as for OGC specs since version 0.8.0. Previous versions implemented this as 0-based instead.NoteIf you want to get the nth point of each line string in a multilinestring, use in conjunction with ST_DumpThis method implements the OpenGIS Simple Features Implementation Specification for SQL 1.1.This method implements the SQL/MM specification. SQL-MM 3: 7.2.5, 7.3.5This function supports 3d and will not drop the z-index.This method supports Circular Strings and Curves

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

Saved successfully!

Ooh no, something went wrong!