Opened 3 years ago

Closed 3 years ago

#3581 closed defect (fixed)

Error in Manual - ST_SnapToGrid (9.7. Raster Editors)

Reported by: ruvyn Owned by: robe
Priority: low Milestone: PostGIS 2.2.3
Component: documentation Version: master
Keywords: PostGIS 2.3.0dev Manual Cc:

Description

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))

Change History (3)

comment:1 Changed 3 years ago by robe

Milestone: PostGIS 2.3.0PostGIS 2.2.3

comment:2 Changed 3 years ago by robe

In 15118:

doc corrections from ruvyn for PostGIS 2.3
references #3581
references #3580
references #3586
references #3575

comment:3 Changed 3 years ago by robe

Resolution: fixed
Status: newclosed

In 15119:

doc corrections from ruvyn for PostGIS 2.2.3
closes #3581
closes #3580
closes #3586
closes #3575

Note: See TracTickets for help on using tickets.