[postgis-devel] [PostGIS] #1653: [raster] ST_Transform & ST_Resample are confusing
PostGIS
trac at osgeo.org
Wed Nov 28 17:21:20 PST 2012
#1653: [raster] ST_Transform & ST_Resample are confusing
-------------------------+--------------------------------------------------
Reporter: pracine | Owner: pracine
Type: enhancement | Status: new
Priority: high | Milestone: PostGIS 2.1.0
Component: raster | Version: trunk
Keywords: |
-------------------------+--------------------------------------------------
Comment(by pracine):
Now that ST_Transform has an alignment parameter, you could easily remove
the confusion in ST_Resample() by renaming _st_resample()to
_st_gdalwarp() (what it truly is) and remove the SRID parameter from
ST_Resample().
This way we have a set of usual functions each using the confusing GDAL
Warp but avoiding the confusion. I don't know any other raster package
mixing resampling and reprojecting in a unique function. I know
reprojecting involves resampling but resampling certainly does not involve
reprojecting.
It's not because GDAL is confusing that we have to do the same...
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1653#comment:10>
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-devel
mailing list