Opened 7 years ago
Closed 4 years ago
#3933 closed defect (fixed)
[raster] Errors in examples of doc for ST_Neighborhood
Reported by: | lrohr | Owned by: | robe |
---|---|---|---|
Priority: | low | Milestone: | PostGIS 2.5.5 |
Component: | documentation | Version: | 2.4.x |
Keywords: | postgis, documentation, ST_Neighborhood, raster | Cc: |
Description
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.
Change History (6)
comment:1 by , 5 years ago
Milestone: | → PostGIS 3.0.0 |
---|
comment:2 by , 5 years ago
Milestone: | PostGIS 3.0.0 → PostGIS 2.5.4 |
---|
comment:3 by , 5 years ago
Milestone: | PostGIS 2.5.4 → PostGIS 2.5.5 |
---|
comment:4 by , 4 years ago
Note:
See TracTickets
for help on using tickets.
In 25825b6/git: