<div dir="ltr"><div dir="ltr">Sorry everyone, pressed "send" too early!<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 8, 2024 at 9:55 AM chris hermansen <<a href="mailto:clhermansen@gmail.com">clhermansen@gmail.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"><div dir="ltr"><div dir="ltr">Sylvain and list,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 8, 2024 at 8:15 AM Sylvain Ard via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</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"><div dir="ltr"><br>Good morning,<br>I have a PostgreSQL database of several million points with latitude/longitude and I would like to do the following with qgis-server or PostGis:<br>according to a number of shapes (hexagons, circles or squares) per mesh, calculate the number of points per shape and color the shape darker as there are points underneath. If there are no points the shape should not appear. If we zoom in, the meshes must be recalculated and reduced of course. On the other hand I would like a leaflet basemap.</div></blockquote><div><br></div><div>I don't have a "follow this recipe" answer for you, but I wonder if you have looked at "heat maps" as a general concept and thought about how that might apply to your needs.</div><div><br></div><div>For example, there is this interesting discussion on StackExchange about density of bomb craters:</div><div><br></div><div><a href="https://gis.stackexchange.com/questions/385338/point-density-map-in-qgis" target="_blank">https://gis.stackexchange.com/questions/385338/point-density-map-in-qgis</a></div><div><br></div></div></div></blockquote><div>Also worth learning about is how QGIS handles point clouds and whether that might apply to solving your problem</div><div><br></div><div><a href="https://docs.qgis.org/3.34/en/docs/user_manual/working_with_point_clouds/point_clouds.html">https://docs.qgis.org/3.34/en/docs/user_manual/working_with_point_clouds/point_clouds.html</a> <br></div></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div></div>