Placeholder Image

字幕列表 影片播放

由 AI 自動生成
  • Hi there.

    你們好

  • In this video, I just wanted to show you the Temporal Controller.

    在本視頻中,我只想向大家展示時態控制器。

  • That's something that actually has been around since Pi 3.3.1.4.

    這其實早在 Pi 3.3.1.4 中就存在了。

  • I'm on 3.2.8, I think.

    我用的應該是 3.2.8 版。

  • Yeah, Florence.

    對 弗洛倫斯

  • And in order to demonstrate this widget, I just thought I'd use the QGIS releases, really.

    為了演示這個小工具,我只是想使用 QGIS 發佈的版本,真的。

  • The QGIS releases have got a date for each release.

    QGIS 的每個版本都有一個發佈日期。

  • And I just wanted to see, well, geographically, based on the name of the release, i.e.

    我只是想看看,嗯,從地理位置上看,根據發佈的名稱,即

  • Florence or what have you, just where did they, Zanzibar, sort of where they were geographically located as each year sort of went by.

    佛羅倫薩或者其他什麼地方,他們在哪裡,桑給巴爾,隨著時間的推移,他們的地理位置在哪裡。

  • I've taken a couple of assumptions on the naming.

    我在命名上做了一些假設。

  • And obviously, I don't think I've mapped the Pi one.

    顯然,我想我還沒有繪製出 Pi 的地圖。

  • But as you can see, if I look at my table, this is just a CSV file.

    但正如你所看到的,如果我看一下我的表格,這只是一個 CSV 文件。

  • Oh, sorry, I meant attributes.

    哦,對不起,我是說屬性。

  • So here you see I've got a, there's the code name.

    在這裡,你可以看到我有一個代號。

  • So Bon and Madeira, Zanzibar requests.

    So Bon 和馬德拉、桑給巴爾的請求。

  • So there's some clear names there.

    是以,這裡有一些明確的名字。

  • Obviously, Pi, like I said, I don't have coordinates for, but I suppose I could have just made up something.

    顯然,正如我所說的,我沒有π的座標,但我想我可以隨便編個什麼。

  • And the core one, I made an assumption there.

    至於核心部分,我做了一個假設。

  • It's a place in India.

    這是印度的一個地方。

  • Weirdly, I've actually been there on my travels.

    奇怪的是,我在旅行中還真的去過那裡。

  • So yeah, I made an assumption about that one.

    所以是的,我做了一個假設。

  • But the point is they've got a release date, a single field.

    但問題是,他們有一個發佈日期,一個單一的字段。

  • If I just click at the top, yes, I was on the 3rd of 3rd.

    如果我點擊頂部,是的,我是在第三區的第三位。

  • And then down here, I've got this one, version one on the 5th of the 1st.

    然後在下面,我找到了這個,1 月 5 日的版本。

  • So point being, I'd like these points to slowly appear on the map as the years tick by.

    是以,我希望隨著時間的推移,這些點能慢慢出現在地圖上。

  • I've used point geometry, could be anything, could be any layer.

    我使用的是點幾何圖形,可以是任何東西,也可以是任何圖層。

  • And like I said, the data's come from a CSV file.

    就像我說的,數據來自 CSV 文件。

  • So it's not delicate about data source or anything or geometry.

    是以,它對數據源、任何東西或幾何圖形都不講究。

  • So just go for it.

    那就去吧。

  • This will get you going.

    這將讓你開始行動。

  • How do you use temporal controller?

    如何使用時間控制器?

  • There's a widget up here, clock face.

    這裡有個小部件,鐘面。

  • Click on that.

    點擊它。

  • And that brings up the controller.

    這就帶來了控制器。

  • But what you've got to do is make sure if you right and mouse click on your properties for the layer is that on temporal properties, you've got these settings configured.

    但你要做的是,如果你在圖層的屬性上點擊滑鼠右鍵,確保在時間屬性上配置了這些設置。

  • You need to activate them.

    您需要激活它們。

  • So this will give you a dynamic control over the layer in terms of time.

    這樣就可以在時間上對圖層進行動態控制。

  • And this is probably what you're really after rather than a simple date time slice.

    這可能才是你真正想要的,而不是簡單的日期時間片。

  • So I've got a, well, that's correct.

    所以,我有一個,嗯,這是正確的。

  • I've got a single field with date time.

    我有一個包含日期時間的單一字段。

  • And I want to include the start and end to sort of draw.

    我想把起點和終點都畫出來。

  • There's sort of no limits really.

    其實沒有什麼限制。

  • The field is indeed release date.

    字段確實是發佈日期。

  • That's the only field I've that's date type.

    這是我唯一一個日期類型的字段。

  • And I want to accumulate features over time.

    而且,我希望隨著時間的推移不斷積累功能。

  • But actually I could say, you know what, just leave them on the map effectively for a specific duration of an event.

    但實際上,我可以說,你知道嗎,只要在事件的特定持續時間內,把它們有效地留在地圖上就可以了。

  • These are sort of called events.

    這就是所謂的事件。

  • Something happened.

    出事了

  • And so you can imagine it could be maybe earthquake data or something.

    是以,你可以想象它可能是地震數據之類的東西。

  • But I've just got these as releases of this software.

    但我剛剛得到了這些軟件的版本。

  • But I'm just going to pile up the points over time.

    不過,我只是想把分數累積起來。

  • I'm going to accumulate them.

    我要把它們積累起來。

  • I don't want them removed from the map.

    我不想讓他們從地圖上消失。

  • Press okay.

    按 "確定"。

  • And as you can see, the maps cleared a bit because the start point for my controller, when you turn this on and off is that one over there.

    正如你所看到的,地圖被清除了一些,因為當你打開或關閉這個控制器時,我的控制器的起始點就是那邊那個。

  • And if I just click on that, yeah, fifth of the first.

    如果我點擊一下,是的,第五個。

  • And you can see that the current frame up there, you can see what the current frame is set up, which is, which includes that.

    你可以看到當前框架在那裡,你可以看到當前框架的設置,其中包括這個。

  • So you have to imagine I'm looking through time now.

    所以,你必須想象我現在正在穿越時空。

  • I've got this time rendered layer.

    我有這個時間渲染層。

  • It's not just a simple layer.

    這不僅僅是簡單的一層。

  • So it's literally as expected, adding another dimension.

    是以,它確實如預期的那樣,增加了另一個維度。

  • This is something I'll just use that we're familiar with.

    這是我要用的東西,我們都很熟悉。

  • They've got sort of timeline capability.

    他們已經具備了某種時間線能力。

  • I'm trying to think if it's, I don't think it's in map info.

    我在想是不是,我覺得地圖信息裡沒有。

  • I can't remember.

    我記不清了。

  • I'll have a look.

    我去看看。

  • But anyway, and it used to be a plugin, this.

    但無論如何,這曾經是一個插件。

  • It used to be a plugin called time series animator or something.

    它曾經是一個叫時間序列動畫器之類的插件。

  • But now it's a widget.

    但現在它成了一個小工具。

  • So what do we want to do here?

    那麼,我們要在這裡做什麼呢?

  • Well, when you hit this refresh here, you can have a look at the other options.

    點擊 "刷新 "後,就可以查看其他選項了。

  • You can set to the full range of what is in the data.

    您可以將其設置為數據的全部範圍。

  • So when we look to that attribute table, you can see that, you know, from the third of the third.

    是以,當我們查看屬性表時,你可以看到,你知道,從第三個的第三個開始。

  • So that's why it's captured that as the end.

    這就是為什麼它把這個作為結尾。

  • And from the, let's reverse that.

    讓我們反過來看。

  • So the start there is fifth of the first, you see, and then the end third of the third.

    是以,起始部分是第一部分的五分之一,你看,然後是第三部分的三分之一。

  • So that's what effectively that refresh is doing, reading data and setting the start and end to what you want.

    是以,這就是刷新的有效作用,讀取數據並將開始和結束設置為你想要的。

  • How do you want the playback to happen?

    您希望如何回放?

  • I actually, we could do it by months, but that, yeah, there's some gaps between releases.

    實際上,我們可以按月來做,但是,是的,兩次發佈之間會有一些間隙。

  • So it's probably quicker just to do years, make a sort of step.

    是以,可能更快的做法是,先做幾年,再邁出一步。

  • Every animated frame is like a year.

    每一幀動畫都像是一年。

  • So let us press play.

    所以,讓我們按下播放鍵。

  • Let's just go for it.

    就這麼幹吧

  • So I press play and you can see it flicking through, changing the dates up here.

    是以,我按下播放鍵,你可以看到它在這裡切換日期。

  • So first, so we're now into that year, into 2015, 2017, 2018 is appearing, 2020, 21, 22.

    所以首先,所以我們現在進入了那一年,進入了 2015 年,2017 年,2018 年正在出現,2020 年,21 年,22 年。

  • And there was another one drawn in 23.

    23 年又畫了一張。

  • You can use the map as this is doing.

    您可以像這樣使用地圖。

  • So let's just zoom into this sort of North, Northern Europe sort of area.

    是以,讓我們把視角放大到北歐這個地區。

  • And let's just, and if I, if I grab hold of the widget, as you can see, I can sort of pull back and look through the time sort of steps.

    如果我抓住這個小工具,就像你看到的那樣,我可以把它拉回來,查看時間步驟。

  • So, and, and sort of look at my data like that, which is pretty neat, really, as you can imagine, you can have much more, you can, you can have shaded polygons or something, you know, thematics, et cetera, heat maps and stuff.

    所以,這樣看我的數據,真的非常整潔,你可以想象,你可以有更多,你可以,你可以有陰影多邊形或東西,你知道,主題,等等,熱圖和東西。

  • You could do some interesting stuff with this, but this is just to show you with, with this point data, especially when you've got a massive point data, perhaps epidemiological data or something, you know, certainly for things like sort of COVID and things like that, it'd be very appropriate.

    你可以用它來做一些有趣的事情,但這只是為了向你展示,有了這些點數據,尤其是當你有了大量的點數據,也許是流行病學數據或其他東西時,你知道,對於像 COVID 之類的東西,它是非常合適的。

  • Anyway, note, there's a little settings button over here.

    總之,注意,這裡有個小設置按鈕。

  • You can just do a couple of sort of changes here.

    你可以在這裡做一些改動。

  • You can just set the frame rate, for example, how many frames per second.

    您只需設置幀頻,例如每秒多少幀。

  • So there's, you know, there's a little, little change that you can do.

    所以,你知道,你可以做一些小小的改變。

  • One thing to note here is you can actually save the animation.

    需要注意的是,您可以保存動畫。

  • That's what the save button here will do, export the animation.

    保存按鈕的作用就是導出動畫。

  • If you click on that, you can set your file naming convention and let's put this in the folder I created before.

    點擊後,你就可以設置文件命名規則,把它放到我之前創建的文件夾中。

  • You can set the, just, I've just left it as the current extent, the kind of resolution you're pixels and the range you're including in this, which is just defaulted to that.

    您可以設置當前的範圍、像素分辨率和包含的範圍,默認設置為當前範圍。

  • So when you press save on this, what it will do is output each PNG.

    是以,當你按下保存鍵時,它將輸出每個 PNG。

  • And actually, if I pull the dialogue over here, you can see them all being created and they go.

    實際上,如果我把對話拉到這裡,你可以看到它們都被創建出來了。

  • So you can use these PNGs as you wish, perhaps to create a GIF or some other software or what have you, but that's how you export animation just by the little save button.

    是以,你可以隨意使用這些 PNG,也許可以製作 GIF 或其他軟件,但這就是通過小保存按鈕導出動畫的方法。

  • But anyway, that's, that's more or less it.

    總之,差不多就是這樣。

  • The key thing to remember about this all is properties, temporal component of this properties, make sure you set what you need in here and then off you go.

    需要記住的關鍵是屬性,即屬性中的時間組件,確保在這裡設置你需要的內容,然後就可以了。

  • But that's a quick start, a few other buttons there for you to play with, but I hope that gets you going.

    但這只是一個快速的開始,還有其他幾個按鈕供你使用,但我希望這能讓你開始使用。

  • Thank you.

    謝謝。

Hi there.

你們好

字幕與單字
由 AI 自動生成

單字即點即查 點擊單字可以查詢單字解釋