Fixed (partially), the problem was calculation of source extent. Source limits are not necessarily on destination edges, e.g. for destination EPSG:32661 - Polar Stereographic and source EPSG:4326, the source maximum y may be in the middle of destination extent. How to find the source extent exactly and quickly?
Radim On Mon, Apr 18, 2011 at 12:56 PM, Luca Delucchi <[email protected]> wrote: > Hi everybody, I'm testing raster reprojection and I found a problem, > maybe a bug. > I try to reproject from epsg:4326 to epsg:32661 a raster of all world > but qgis crash, here the lines before the problem > > > Debug: QGIS(16362)/ KSycocaPrivate::openDatabase: Trying to open > ksycoca from "/var/tmp/kdecache-lucadelu/ksycoca4" > Debug: kfilemodule(16362)/kdecore (services) > KMimeTypeFactory::parseMagic: Now parsing "/usr/share/mime/magic" > Debug: kfilemodule(16362)/kdecore (services) > KMimeTypeFactory::parseMagic: Now parsing > "/home/luca/.local/share/mime/magic" > /usr/local/share/qgis/python/plugins/osm/OsmFeatureDW.py:185: > DeprecationWarning: QgsMapRenderer.destinationSrs() is deprecated > self.coordXform = QgsCoordinateTransform(renderer.destinationSrs(), > QgsCoordinateReferenceSystem(4326)) > qgis: /home/luca/compilati/qgis_svn/src/core/qgsrasterprojector.cpp:316: > void QgsRasterProjector::preciseSrcRowCol(int, int, int*, int*): > Assertion `*theSrcCol < mSrcCols' failed. > Aborted > > > -- > thanks > Luca > > http://gis.cri.fmach.it/delucchi/ > www.lucadelu.org > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer > _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
