What does mapcolor mean in ne_10m_admin_0_countries ?

Home Forums Natural Earth Map Data What does mapcolor mean in ne_10m_admin_0_countries ?

This topic contains 4 replies, has 2 voices, and was last updated by  abhgangwar 3 years, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4858

    abhgangwar
    Participant

    Hi, I am using map data for the first time. Could anyone please tell me what does the field mapcolor( mapcolor7, mapcolor8, mapcolor9, mapcolor13 ) in ne_10m_admin_0_countries mean ??

    #4861

    mcallisterw
    Participant

    They are used to colour the map so that adjacent countries aren’t the same colour. There are versions with 7,8,9 or 13 colours.

    #4862

    abhgangwar
    Participant

    Thanks for answering.

    Does that gives color index? How can convert it to rgb value?

    #4863

    mcallisterw
    Participant

    You choose your own colours. In the same way as, if you had a field for continent, you could colour each continent a different colour, you pick one colour for the number 1s, one for the 2s and so on. The number in the field has no meaning in an of its own, it simply divides the countries up into groups.

    #4864

    abhgangwar
    Participant

    yeah, got it. Thanks for your help

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.