[postgis-commits] svn - r3112 - trunk/doc

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Wed Oct 15 06:44:00 PDT 2008


Author: robe
Date: 2008-10-15 06:43:59 -0700 (Wed, 15 Oct 2008)
New Revision: 3112

Modified:
   trunk/doc/reference_new.xml
Log:
fix spacing of st_linemerge, st_segmentize examples.

Modified: trunk/doc/reference_new.xml
===================================================================
--- trunk/doc/reference_new.xml	2008-10-15 13:39:46 UTC (rev 3111)
+++ trunk/doc/reference_new.xml	2008-10-15 13:43:59 UTC (rev 3112)
@@ -2543,18 +2543,19 @@
 ST_GeomFromText('MULTILINESTRING((-29 -27,-30 -29.7,-36 -31,-45 -33),(-45 -33,-46 -32))')
 		)
 );
-			st_astext
-			--------------------------------------------------------------------------------------------------
-			LINESTRING(-29 -27,-30 -29.7,-36 -31,-45 -33,-46 -32)
-			(1 row)
-	--If can't be merged - original MULTILINESTRING is returned		
-			SELECT ST_AsText(ST_LineMerge(
-		ST_GeomFromText('MULTILINESTRING((-29 -27,-30 -29.7,-36 -31,-45 -33),(-45.2 -33.2,-46 -32))')
-			)
-		);
-		st_astext
-		----------------
-		MULTILINESTRING((-45.2 -33.2,-46 -32),(-29 -27,-30 -29.7,-36 -31,-45 -33))
+st_astext
+--------------------------------------------------------------------------------------------------
+LINESTRING(-29 -27,-30 -29.7,-36 -31,-45 -33,-46 -32)
+(1 row)
+
+--If can't be merged - original MULTILINESTRING is returned		
+SELECT ST_AsText(ST_LineMerge(
+ST_GeomFromText('MULTILINESTRING((-29 -27,-30 -29.7,-36 -31,-45 -33),(-45.2 -33.2,-46 -32))')
+)
+);
+st_astext
+----------------
+MULTILINESTRING((-45.2 -33.2,-46 -32),(-29 -27,-30 -29.7,-36 -31,-45 -33))
 			</programlisting>
 		</refsection>
 		<refsection>
@@ -2718,18 +2719,18 @@
 ST_GeomFromText('MULTILINESTRING((-29 -27,-30 -29.7,-36 -31,-45 -33),(-45 -33,-46 -32))')
 		,5)
 );
-			st_astext
-			--------------------------------------------------------------------------------------------------
-			MULTILINESTRING((-29 -27,-30 -29.7,-34.886615700134 -30.758766735029,-36 -31,
-			-40.8809353009198 -32.0846522890933,-45 -33),
-			(-45 -33,-46 -32))
-			(1 row)
+st_astext
+--------------------------------------------------------------------------------------------------
+MULTILINESTRING((-29 -27,-30 -29.7,-34.886615700134 -30.758766735029,-36 -31,
+-40.8809353009198 -32.0846522890933,-45 -33),
+(-45 -33,-46 -32))
+(1 row)
 			
-			SELECT ST_AsText(ST_Segmentize(ST_GeomFromText('POLYGON((-29 28, -30 40, -29 28))'),10));
-			st_astext
-			-----------------------
-			POLYGON((-29 28,-29.8304547985374 37.9654575824488,-30 40,-29.1695452014626 30.0345424175512,-29 28))
-			(1 row)
+SELECT ST_AsText(ST_Segmentize(ST_GeomFromText('POLYGON((-29 28, -30 40, -29 28))'),10));
+st_astext
+-----------------------
+POLYGON((-29 28,-29.8304547985374 37.9654575824488,-30 40,-29.1695452014626 30.0345424175512,-29 28))
+(1 row)
 	
 			</programlisting>
 		</refsection>



More information about the postgis-commits mailing list