logo separator

[mkgmap-dev] FYI Population specified on admin boundaries

From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Feb 17 07:58:11 GMT 2021

Hi Joris,

doesn't that mean that the population of the whole country is used for the capital?

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Joris Bo <jorisbo at hotmail.com>
Gesendet: Mittwoch, 17. Februar 2021 08:12
An: Development list for mkgmap
Betreff: [mkgmap-dev] FYI Population specified on admin boundaries

Hi,

The French osm community decided to remove the population tag from cities and towns and add them the municipality admin-border instead.
Because of this tagging place=city can not be displayed at certain zoomlevels based on the population anymore.

I added this to the relation file to have large cities nicely popup early on lower zoomelvels again

type = boundary & boundary = administrative & population = *
{ apply role=admin_centre
  {
            set population = '${population}';
  }
}

(or bettter:  you assign it here to a new tag “population_from_boundaries” and check both in the points style to avoid accidential overwrites, which I actually did)



Kind regards,

Joris Bo
jorisbo at hotmail.com<mailto:jorisbo at hotmail.com>



More information about the mkgmap-dev mailing list