Re: v.what.strds: timestamp column
Veronica Andreo <[email protected]>
| Newsgroups | gmane.comp.gis.grass.devel |
|---|---|
| Message-ID | <CAAMki4FHmnz_1ZLGxDVwtpDGsuK3E+JViK5KZ95q0j3_90WkSg@mail.gmail.com> |
Hi Martin, Afaik, v.what.strds is just a wrapper for v.what.rast for all the maps in the raster time series. It does not consider the column time in the vector. Then there's t.vect.what.strds that uses a space-time vector data set (STVDS) to query a STRDS, but in my opinion to create a STVDS is a bit of a hassle (one vector map per date). The only module that I'm aware of that takes a vector with dates to query a STRDS is Luca's add-on t.rast.what.aggr ( https://grass.osgeo.org/grass78/manuals/addons/t.rast.what.aggr.html), but it's aim is to get aggregates before or after the dates provided in the vector. HTH, Vero El lun., 15 jun. 2020 17:20, Martin Landa <[email protected]> escribió: > Hi, > > I am playing with `v.what.strds` in order to get space-time-related > nearest raster value information from strds based on given timestamp > stored in attribute table. > > Input: vector map with timestamp column, eg: > > cat|time > 6|2020-01-08 03:00:00 > > Goal: get a single raster value from strds based on timestamp. > > cat|time|value > 6|2020-01-08 03:00:00|253 > > Instead of that v.what.strds returns a new column for each raster map > registered in strds. > > cat|time|map_1,map_2,map_3 > 6|2020-01-08 03:00:00||253| > > Is there any other tool which could do the job or should I modify > v.what.strds in order to solve this task? Eg. > > v.what.strds time_column=time ... > > Thanks for in advance, Martin > > -- > Martin Landa > http://geo.fsv.cvut.cz/gwiki/Landa > http://gismentors.cz/mentors/landa > _______________________________________________ > grass-dev mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/grass-dev _______________________________________________ grass-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-dev