<div dir="ltr">Julien,<div><br></div><div>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.</div><div><br></div>
<div style>Best regards,</div><div style>Frank</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 24, 2013 at 3:04 AM, Julien Malik <span dir="ltr"><<a href="mailto:julien.malik@c-s.fr" target="_blank">julien.malik@c-s.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Is it possible to apply an on-the-fly affine transform to an OGR dataset with the help of VRT ?<br>
Could not find any help or mailing list message about this...<br>
<br>
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).<br>

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.<br>

Any other idea to cope with this issue would be appreciated. We asked on qgis-users and still no luck.<br>
<br>
Thanks in advance,<br>
Julien<br>
<br>
<br>
______________________________<u></u>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush    | Geospatial Software Developer<br>
</div>