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

WIP: First setup temporal data #5521

Closed
wants to merge 12 commits into from

Conversation

rduivenvoorde
Copy link
Contributor

I received some example data from Nyall and am planning to add it to the cookbook.

Thinking about asking @nyalldawson for his earthquacke examples he showed in his webinar (for those who havent't seen it: https://www.youtube.com/watch?v=vgDg5cRwPRw)
If others have better idea's for temporal data to use in Documentation (Manual AND cookbook) please let us know.

@havatv
Copy link
Contributor

havatv commented May 17, 2020

If others have better idea's for temporal data to use in Documentation (Manual AND cookbook) please let us know.

Not sure if it is better, but trajectory data (x, y, t) or (x, y, z, t) for moving objects are common (but perhaps too complex?).
Trajectories could be for animals, vehicles, goods or people (if there are no privacy issues). Regarding privacy issues - it could be possible to obfuscate the data.
Temporal data for spatially static objects are probably less complex. Could be climate data or other kinds of environmental data from measurement stations or remote sensing time series data.

@nyalldawson
Copy link
Contributor

There's also an "all in one" export-to-multiple-images function available now. I would like to tweak the API of this over the next week and then will post an example of it here!

Copy link
Contributor

@havatv havatv left a comment

Choose a reason for hiding this comment

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

Some indentation fixes (after travis check report).
Import QgsTemporalNavigationObject (travis complaint)

docs/pyqgis_developer_cookbook/temporal_data.rst Outdated Show resolved Hide resolved
docs/pyqgis_developer_cookbook/temporal_data.rst Outdated Show resolved Hide resolved
docs/pyqgis_developer_cookbook/temporal_data.rst Outdated Show resolved Hide resolved
docs/pyqgis_developer_cookbook/temporal_data.rst Outdated Show resolved Hide resolved
docs/pyqgis_developer_cookbook/temporal_data.rst Outdated Show resolved Hide resolved
@rduivenvoorde
Copy link
Contributor Author

rduivenvoorde commented Oct 27, 2020

@havatv sorry for not working with your comment, but that first draft was really preliminary.

This commit has working code. Not sure if I should write more info into this.

@nyalldawson do you think the 'write a serie of images to tmp dir' is too much? I could not find the "all in one" export-to-multiple-images function you were talking about :-)

Copy link
Collaborator

@DelazJ DelazJ left a comment

Choose a reason for hiding this comment

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

This should fix some travis issues.
the world_map opening warning does not break build. it pops up every time (eg https://travis-ci.org/github/qgis/QGIS-Documentation/builds/738801257#L925). Having it fixed would not be bad though.

docs/pyqgis_developer_cookbook/temporal_data.rst Outdated Show resolved Hide resolved
docs/pyqgis_developer_cookbook/temporal_data.rst Outdated Show resolved Hide resolved
docs/pyqgis_developer_cookbook/temporal_data.rst Outdated Show resolved Hide resolved
@nyalldawson
Copy link
Contributor

@rduivenvoorde

do you think the 'write a serie of images to tmp dir' is too much? I could not find the "all in one" export-to-multiple-images function you were talking about :-)

Can't you use QgsTemporalUtils.exportAnimation?

@rduivenvoorde
Copy link
Contributor Author

Sorry for the git mess...

@rduivenvoorde
Copy link
Contributor Author

@elpaso (if you have time to have a look, thanks) do you maybe have an idea why these tests keep failing? Travis is complaining that iface.mapCanvas().temporalController() is returning None, but it just works in the Python Console (with an empty project).
Is there something I am missing here to get it to work?

@DelazJ
Copy link
Collaborator

DelazJ commented Apr 17, 2021

@rduivenvoorde I force-pushed your branch to trigger current CI. Let's see...

@DelazJ
Copy link
Collaborator

DelazJ commented Sep 15, 2022

@rduivenvoorde Close this?

@DelazJ DelazJ added the Feedback Waiting for feedback label Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants