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.5k stars 2.99k forks source link

Crash exporting dxf using "Symbol layer symbology" #46245

Closed dario955i closed 2 years ago

dario955i commented 2 years ago

Crash.zip

What is the bug or the crash?

I'm trying exporting dxf. If I do with a small vieport size (200mx200m) everything goes well. If I try with a bigger size (2km by 2km) qgis crashes and the dxf has been created is corrupt and you cannot open.

I see that if I export a big data Qgis can have some problem, but alert on exporting, like a warning, would be better, in order to reduce the dimension. It ould be interesting unsterstand if it is issue of RAM, processor, or whatever.

Please find attached source file with data.

Steps to reproduce the issue

  1. File
  2. Export as dxf
  3. crashes

Versions

Versione di QGIS 3.16.14-Hannover Revisione codice QGIS 42791986 Compilato con Qt 5.15.2 Esecuzione con Qt 5.15.2 Compilato con GDAL/OGR 3.4.0 Esecuzione con GDAL/OGR 3.4.0 Compilato con GEOS 3.10.0-CAPI-1.16.0 Esecuzione con GEOS 3.10.0-CAPI-1.16.0 Compilato su SQLite 3.35.2 In esecuzione su SQLite 3.35.2 Versione client PostgreSQL 13.0 Versione SpatiaLite 5.0.1 Versione QWT 6.1.3 Versione QScintilla2 2.11.5 Compilato con PROJ 8.2.0 Esecuzione con PROJ Rel. 8.2.0, November 1st, 2021 Versione SO Windows 10 Version 2009 Attiva python plugin autoSaver; BivariateLegend; changeDataSource; clusterpoints; concavehull; DataPlotly; EasyCustomLabeling; FeatureGridCreator; FreehandRasterGeoreferencer; GeoCoding; GroupStats; HCMGIS; isochrones; LAStools; layertilesmapcanvas; localmaxfilter; lockzoom; mmqgis; MultipleLayerSelection; ntv2_transformations; numericalDigitize; OnlineRoutingMapper; PointConnector; processing_wbt; qgis-maptiler-plugin; Qgis2threejs; QNEAT3; QPackage; qProf; quick_map_services; realcentroid; shapefile_encoding_fixer; shapetools; spatial_query_with_values; spline; SpreadsheetLayers; db_manager; MetaSearch; processing

Supported QGIS version

New profile

Additional context

No response

gioman commented 2 years ago

Export as dxf

@dario955i this is with project > export > export project as DXF or with another method?

Does it happens always, regardless the project and data?

dario955i commented 2 years ago

Hi, yes, procedure is Project > export > export project as DXF

probably I solved choosing "Feature symbology" under symbology mode instead of "Symbol layer symbology". Now I'm able to export a very large portion of the city at the time.

In any case, in the previous mode my Qgis crashes.

Il giorno sab 27 nov 2021 alle ore 14:44 Giovanni Manghi < @.***> ha scritto:

Export as dxf

@dario955i https://github.com/dario955i this is with project > export > export project as DXF or with another method?

Does it happens always, regardless the project and data?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/qgis/QGIS/issues/46245#issuecomment-980630470, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOVDANOOX6GECVZMEGBIOLUODODPANCNFSM5I4GO42A .

gioman commented 2 years ago

In any case, in the previous mode my Qgis crashes.

@dario955i with any project/data or just a specific one? Can you attach a sample project + data that shows the issue?

dario955i commented 2 years ago

It crashes with this big file. If I try with small portion or other small file it doesn't. I can check layer by layer if there is one in particular causing the crash.

gioman commented 2 years ago

. I can check layer by layer if there is one in particular causing the crash.

@dario955i thanks, then if you can attach it here.

dario955i commented 2 years ago

I guess my reply has not arrived to anybody because it was not “reply to all”.

I have detected one of the layer causing crash. As we are talking about data of public administration, is there any chance to send to only one recipient?

Thanks

_

Il giorno 28 nov 2021, alle ore 17:52, Giovanni Manghi @.***> ha scritto:

 . I can check layer by layer if there is one in particular causing the crash.

@dario955i thanks, then if you can attach it here.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

gioman commented 2 years ago

I guess my reply has not arrived to anybody because it was not “reply to all”.

@dario955i you should reply using Github web interface, not by replying by email to notifications.

I have detected one of the layer causing crash. As we are talking about data of public administration, is there any chance to send to only one recipient?

If you cannot attach the data here you can send it to me giovanni dot manghi at gmail dot com

gioman commented 2 years ago

I replicated the crash with a project/data that was sent to me privately, waiting to see if we can attach them here.

dario955i commented 2 years ago

Please see attached in the main comment "Crash.zip". thanks