Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Print Layout] Data-Defined atlas margin nonfunctional #36556

Closed
roya0045 opened this issue May 19, 2020 · 3 comments · Fixed by #36601
Closed

[Print Layout] Data-Defined atlas margin nonfunctional #36556

roya0045 opened this issue May 19, 2020 · 3 comments · Fixed by #36601
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@roya0045
Copy link
Contributor

Describe the bug
The data defined atlas feature margin is not functional.

I would guess that this should be a quick fix, but I'm overloaded these days and can't afford to look into it too deeply or compile anything.

How to Reproduce

DD_margins.zip
The project and sample data should be in the zipped geopackage above.

Open the project (open from)

Open the layout

Activate the atlas

Change atlas features

POV/scale is unchanged.

QGIS and OS versions

Installed from osgeo

QGIS version
3.12.2-București
QGIS code revision
8a1fb33
Compiled against Qt
5.11.2
Running against Qt
5.11.2
Compiled against GDAL/OGR
3.0.4
Running against GDAL/OGR
3.0.4
Compiled against GEOS
3.8.1-CAPI-1.13.3
Running against GEOS
3.8.1-CAPI-1.13.3
Compiled against SQLite
3.29.0
Running against SQLite
3.29.0
PostgreSQL Client Version
11.5
SpatiaLite Version
4.3.0
QWT Version
6.1.3
QScintilla2 Version
2.10.8
Compiled against PROJ
6.3.1
Running against PROJ
Rel. 6.3.2, May 1st, 2020
OS Version
Windows 10 (10.0)
Active python plugins
chm_from_lidar-master;
GeoCoding;
HCMGIS;
ImportPhotos;
LAStools;
LiDARForestryHeight-master;
pdaltools;
processing_saga_nextgen;
profiletool;
qgis_resource_sharing;
quick_map_services;
shapetools;
valuetool;
db_manager;
processing

Additional context

Work seldomly only for the first and second atlas feature on my custom build that I use for printing. Doesn't work on current 3.12.2

@roya0045 roya0045 added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 19, 2020
@gioman gioman added the Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks label May 19, 2020
@nyalldawson
Copy link
Collaborator

Only one feature in that table has a geometry attached!

@nyalldawson nyalldawson self-assigned this May 21, 2020
nyalldawson added a commit to nyalldawson/QGIS that referenced this issue May 21, 2020
is encountered, when one or more maps are set to be driven by atlas feature

This situation is definetly not what the user is expecting -- so we
show a warning to them to advise them that the feature has no geometry.

Fixes qgis#36556
nyalldawson added a commit that referenced this issue May 21, 2020
is encountered, when one or more maps are set to be driven by atlas feature

This situation is definetly not what the user is expecting -- so we
show a warning to them to advise them that the feature has no geometry.

Fixes #36556
@roya0045
Copy link
Contributor Author

@nyalldawson strangely I used duplicate feature to make the others.

@roya0045
Copy link
Contributor Author

roya0045 commented May 21, 2020

I just assumed that using duplicate feature from the attribute table copied the geometry also and didn't just make a new row.

nyalldawson added a commit to nyalldawson/QGIS that referenced this issue May 26, 2020
is encountered, when one or more maps are set to be driven by atlas feature

This situation is definetly not what the user is expecting -- so we
show a warning to them to advise them that the feature has no geometry.

Fixes qgis#36556

(cherry picked from commit 6ce84d2)
nyalldawson added a commit to nyalldawson/QGIS that referenced this issue May 26, 2020
is encountered, when one or more maps are set to be driven by atlas feature

This situation is definetly not what the user is expecting -- so we
show a warning to them to advise them that the feature has no geometry.

Fixes qgis#36556

(cherry picked from commit 6ce84d2)
nyalldawson added a commit that referenced this issue Jun 19, 2020
is encountered, when one or more maps are set to be driven by atlas feature

This situation is definetly not what the user is expecting -- so we
show a warning to them to advise them that the feature has no geometry.

Fixes #36556

(cherry picked from commit 6ce84d2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants