<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Howdy Manuel.<br>
<br>
At first read through I am not sure this is the right approach. If I am
imagining the problem correctly, you basically need to convert from map
coordinates back to pixel coordinates. I think it would be better to
add that functionality rather than forcing the layer to ignore it's
geotransform. <br>
<br>
If you can point me to the lines in the georeferencer code, I can try
to take a look and see if there is an alternative option for modifying
qgsrasterlayer.<br>
<br>
-pete<br>
<br>
On 05/07/2010 08:30 AM, Manuel Massing wrote:
<blockquote cite="mid:201005071430.00345.m.massing@warped-space.de"
type="cite">
<pre wrap="">Hello,
I am currently fixing a problem with the georeferencer, which does
not handle files with existing georeferencing information correctly
(see #2465 - <a class="moz-txt-link-freetext" href="https://trac.osgeo.org/qgis/ticket/2465">https://trac.osgeo.org/qgis/ticket/2465</a>).
To this end, I'd like to add functionality which allows one to override the
gdal geotransform in QgsRasterLayer, but as this touches on a core class I'd
appreciate if someone could have a look and sign off or comment on the
proposed patch.
Essentially, the patch adds a constructor and flags which allow one to
ignore ground control point and geotransform information when constructing the
QgsRasterLayer.
Okay to commit? I'll add an appropriate unit test if accepted.
thanks & best regards,
Manuel
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
====================================
Peter J. Ersts, Software Developer
American Museum of Natural History
Center for Biodiversity and Conservation
Central Park West at 79th Street
New York, New York 10024
Web: <a class="moz-txt-link-freetext" href="http://biodiversityinformatics.amnh.org">http://biodiversityinformatics.amnh.org</a>
Web: <a class="moz-txt-link-freetext" href="http://cbc.amnh.org">http://cbc.amnh.org</a>
Open Source,
...evolving through community cooperation to change the world bit by bit
Quantum GIS Raster Development Team.
</pre>
</body>
</html>