[postgis-tickets] [PostGIS] #3580: Error in Manual - ST_ReSkew (9.7. Raster Editors)

PostGIS trac at osgeo.org
Wed Jun 15 23:09:21 PDT 2016


#3580: Error in Manual - ST_ReSkew (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,need to change rescale/pixel size to reskew/skew


 {{{
 -- the original raster pixel size⏎
 SELECT ST_Rotation(ST_AddBand(ST_MakeEmptyRaster(100, 100, 0, 0, 0.001,
 -0.001, 0, 0, 4269), '8BUI'::text, 1, 0))⏎
 ⏎
 -- the rescaled raster raster pixel size⏎
 SELECT ST_Rotation(ST_Reskew(ST_AddBand(ST_MakeEmptyRaster(100, 100, 0, 0,
 0.001, -0.001, 0, 0, 4269), '8BUI'::text, 1, 0), 0.0015))
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3580>
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