[postgis-tickets] [PostGIS] #3044: [raster] raster2pgsql should have an option to align tiles
PostGIS
trac at osgeo.org
Thu Feb 19 09:07:15 PST 2015
#3044: [raster] raster2pgsql should have an option to align tiles
-------------------------+--------------------------------------------------
Reporter: pracine | Owner: dustymugs
Type: enhancement | Status: new
Priority: medium | Milestone:
Component: raster | Version: trunk
Keywords: |
-------------------------+--------------------------------------------------
Description changed by pracine:
Old description:
> We should have the possibility to provide gridx and gridy coordinates of
> an arbitrary grid corner to tell the loader on which grid to align the
> tiles produced when using the -t option. This would allow rasters having
> different upperleft corner alignment to be tiled on the same grid in the
> same table.
>
> Some tiles would have to be padded not only on the right and lower sides
> but also on the left and upper sides.
>
> Could be -A 0.0x0.0
New description:
We should have the possibility to provide gridx and gridy coordinates of
an arbitrary grid corner to tell the loader on which grid to align the
tiles produced when using the -t option. This would allow rasters having
different upperleft corner alignment to be tiled on the same grid in the
same table.
Some tiles would have to be padded not only on the right and lower sides
but also on the left and upper sides.
The gridx and gridy must be aligned with the pixel grid. Otherwise we
would have to resample the raster before tiling which is time consuming.
Pixel alignment is normally done with gdalwarp or gdal_translate as a
preloading process.
ST_Tile() should also get those two extra gridx and gridy parameters.
Could be -A 0.0x0.0
--
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3044#comment:1>
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