Skip to content
Prev 25821 / 29559 Next

How to objectively subset cities by population

Dear Dr. Gr?ler,
Thanks for your contribution. I very much enjoyed the clustering suggestion, and it seems to be available in R's leaflet through the "markerClusterOptions" command. It could solve my problem, so I will take a closer look at that.
Regarding your first suggestion, can you point me out some example that uses the overlaid grid approach?
Thanks,?-- Thiago V. dos Santos
PhD studentLand and Atmospheric ScienceUniversity of Minnesota
On Thursday, July 27, 2017, 3:00:55 AM CDT, Dr. Benedikt Gr?ler <b.graeler at 52north.org> wrote:
Dear Thiago,

if you want them spatially evenly distributed, you could overlay a grid 
and select the largest per grid box - or maybe more intuitive, select 
the largest per predefined administrative areas (counties/postal 
codes/...). This could also change based on zoom-level. An alternative 
is to group sensors and expand and zoom in by clicking on the group (see 
e.g. [1]).

HTH,

? Ben

[1] http://sensorweb.demo.52north.org/client/#/map
On 27/07/2017 06:09, Thiago V. dos Santos via R-sig-Geo wrote: