[Qgis-developer] Raster providers

Giovanni Manghi giovanni.manghi at gmail.com
Fri Mar 11 14:54:35 EST 2011


Hi Radim,

unfortunately the "temporary? ugly fix for not georeferenced images", as
you call in the commit, does not seem to work fine with the
georeferencer.

If you open a non-georeferenced image in the georeferencer it will not
show in the tool window.

Cheers


-- Giovanni --


On Wed, 2011-03-09 at 22:47 +0100, Radim Blazek wrote:
> The reason is, that GDALCreateGenImgProjTransformer() does not accept
> source data sources which are not georeferenced. As an ugly
> workaround, I set the first item in GeoTransform (x offset) to
> DBL_MIN. In theory it can cause a shift in georeferencing. I don't
> believe however that it could be really a problem. The shift is
> 2.22507e-308. 
> 
> Se also cc from gdal list.
> 
> Radim
> 
> On Wed, Mar 9, 2011 at 9:53 AM, Werner Macho <werner.macho at gmail.com> wrote:
> > Hi all!
> >
> > I  tried to load a simple jpg (without any projection information) into
> > QGIS just to test ..
> > It unfortunately leads to a segfault ..
> > Then i thought to georeference the file first ... and opened the
> > georeferencer plugin .. but it seems the georeferencer plugin uses the
> > same mechanism to load the jpg as qgis itself .. so nothing showed up
> > and I were not able to georeference the raster file ..
> >
> > It seems that there whould be some defaults for rasterfiles without any
> > projection information. Otherwise it is not possible to create
> > georeferenced files any more..
> >
> > Anyone can confirm this?
> >
> > best regards
> > Werner
> >
> >
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer




More information about the Qgis-developer mailing list