Skip to content

Conversation

@suricactus
Copy link
Collaborator

When creating a project with xlsform2qgis, it is possible that here is no project extent. In that case, the process proejct job just hangs forever.

FYI @nirvn

When creating a project with xlsform2qgis, it is possible that here is no project extent. In that case, the process proejct job just hangs forever.
@duke-nyuki
Copy link
Collaborator

map_settings.setExtent(map_settings.fullExtent())

if map_settings.extent().isEmpty():
logger.warning("Project has empty extent, using layer extent for thumbnail.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That warning is wrong right? It should go in the if above?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting. Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants