[postgis-tickets] [PostGIS] #3933: [raster] Errors in examples of doc for ST_Neighborhood
PostGIS
trac at osgeo.org
Wed Nov 22 06:18:09 PST 2017
#3933: [raster] Errors in examples of doc for ST_Neighborhood
-------------------------------------------------+-------------------------
Reporter: lrohr | Owner: robe
Type: defect | Status: new
Priority: low | Milestone:
Component: documentation | Version: 2.4.x
Keywords: postgis, documentation, |
ST_Neighborhood, raster |
-------------------------------------------------+-------------------------
I spotted 3 errors in the examples cited in the documentation for
ST_Neighborhood:
* First example: The result should be {{NULL,1,1},{1,1,1},{1,NULL,1}}.
Reproduce: Execute query (copy-paste) on a server.
* Third example: There is a "SELECT" missing between lines 5 and 6. Copy-
pasting the query as is raises a syntax error. Correct:
{{{
FROM (
SELECT
ST_SetValues(
}}}
* Third example: The result should be {{1,1,0},{0,1,1},{1,1,1}}.
Reproduce: Execute query (copy-paste) with the correction above on a
server.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3933>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list