[postgis-tickets] [PostGIS] #3581: Error in Manual - ST_SnapToGrid (9.7. Raster Editors)
PostGIS
trac at osgeo.org
Wed Jun 15 23:22:40 PDT 2016
#3581: Error in Manual - ST_SnapToGrid (9.7. Raster Editors)
-------------------------------------+---------------------------
Reporter: ruvyn | Owner: robe
Type: defect | Status: new
Priority: low | Milestone: PostGIS 2.3.0
Component: documentation | Version: trunk
Keywords: PostGIS 2.3.0dev Manual |
-------------------------------------+---------------------------
In example code, I don't think it's about pixel sizes or rescaling.
{{{
-- the original raster pixel size⏎
SELECT ST_UpperLeftX(ST_AddBand(ST_MakeEmptyRaster(10, 10, 0, 0, 0.001,
-0.001, 0, 0, 4269), '8BUI'::text, 1, 0))⏎
⏎
-- the rescaled raster raster pixel size⏎
SELECT ST_UpperLeftX(ST_SnapToGrid(ST_AddBand(ST_MakeEmptyRaster(10, 10,
0, 0, 0.001, -0.001, 0, 0, 4269), '8BUI'::text, 1, 0), 0.0002, 0.0002))
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3581>
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