[gdal-dev] OGR VRT - affine transform ?

Julien Malik julien.malik at c-s.fr
Fri May 24 06:58:03 PDT 2013


OK, thanks a lot for the information.

Best regards,
Julien

On 05/24/2013 03:48 PM, Frank Warmerdam wrote:
> Julien,
>
> I am not aware of any existing way to do this.  I might be nice if an 
> OGR VRT could apply something like this on the fly, but that doesn't 
> exist currently.
>
> Best regards,
> Frank
>
>
> On Fri, May 24, 2013 at 3:04 AM, Julien Malik <julien.malik at c-s.fr 
> <mailto:julien.malik at c-s.fr>> wrote:
>
>     Hello,
>
>     Is it possible to apply an on-the-fly affine transform to an OGR
>     dataset with the help of VRT ?
>     Could not find any help or mailing list message about this...
>
>     The source of the issue is we want to display in QGIS a
>     non-georeferenced raster with an associated GML mask, where the
>     coordinates in the mask are in pixel indices, relative to the
>     raster (X and Y coordinates are unsigned integers).
>     When loading those two layers as-is in QGis, the raster is
>     correctly displayed (north up, south down) but the GML mask is
>     inverted, with a symmetry around the Y axis (Y coordinates
>     interpreted as south->north when Y increases). We would like the
>     GML mask to be overlayed on the raster, so applying "f(Y)=-Y" on
>     the coordinates would do the trick.
>     Any other idea to cope with this issue would be appreciated. We
>     asked on qgis-users and still no luck.
>
>     Thanks in advance,
>     Julien
>
>
>     _______________________________________________
>     gdal-dev mailing list
>     gdal-dev at lists.osgeo.org <mailto:gdal-dev at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>
>
> -- 
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, 
> warmerdam at pobox.com <mailto:warmerdam at pobox.com>
> light and sound - activate the windows | http://pobox.com/~warmerdam 
> <http://pobox.com/%7Ewarmerdam>
> and watch the world go round - Rush    | Geospatial Software Developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130524/03fcbae1/attachment.html>


More information about the gdal-dev mailing list