mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-23 16:42:35 +00:00
Add NEWS entry and another example for ST_IsValidTrajectory
git-svn-id: http://svn.osgeo.org/postgis/trunk@13571 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
03c15d5644
commit
319f35da5f
1
NEWS
1
NEWS
|
@ -29,6 +29,7 @@ PostGIS 2.2.0
|
|||
|
||||
* New Features *
|
||||
|
||||
- #3129, ST_IsValidTrajectory (Sandro Santilli / Boundless)
|
||||
- #3128, ST_ClosestPointOfApproach (Sandro Santilli / Boundless)
|
||||
- Canonical output for index key types
|
||||
- ST_SwapOrdinates (Sandro Santilli / Boundless)
|
||||
|
|
|
@ -42,13 +42,19 @@ like <xref linkend="ST_ClosestPointOfApproach" />
|
|||
<refsection>
|
||||
<title>Examples</title>
|
||||
<programlisting>
|
||||
-- A valid trajectory
|
||||
SELECT ST_IsValidTrajectory(ST_MakeLine(
|
||||
ST_MakePointM(0,0,1),
|
||||
ST_MakePointM(0,1,2))
|
||||
);
|
||||
t
|
||||
|
||||
-- An invalid trajectory
|
||||
SELECT ST_IsValidTrajectory(ST_MakeLine(ST_MakePointM(0,0,1), ST_MakePointM(0,1,0)));
|
||||
NOTICE: Measure of vertex 1 (0) not bigger than measure of vertex 0 (1)
|
||||
st_isvalidtrajectory
|
||||
----------------------
|
||||
t
|
||||
f
|
||||
</programlisting>
|
||||
</refsection>
|
||||
|
||||
|
|
Loading…
Reference in a new issue