Using meshgrid to analyze spatiotemporal data

3 次查看(过去 30 天)
Hi Everyone,
How can I create a uniform grid of a geographical area to locate and analyze the distribution of lots GPS data (vehicles trajectory data) over the time?
Any suggestion on how to use meshgrid (or any other approach) is very much appreciated.
Thank you so much
  1 个评论
Cris LaPierre
Cris LaPierre 2019-2-10
Asking multiple times isn't the best approach. If you are not getting replies, it is generally because your question is too vague. Try adding additional details to your post. Better yet is to include code you have tried along with an explanation of what your code is not doing that you need help with.

请先登录,再进行评论。

回答(1 个)

Ankit Dutta
Ankit Dutta 2019-2-20
As Cris LaPierre suggested, it would be better if you could add the additional information to your post. Adding the code with explanation of what you have tried so far can be helpful to get a better understanding of the problem.
Additionally, you can try using the following functions to visualize data on maps:
  • geoplot -- Plot lines in geographic coordinates
  • geoscatter -- Scatter chart in geographic coordinates
  • geobubble -- Visualize data values at specific geographic coordinates
  • geodensityplot -- Plot for geographic density
  3 个评论
Walter Roberson
Walter Roberson 2019-2-24
Which coordinate system does it have to be uniform in? Uniform increments in lat / long can often be easiest to express, but it leads to cells that are not rectangles on the surface of the Earth (even ignoring altitude / terrain effects.) Rectangular in curvilinear patches approximated as flat on the surface of a deemed sphere, is not rectangular in lat / long. Rectangular in curvilenear patches approximated as flat on a reference spheroid will not necessarily agree with reference sphere...
Navid Hashemi
Navid Hashemi 2019-2-25
I have the latitude and longitude of the four corners and just loop through the range with incrementing 0.0003 in each step (each 0.0001 is ~10 meters). The resultant grid would have cells with an estimated 30 meter cells. I understand there are some estimations associated with it, but that is okay.
The main issue is that when I locate my data points in the created grid, one of the main tasks is to analyze the temporal variation given the times (timestamp) associated with each data point. I have not been able to find an efficient structure which let me quickly search and find the data points in the grid, given a specified range of time.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Geographic Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by