[SCM] PostGIS branch master updated. 3.5.0-50-g31a628d75
git at osgeo.org
git at osgeo.org
Mon Nov 11 06:51:51 PST 2024
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 31a628d75450169ee7979799f2bed386609f2b31 (commit)
from f39c08544261d4c76d85f9a03d38e94779dd1c8a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 31a628d75450169ee7979799f2bed386609f2b31
Author: Sandro Santilli <strk at kbt.io>
Date: Mon Nov 11 15:51:24 2024 +0100
Add ST_DumpValues in See Also section of ST_Value
diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml
index bb10ff8cc..ac94dd31f 100644
--- a/doc/reference_raster.xml
+++ b/doc/reference_raster.xml
@@ -5078,6 +5078,7 @@ WHERE
<refsection>
<title>See Also</title>
<para>
+ <xref linkend="RT_ST_DumpValues"/>,
<xref linkend="RT_ST_SetValue"/>,
<xref linkend="RT_ST_DumpAsPolygons"/>,
<xref linkend="RT_ST_NumBands"/>,
@@ -9455,12 +9456,12 @@ FROM dummy_rast WHERE rid=2;
<refsection><title>Examples: Comparing selecting all touched vs. not all touched</title>
<programlisting><![CDATA[SELECT ST_Count(rast) AS count_pixels_in_orig, ST_Count(rast_touched) AS all_touched_pixels, ST_Count(rast_not_touched) AS default_clip
-FROM ST_AsRaster(ST_Letters('R'), scalex => 1.0, scaley => -1.0) AS r(rast)
+FROM ST_AsRaster(ST_Letters('R'), scalex => 1.0, scaley => -1.0) AS r(rast)
INNER JOIN ST_GeomFromText('LINESTRING(0 1, 5 6, 10 10)') AS g(geom)
ON ST_Intersects(r.rast,g.geom)
, ST_Clip(r.rast, g.geom, touched => true) AS rast_touched
, ST_Clip(r.rast, g.geom, touched => false) AS rast_not_touched;]]>
-
+
count_pixels_in_orig | all_touched_pixels | default_clip
----------------------+--------------------+--------------
2605 | 16 | 10
-----------------------------------------------------------------------
Summary of changes:
doc/reference_raster.xml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list