<div dir="ltr">The display traffic was an example and I was thinking it was just a GUI thing.  What I am actually modelling is cable laid in the ground.  And what I want to show is a heatmap representing the likelihood of there being an issue at this point on the fiber.<div>The data will be stored as an array of numbers which each cell corresponds to a distance along a route.  This array could be thousands of values.The heatmap will be in the shape of the lines. So I did not want to have as many line segments as I do cells in the array just to represent one cable.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 27, 2020 at 12:53 AM Mohit Sindhwani <<a href="mailto:ml3p@onghu.com">ml3p@onghu.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2020-2-26 8:48 am, Erik H wrote:<br>
> Depends on your requirements. If you just want to visualize typical <br>
> traffic conditions, MapServer can do the job, it's pretty <br>
> straightforward. Just join your road geometries with the congestion <br>
> data (actual speed / free-flow speed), apply some filters (SQL <br>
> conditions) on road class and maybe congestion (omitting non-congested <br>
> roads), and render that in the appropriate color.<br>
><br>
> If, on the other hand, you have a feed with speeds that vary <br>
> frequently, it gets tricky because you can't really use a regular tile <br>
> cache. I ended up abandoning MapServer for this - the problem was not <br>
> so much the rendering, but PostGIS was getting overwhelmed. If you get <br>
> your speed data from a company like HERE or INRIX, you should be able <br>
> to use their tilers. If not, you have a nice challenge.<br>
<br>
How is the data created and stored? How large is the area? We do a bunch <br>
of things as a traffic services company, and have found that different <br>
things work better for different scenarios. MapServer and GeoServer have <br>
both worked for us in the past. The challenge is always on how pretty <br>
you want it to be, how much compute you're willing to spend, how often <br>
the data updates, etc.<br>
<br>
It's correct that the regular tile cache doesn't expire data in the best <br>
way to support this :)<br>
<br>
Best Regards,<br>
Mohit.<br>
2020-2-27 | 1:44 pm.<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><a href="http://www.atlantageek.com" target="_blank">http://www.atlantageek.com</a></div>