There is one problem, which I don't know how to solve. For certain projections and source extent, reprojected extent of a map (both raster and vector) may run to infinity. We are usually expecting some reasonable values, with infinite or very large numbers everything fails.
How should be handled this situation? Is it possible to find somehow maximum reasonable area for given projection? It is probably possible to tests if projection transformation works/fails on regular grid of points in longlat. Is there a better solution? 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
