.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

BCT Commander- Save $7.00
winSPWW2- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old July 2nd, 2008, 02:44 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Images of Westeros, somebody make a map out of it!

People have been talking about fantasy books in an offtopic thread and while I knew none of the sagas or authors mentioned in there, I had a look around. I've found an encyclopedia called "The Tower of the Hand" which has a nice Google Maps interface to the map of Westeros which is the world where George RR Martin's "Song of Ice and Fire" saga takes place, which might make a nice Dominions 3 map.

I have stitched together the images for the different zoom levels and made versions with and without the labels. But since I don't really know the series and fear that rabid fans will kill me if I make some small factual error, I'll rather place them here and hope that somebody might pick those up to create a map. Attached is a zip file of all the stitched images, with and without labels, in PNG format, and some other reference images which can be used to split the map into provinces and name them. Maybe somebody even owns the "A Game of Thrones" board game, because some of the province names used there are buried in my image.
Attached Files
File Type: zip 621021-SongOfIceAndFire.zip (21.50 MB, 320 views)
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #2  
Old July 2nd, 2008, 02:44 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Images of Westeros, somebody make a map out of

Attaching one of the stitched images (zoom level 3 of 5) as preview pic, too...

Here it is:
Name:  621022-z3-labels.png
Views: 1067
Size:  624.0 KB
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief

Last edited by lch; October 2nd, 2008 at 10:44 AM..
Reply With Quote
  #3  
Old July 2nd, 2008, 05:03 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: Images of Westeros, somebody make a map out of

Wow, very nice work. I do hope some gifted map maker will pick up the glove.
Reply With Quote
  #4  
Old July 2nd, 2008, 11:09 PM
PashaDawg's Avatar

PashaDawg PashaDawg is offline
General
 
Join Date: Jul 2004
Location: Portland, ME (USA)
Posts: 3,241
Thanks: 31
Thanked 65 Times in 18 Posts
PashaDawg is on a distinguished road
Default Re: Images of Westeros, somebody make a map out of

Yes. Nice work, lch. That would make a good map, and I am inspired by the long scroll style. It would be an excellent project for someone who is eager to try the technical aspects of making a map since this one is pretty much drawn and looks great.
Reply With Quote
  #5  
Old July 3rd, 2008, 04:23 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Images of Westeros, somebody make a map out of

There will be a new mapmaking manual out with the next patch, so that will perhaps be of some help if there are new up and coming mapmakers who don't have a lot of experience in mapmaking yet.
Reply With Quote
  #6  
Old July 3rd, 2008, 05:29 AM
HoneyBadger's Avatar

HoneyBadger HoneyBadger is offline
General
 
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
HoneyBadger is on a distinguished road
Default Re: Images of Westeros, somebody make a map out of

Ofcourse, this means that someone's going to have to make a whole SoIaF scenario, or else it's not going to be much use just having a map.

Isn't there a map with the eastern lands in it? Bravos, the free cities, etc.?
__________________
You've sailed off the edge of the map--here there be badgers!
Reply With Quote
  #7  
Old July 6th, 2008, 06:49 AM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Images of Westeros, somebody make a map out of

The Oeridia (sp?) map has 1225 provinces, and is freaking enormous, complex, and lots of fun, but perhaps a bit much.
Reply With Quote
  #8  
Old July 8th, 2008, 12:40 PM
Edratman's Avatar

Edratman Edratman is offline
First Lieutenant
 
Join Date: May 2007
Location: Reading, PA
Posts: 724
Thanks: 93
Thanked 37 Times in 27 Posts
Edratman is on a distinguished road
Default Re: Images of Westeros, somebody make a map out of

Quote:
PvK said:
The Oeridia (sp?) map has 1225 provinces, and is freaking enormous, complex, and lots of fun, but perhaps a bit much.
I agree entirely. I've been playing this map almost exclusively for a few months, but I end up quitting because of the turn times. I believe it has about 1200 provinces, and this appears to be my limit. I put 30 to 40 opponents in it (all eras mod) and it is fun, up to a point. Larger maps would just result in more start variety, but the same time problems after 50 or 60 turns. There just would be more provinces and foes out of reach.
__________________
Men do not quit playing because they grow old; they grow old because they quit playing.
Oliver Wendell Holmes
Reply With Quote
  #9  
Old July 8th, 2008, 01:19 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Getting the number of provinces in an image

Ok, apparently the solution that I provided to count the number of provinces doesn't work because ImageMagick refuses to generate a histogram for an image as big as Westeros.bmp.

What I used to count the number of pixels was some small Python program. It uses PIL, the Python Imaging Library.

Here's my code:

Code:
from PIL import Image

img = Image.open("Westeros.bmp")
(xdim, ydim) = img.size
# yeah, this is a hackish way to do things
channels = len(img.getbands())
white = tuple([255]*channels)

count = 0
if Image.VERSION >= "1.1.6":
data = img.load()
for y in range(ydim):
for x in range(xdim):
if data[x,y] == white:
count += 1

else:
data = img.getdata()
for y in range(ydim):
for x in range(xdim):
if data[x+y*xdim] == white:
count += 1

print count, "provinces"


This takes about 30 seconds to complete, because of the for loops which do the pixel checks. There are ways to speed this up. First, you could consider mapping to the luminance:
Code:
from PIL import Image
count = list(Image.open('Westeros.bmp').convert('L').getda ta()).count(255)
print count, "provinces"


This takes half as long, but the conversion from the internal PIL format to Python data containers still takes too long. If you want to make full use of the underlying C code that PIL is built on, then you can do the following:
Code:
from PIL import Image
count = Image.open('/home/lch/dominions3/maps/Westeros.bmp').convert('L').histogram().pop()
print count, "provinces"


This takes less than a second on the Westeros.bmp for me.

The way that I am getting the information that I want here, over histograms, can be done with image editing programs, too. Just look where your image editing program has the Histogram function, and set it to Luminance/Value. Then enter a range of 255-255 (or pick the pure white color) and it should tell you the number of provinces. GIMP seems to have a bug, though: Although it does work correctly with other map images that I have tried, it reports something like 12038 pure white pixels here, which clearly is wrong.

Instructions for GIMP:
- open image
- open Histogram: either through "Colors > Info > Histogram" or "Dialogs > Histogram"
- change channel to "Value"
- enter 255 as left and right limit
- look at "Count" value

Workaround for GIMP:
- open image
- choose "Select > by color" (Shift+O)
- select a pure white pixel
- choose "Edit > Copy" (Ctrl+C)
- choose "Edit > Paste as > New Image"
- do the above, but with 0 and 255 as limits for the range
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief

Last edited by llamabeast; June 7th, 2009 at 06:00 AM..
Reply With Quote
  #10  
Old July 8th, 2008, 04:28 PM

Atreides Atreides is offline
Corporal
 
Join Date: Jan 2007
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Atreides is on a distinguished road
Default Re: Getting the number of provinces in an image

Thanks Ich, that'll help a lot when I'm redrawing the map. Much appreciated.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:15 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.