[Qgis-user] coordinate system of a raster layer
Peter Ersts
ersts at amnh.org
Sun Mar 1 09:27:26 PST 2009
Hi Stefanie,
Are you just trying to define a coordinate system or are you trying to
change one? It kind of sounds like you are actually trying to reproject
your raster layer on the fly which is not currently supported.
Right now QGIS is heavily reliant on GDAL for most of the raster
capabilities and all of the functionality in QgsRasterLayer except the
pyramid building is read only.
-pete
Stefanie Tellex wrote:
> Hi,
>
> I want to change the coordinate system of a raster layer, to control
> where it is rendered relative to a vector layer.
>
> I'm constructing a raster layer (from python) like this:
> rasterLayer = QgsRasterLayer("resources/21.kitchen.png")
>
> It displays, it looks like at the right scale, but at the wrong place.
>
> It looks like I want to set mGeoTransform in QgsRasterLayer but I
> don't see a setter for it. Should I submit a patch to add one or is
> there some other way?
>
> Thanks!
>
> Stefanie
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
--
====================================
Peter J. Ersts, Project Specialist
American Museum of Natural History
Center for Biodiversity and Conservation
Central Park West at 79th Street
New York, New York 10024
Tel: Home Office (518)-632-4745 or NYC Office (212)-496-3488
Web: http://biodiversityinformatics.amnh.org
Web: http://cbc.amnh.org
Quantum GIS Raster Development Team. Visit http://www.qgis.org
to learn more about QGIS, a free and open source desktop GIS
Open Source,
...evolving through community cooperation to change the world bit by bit
More information about the Qgis-user
mailing list