Results 1 to 9 of 9

Thread: Hi-Res topographic maps, equal area projections

  1. #1
    Siegfriedfr's Avatar Shisai
    Join Date
    May 2010
    Location
    France
    Posts
    429

    Default Hi-Res topographic maps, equal area projections

    FAQ

    What is the goal of this thread?

    Learning to get hi-res topographic maps with a flat earth-curve projection of any part of the world quick and easy.

    What's new here?
    I've looked in the numerous mapping tutorials on twcenter but couldnt find one which would point me to hi-res maps of the world and how to "curve" them to get equal-areas projections.

    What is an "equal-area" projection?

    Instead of having a flat rectangular map, you can bend and curve it to mimic closely the curving of earth on a flat surface.
    Practically this allows 2 things for total war modding:
    - remove alot of steppe/desert area in excess
    - properly depict the size of each area


    Examples:
    Classical "Robinson" projection:


    Alberts Equal Area Projection:



    PRACTICAL EXAMPLE!

    Robinson projection:


    Albers Equal Areas projection:



    Step 1 : Where can i get hi-res maps of the world for free ?

    When creating a R/M2 TW map, you need the following ressources:
    - a topographic map for heights; [most important and the base for all your work]
    - a watercover map for inland waterbodies;
    - a landcover map which is not necessary to create a mod but helps immensely when drawing rivers and outlining deserts/grass area;

    The NASA provided the web with the bluemarble project which is a collection of satellite images of Earth.

    [For our purpose and if you are a beginner, you only need 5400x sized maps - it's however entirely possible to use the 21600x maps as a base before downscaling if you have the hardware and knowledge of mapping]


    The map download center can be found here

    Easy links:
    Topographic map
    File :srtm_ramp2.world.5400x2700.jpg
    Ocean's Cover
    File :world.oceanmask.5400x2700.png
    Landcover map
    File :world.200407.3x5400x2700.jpg

    Step 2: How to get "equal areas" map projections ?


    The NASA also provides a very nice tool : the G projector: Global Map Projector, allowing you to modify the "projection" of a map
    The best one is arguably the "Albers Equal Area Conic", which bends the map and respects landmass' size.

    [This software only loads images 5900x or smaller]

    Once you "projected" your flat map, you can zoom in or out, remove the grid, determine the "center" of your map etc...and eventually save your work as a jpeg file.
    [Max resolution supported when saving seem to be 2500x]
    [You should save in the jpeg format and then transform to TGA format with gimp]



    Step 3 : How do i modify TW map files ?

    Gimp, a free and powerful image editor almost equal to photoshop, at least for TW map-modding:

    Gimp - GNU Image Manipulation Program



    What you NEED to master in gimp in order to succeed in mapping:
    - extensive use of layers
    - color selection

    It takes alot of trial and error, trying and failing before understanding how to use gimp efficiently and create a proper map.
    Patience is key!

    For the next steps in mapping, i leave you browsing the numerous quality mapping tutorials on totalwarcenter!

  2. #2
    Alejandro Magno's Avatar Taihō no heishi
    Join Date
    Aug 2011
    Location
    Tlaxcala, Mexico
    Posts
    450

    Default Re: Hi-Res topographic maps, equal area projections

    Well, actually this is really helpful man, thanks! +rep

  3. #3
    Gigantus's Avatar Veni, Vici, Procudit
    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    27,676

    Default Re: Hi-Res topographic maps, equal area projections

    JPEG is a very unhelpful format when it comes to mapping for M2TW, due to the 'fuzzy' edges. Any suggestion on how to tackle that?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	fuzzy.png 
Views:	51 
Size:	159.0 KB 
ID:	183702  

  4. #4
    irishron's Avatar Shogun
    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    40,607

    Default Re: Hi-Res topographic maps, equal area projections

    Paint.net can convert it to .tga and then you have to do the rest.

  5. #5
    Gigantus's Avatar Veni, Vici, Procudit
    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    27,676

    Default Re: Hi-Res topographic maps, equal area projections

    It's the 'rest' that makes it unhelpful. It is extremely time consuming to do the 'beaches' by hand (see my attachment) - if anyone comes up with an idea on how to expedite that, then this is usable.

    The attachment is a screenshot from world.oceanmask.5400x2700 and not edited at all.

  6. #6
    Alejandro Magno's Avatar Taihō no heishi
    Join Date
    Aug 2011
    Location
    Tlaxcala, Mexico
    Posts
    450

    Default Re: Hi-Res topographic maps, equal area projections

    Quote Originally Posted by Gigantus View Post
    It's the 'rest' that makes it unhelpful. It is extremely time consuming to do the 'beaches' by hand (see my attachment) - if anyone comes up with an idea on how to expedite that, then this is usable.

    The attachment is a screenshot from world.oceanmask.5400x2700 and not edited at all.
    Well I use Photoshop, and first i need a 2 color map (1 for ocean and 1 for ALL land) and i simply use the Crtl+G tool (can't remember the name in english, it's the bucket of paint) and use it to re-color the ocean (if it was blue, i change it to red). Now, photoshop draws a 1 pixel line ALL along what would be "the coast", wich, neither is the red of the ocean in my example, neither the color or the land (thus making it a third color). Then i replace the third color (Using Replace color tool Haha), mmm lets say for white and presto mágico! Your beach easy as cake!

  7. #7
    Gigantus's Avatar Veni, Vici, Procudit
    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    27,676

    Default Re: Hi-Res topographic maps, equal area projections

    That sounds reasonable, I will see which steps those are in GIMP, probably color select (water area) and then 'select\grow'

  8. #8
    Alejandro Magno's Avatar Taihō no heishi
    Join Date
    Aug 2011
    Location
    Tlaxcala, Mexico
    Posts
    450

    Default Re: Hi-Res topographic maps, equal area projections

    Quote Originally Posted by Gigantus View Post
    That sounds reasonable, I will see which steps those are in GIMP, probably color select (water area) and then 'select\grow'
    Also, if you like i could help you. You could send me the file you want beaches on and i'll make them

  9. #9
    Gigantus's Avatar Veni, Vici, Procudit
    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    27,676

    Default Re: Hi-Res topographic maps, equal area projections

    Thanks for the offer, it worked fairly well - just needed to adjust the initial selection range.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •