Ticket #1661 (closed bug: fixed)
Importing a void shapefile created with ftools crashes Qgis
| Reported by: | vince | Owned by: | nobody |
|---|---|---|---|
| Priority: | critical: causes crash or data corruption | Milestone: | Version 1.2.0 |
| Component: | Python plugins and bindings | Version: | Trunk |
| Keywords: | ftools | Cc: | pcav |
| Platform Version: | Platform: | OS X | |
| Must Fix for Release: | No | Awaiting user input: | no |
Description
If I use ftools to compute the intersection of two layers, and that intersection is void (therefore a void shapefile is created), Qgis crashes (to be more specific, it enters into an infinite loop, I must kill it to exit).
On the console I get the following messages:
Warning: QgsCoordinateReferenceSystem::getRecord failed : select * from tbl_srs where parameters='+proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0 +k_0=0.99987742 +x_0=600000 +y_0=2200000 +a=6378249.2 +b=6356515 +pm=2.3372291666985 +units=m +no_defs' Warning: QgsCoordinateReferenceSystem::findMatchingProj will only work if prj acr ellipsoid acr and proj4string are set!...