postgis.git / summary / log / commit / refs
commit 63ea46f0385057ec24d76042e04993a7b61a876f
Author: Darafei Praliaskouski <me@komzpa.net>
Date: Wed Jul 08 19:24:49 2026 +0000
doc: split obvious example output blocks
doc/reference_operator.xml | 7 +++----
doc/reference_output.xml | 31 +++++++++----------------------
doc/reference_validation.xml | 2 +-
3 files changed, 13 insertions(+), 27 deletions(-)
diff --git a/doc/reference_operator.xml b/doc/reference_operator.xml
index cb52867b4..6b8d1a6c5 100644
--- a/doc/reference_operator.xml
+++ b/doc/reference_operator.xml
@@ -83,13 +83,12 @@ FROM ( VALUES
(2, 'LINESTRING(0 1, 0 5)'::geometry)) AS tbl1,
( VALUES
(3, 'LINESTRING(1 2, 4 6)'::geometry)) AS tbl2;
-
- column1 | column1 | overlaps
+]]></programlisting>
+<screen><![CDATA[ column1 | column1 | overlaps
---------+---------+----------
1 | 3 | t
2 | 3 | f
-(2 rows)
-]]></programlisting>
+(2 rows)]]></screen>
<!-- TODO Add geography examples -->
</refsection>
diff --git a/doc/reference_output.xml b/doc/reference_output.xml
index 37fc90054..00c1a1a53 100644
--- a/doc/reference_output.xml
+++ b/doc/reference_output.xml
@@ -990,18 +990,12 @@ ST_GeomFromEWKT('POLYHEDRALSURFACE( ((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)),
</para>
</warning>
- <note>
- <para>Requires PostGIS be compiled with Proj support. Use <xref linkend="PostGIS_Full_Version"/> to confirm you have proj support compiled in.</para>
- </note>
+ <para role="availability" conformance="1.2.2">Availability: 1.2.2 - later variants that include version param came in 1.3.2</para>
+ <para role="enhanced" conformance="2.0.0">Enhanced: 2.0.0 - Add prefix namespace, use default and named args</para>
+ <para role="changed" conformance="3.0.0">Changed: 3.0.0 - Removed the "versioned" variant signature</para>
<note>
- <para role="availability" conformance="1.2.2">Availability: 1.2.2 - later variants that include version param came in 1.3.2</para>
- </note>
- <note>
- <para role="enhanced" conformance="2.0.0">Enhanced: 2.0.0 - Add prefix namespace, use default and named args</para>
- </note>
- <note>
- <para role="changed" conformance="3.0.0">Changed: 3.0.0 - Removed the "versioned" variant signature</para>
+ <para>Requires PostGIS be compiled with Proj support. Use <xref linkend="PostGIS_Full_Version"/> to confirm you have proj support compiled in.</para>
</note>
<note>
@@ -1013,19 +1007,12 @@ ST_GeomFromEWKT('POLYHEDRALSURFACE( ((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)),
<refsection>
<title>Examples</title>
- <programlisting><![CDATA[
-SELECT ST_AsKML(ST_GeomFromText('POLYGON((0 0,0 1,1 1,1 0,0 0))',4326));
-
- st_askml
- --------
- <Polygon><outerBoundaryIs><LinearRing><coordinates>0,0 0,1 1,1 1,0 0,0</coordinates></LinearRing></outerBoundaryIs></Polygon>
+ <programlisting>SELECT ST_AsKML(ST_GeomFromText('POLYGON((0 0,0 1,1 1,1 0,0 0))',4326));</programlisting>
+ <screen><![CDATA[<Polygon><outerBoundaryIs><LinearRing><coordinates>0,0 0,1 1,1 1,0 0,0</coordinates></LinearRing></outerBoundaryIs></Polygon>]]></screen>
- --3d linestring
- SELECT ST_AsKML('SRID=4326;LINESTRING(1 2 3, 4 5 6)');
- <LineString><coordinates>1,2,3 4,5,6</coordinates></LineString>
-
-
-]]></programlisting>
+ <para>This example outputs a 3D LineString.</para>
+ <programlisting>SELECT ST_AsKML('SRID=4326;LINESTRING(1 2 3, 4 5 6)');</programlisting>
+ <screen><![CDATA[<LineString><coordinates>1,2,3 4,5,6</coordinates></LineString>]]></screen>
</refsection>
<refsection>
<title>See Also</title>
diff --git a/doc/reference_validation.xml b/doc/reference_validation.xml
index 4dc7332e2..998864f4b 100644
--- a/doc/reference_validation.xml
+++ b/doc/reference_validation.xml
@@ -510,7 +510,7 @@ FROM (SELECT 'MULTIPOLYGON(((186 194,187 194,188 195,189 195,190 195,
</informaltable>
</refsection>
<refsection>
-<title>Examples</title>
+<title>Collapsed Geometry Examples</title>
<programlisting>SELECT ST_AsText(ST_MakeValid(
'LINESTRING(0 0, 0 0)',
'method=structure keepcollapsed=true'
[parent: 4c311beade3c]