qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.52k stars 2.99k forks source link

Temporary layers generated by processing tools from inputs with custom CRS have no CRS defined #36241

Closed gubuntu closed 4 years ago

gubuntu commented 4 years ago

Describe the bug I create a point with one of the 'ZANGI' CRS (which are not user-defined but are custom) and save it in a GeoPackage.

Then I run the Vector-GeoProcessing-Buffer tool and generate a buffer as a temporary layer.

Bug: The buffer polygon draws in completely the wrong place as it has no CRS defined. It should get the same CRS as the source layer.

If I generate the buffer directly to the GeoPackage, it takes on the correct CRS.

How to Reproduce

described above

QGIS and OS versions

QGIS version 3.10.5-A Coruña QGIS code revision 984615fe1e
Compiled against Qt 5.12.3 Running against Qt 5.12.3
Compiled against GDAL/OGR 2.4.1 Running against GDAL/OGR 2.4.1
Compiled against GEOS 3.7.2-CAPI-1.11.2 Running against GEOS 3.7.2-CAPI-1.11.2 b55d2125
Compiled against SQLite 3.28.0 Running against SQLite 3.28.0
PostgreSQL Client Version 11.3 SpatiaLite Version 4.3.0a
QWT Version 6.1.4 QScintilla2 Version 2.11.1
Compiled against PROJ 5.2.0 Running against PROJ Rel. 5.2.0, September 15th, 2018
OS Version macOS 10.15
Active python plugins QgisModelBaker; SpreadsheetLayers; lrs; QuickOSM; VectorBender; quick_map_services; stac_browser; Discovery; qfieldsync; qchainage; OSMDownloader; parcel_plugin; lizmap; openlayers_plugin; Projestions; mmqgis; processing_circuitscape; mapswipetool_plugin; Mergin; travel_time_platform_plugin; nominatim_locator_filter; timemanager; processing; db_manager; MetaSearch

Additional context

gubuntu commented 4 years ago

thanks @nyalldawson !