Re: [datameet] Query regarding Heat map Generation

2020-12-04 Thread Jagades Vignesvar
Thanks alot :)

Vignesvar J

On Fri, 4 Dec, 2020, 12:56 Ujaval Gandhi, 
wrote:

> Hi Jagades,
>
> There are many ways to do it. Here are some ways to achieve this in QGIS
>
> Easiest would be to use the GPX tracks (lines). QGIS has a tool 'Line
> Density' in Processing Toolbox that will give you a heatmap based on
> overlapping line segments. If you just have points with timestamps and
> track id, use the 'Points to Path' tool to create tracks.
>
> A more complex but accurate way would be to first snap your GPS points to
> the road segments. I outline the process here
> https://spatialthoughts.com/2020/02/22/snap-to-roads-qgis-and-osrm/ . If
> you don't care much about accuracy, you can use 'Snap Geometries to Layer'
> tool in QGIS and snap each GPS point to the nearest road segment. Then you
> can do a spatial join 'Join Attributes by Location (summary)' and count the
> number of points on each segment. Then you can use apply a symbology using
> the 'count' field for each line segment.
>
> I can think of 5 other ways, but instead of listing them here, I'll point
> you to this thread which has more ideas :)
> https://gis.stackexchange.com/questions/264710/doing-heatmap-from-line-data-in-qgis
>
> [image: Logo] 
> Ujaval Gandhi
> Spatial Thoughts
> mobile: +91-8095684687
> email: uja...@spatialthoughts.com
> [image: LinkedIn icon]   [image:
> Twitter icon] 
>
>
>
> On Fri, Dec 4, 2020 at 1:32 AM Jagades Vignesvar 
> wrote:
>
>> Dear All,
>> I have a set of GPS Points (in both .gpx and .csv format), and the base
>> road layers in .shp format. Can anybody help how to generate a Line Heat
>> Map based on the available GPS points? (Like a larger number of GPS points
>> on a particular route indicates its being used frequently)
>> Thanks in advance.
>>
>> *Vignesvar J.*
>> *Civil Engineer | *
>> *Urban & Regional Planner*
>>
>> --
>> Datameet is a community of Data Science enthusiasts in India. Know more
>> about us by visiting http://datameet.org
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "datameet" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to datameet+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/datameet/CAA0P%2BhD%3DwgDEEZA%3DTOvXtn_xvcznm1fVJGybpUKAEJvFXXxXzw%40mail.gmail.com
>> 
>> .
>>
> --
> Datameet is a community of Data Science enthusiasts in India. Know more
> about us by visiting http://datameet.org
> ---
> You received this message because you are subscribed to the Google Groups
> "datameet" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to datameet+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/datameet/CALymcQBRUaHHWD6_n%3Di6p0uJvor0_rrAL9KLZwdnHNZyGf5YXQ%40mail.gmail.com
> 
> .
>

-- 
Datameet is a community of Data Science enthusiasts in India. Know more about 
us by visiting http://datameet.org
--- 
You received this message because you are subscribed to the Google Groups 
"datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datameet+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/CAA0P%2BhBzxCXGETKFhHYOD3nGLQGmuSvPj8H7-%2BAk1AWUEW3pmw%40mail.gmail.com.


Re: [datameet] Query regarding Heat map Generation

2020-12-03 Thread Ujaval Gandhi
Hi Jagades,

There are many ways to do it. Here are some ways to achieve this in QGIS

Easiest would be to use the GPX tracks (lines). QGIS has a tool 'Line
Density' in Processing Toolbox that will give you a heatmap based on
overlapping line segments. If you just have points with timestamps and
track id, use the 'Points to Path' tool to create tracks.

A more complex but accurate way would be to first snap your GPS points to
the road segments. I outline the process here
https://spatialthoughts.com/2020/02/22/snap-to-roads-qgis-and-osrm/ . If
you don't care much about accuracy, you can use 'Snap Geometries to Layer'
tool in QGIS and snap each GPS point to the nearest road segment. Then you
can do a spatial join 'Join Attributes by Location (summary)' and count the
number of points on each segment. Then you can use apply a symbology using
the 'count' field for each line segment.

I can think of 5 other ways, but instead of listing them here, I'll point
you to this thread which has more ideas :)
https://gis.stackexchange.com/questions/264710/doing-heatmap-from-line-data-in-qgis

[image: Logo] 
Ujaval Gandhi
Spatial Thoughts
mobile: +91-8095684687
email: uja...@spatialthoughts.com
[image: LinkedIn icon]   [image:
Twitter icon] 



On Fri, Dec 4, 2020 at 1:32 AM Jagades Vignesvar 
wrote:

> Dear All,
> I have a set of GPS Points (in both .gpx and .csv format), and the base
> road layers in .shp format. Can anybody help how to generate a Line Heat
> Map based on the available GPS points? (Like a larger number of GPS points
> on a particular route indicates its being used frequently)
> Thanks in advance.
>
> *Vignesvar J.*
> *Civil Engineer | *
> *Urban & Regional Planner*
>
> --
> Datameet is a community of Data Science enthusiasts in India. Know more
> about us by visiting http://datameet.org
> ---
> You received this message because you are subscribed to the Google Groups
> "datameet" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to datameet+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/datameet/CAA0P%2BhD%3DwgDEEZA%3DTOvXtn_xvcznm1fVJGybpUKAEJvFXXxXzw%40mail.gmail.com
> 
> .
>

-- 
Datameet is a community of Data Science enthusiasts in India. Know more about 
us by visiting http://datameet.org
--- 
You received this message because you are subscribed to the Google Groups 
"datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datameet+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/CALymcQBRUaHHWD6_n%3Di6p0uJvor0_rrAL9KLZwdnHNZyGf5YXQ%40mail.gmail.com.


[datameet] Query regarding Heat map Generation

2020-12-03 Thread Jagades Vignesvar
Dear All,
I have a set of GPS Points (in both .gpx and .csv format), and the base
road layers in .shp format. Can anybody help how to generate a Line Heat
Map based on the available GPS points? (Like a larger number of GPS points
on a particular route indicates its being used frequently)
Thanks in advance.

*Vignesvar J.*
*Civil Engineer | *
*Urban & Regional Planner*

-- 
Datameet is a community of Data Science enthusiasts in India. Know more about 
us by visiting http://datameet.org
--- 
You received this message because you are subscribed to the Google Groups 
"datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datameet+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/CAA0P%2BhD%3DwgDEEZA%3DTOvXtn_xvcznm1fVJGybpUKAEJvFXXxXzw%40mail.gmail.com.