<div dir="ltr">I precise that I want to do it on a command line web server so I have no GUI, I think about a script<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><div><div>Sylvain Ard<br>0549507724<br>0778380991</div><div><a href="mailto:sylvain.ard@gmail.com" target="_blank">sylvain.ard@gmail.com</a></div><div><a href="http://sylvain-ard.fr" target="_blank">http://sylvain-ard.fr</a><br></div>Entreprise individuelle SIRET : 80079243400022<br></div>Appt 26 Bât A Résidence Le Patio<br></div>83 rue de la Bugellerie<br></div>86000 Poitiers<br></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 8 mars 2024 à 18:58, chris hermansen <<a href="mailto:clhermansen@gmail.com">clhermansen@gmail.com</a>> a écrit :<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">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" target="_blank">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" target="_blank">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>
</blockquote></div>