[postgis-tickets] [PostGIS] #2891: [raster]: raster2pgsql supports spatial ref transformation in 2.2 not documented

PostGIS trac at osgeo.org
Sun Aug 10 19:26:24 PDT 2014


#2891: [raster]: raster2pgsql supports spatial ref transformation in 2.2 not
documented
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.2.0
Component:  raster  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------
 I noticed the raster2pgsql command-line for 2.2 is different from 2.1 but
 our docs for 2.2 don't reflect. Is it true that in 2.2 we now support
 reprojection?

 I see this in 2.1
 {{{
 RELEASE: 2.1.2 GDAL_VERSION=110 (r12389)
 USAGE: raster2pgsql [<options>] <raster>[ <raster>[ ...]]
 [[<schema>.]<table>]
   Multiple rasters can also be specified using wildcards (*,?).

 OPTIONS:
   -s <srid> Set the raster's SRID. Defaults to 0. If SRID not
       provided or is 0, raster's metadata will be checked to
       determine an appropriate SRID.
 }}}

 But my 2.2 says this
 {{{
 RELEASE: 2.2.0dev GDAL_VERSION=111 (r12856)
 USAGE: raster2pgsql [<options>] <raster>[ <raster>[ ...]]
 [[<schema>.]<table>]
   Multiple rasters can also be specified using wildcards (*,?).

 OPTIONS:
   -s [<from>:]<srid> Set the SRID field. Defaults to 0.
      Optionally reprojects from given SRID (cannot be used with -Y).
      Raster's metadata will be checked to determine an appropriate SRID.
      If a srid of 0 is provided (either as from or as target).
 }}}

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