[postgis-devel] [PostGIS] #1267: [raster] Add manual height/width support to ST_Resample
PostGIS
trac at osgeo.org
Thu Nov 10 08:46:08 PST 2011
#1267: [raster] Add manual height/width support to ST_Resample
----------------------------+-----------------------------------------------
Reporter: serveralex | Owner: dustymugs
Type: enhancement | Status: assigned
Priority: medium | Milestone: PostGIS Raster Future
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
Comment(by serveralex):
To clearify the use case I'll explain why I need to set height/weight
manually.
Basically I have a very big raster table with square HxW raster blocks in
WGS84 and one arcsec pixel scale that covers a big landscape. so basically
i'm doing geostatistical interpolation of measuring samples with block
kriging in realtime. that means i collect measuring samples and when a
specific "new" limit is exceeded I'm interpolating the values for all
raster blocks in that sector. The kriging has to be done in projected
mode, so I transform the edge coordinates of the raster block to UTM
projection and build a slightly bigger grid with square 25m pixels. Then I
resample the resulting interpolated data to a WGS84 raster with the exact
same extents as the original ones. But that won't work as the UTM raster
extents are slightly bigger than the WGS84 ones which means the resulting
raster won't be HxW in size any longer. So basically I have to set the
height/weight parameters manually.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1267#comment:9>
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