Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Any map drawing utilities out there?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Scenario Design and Modding >> Any map drawing utilities out there? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Any map drawing utilities out there? - 7/23/2014 10:56:30 PM   
richlove


Posts: 196
Joined: 5/1/2009
Status: offline
I've spent a few months writing down locations of TK sightings in my current grand campaign, and I have about 200 or so entries of stuff like this:

- [ ] TK Nisshin Maru
- [ ] 88, 61 on 7/2
- [ ] 79, 67 on 7/7
- [ ] 91, 63 on 7/22
- [ ] 94, 57 on 9/16

What I'd like to do is be able to visualize that data on a map, ideally in an automated fashion, as a means of sniffing out the IJN convoy routes. Does anyone know of any tools that can do any part of that process, or is 'by hand' the best I can do? I'm hopiing someone has built a program that can take a list of map hexes and crank out a map w/ dots on it.... long shot, I know.
Thanks!
Post #: 1
RE: Any map drawing utilities out there? - 7/24/2014 12:07:46 AM   
topeverest


Posts: 3376
Joined: 10/17/2007
From: Houston, TX - USA
Status: offline
Unaware of anything like that, but back before my tracker stopped working I believe there was a signal intel function and map that did some of what you may want to do.

If you are coding type, C++ can easily set up a grid and data table you can use for a map. In excel, you also could create a tab to hold the data (227 x 202). You need to put a little thought into the excel grid, because each 'cell' probably would have 3 columns (date, type, and description) and then you need a row for each entry that occurs in the hex. I'd probably use a data table and macro to place the data.

In any event, eminently doable in a variety of formats if you are handy, but not if you are not.

_____________________________

Andy M

(in reply to richlove)
Post #: 2
RE: Any map drawing utilities out there? - 7/24/2014 8:31:53 AM   
richlove


Posts: 196
Joined: 5/1/2009
Status: offline
Hmm, thanks. It's been a while since I've done any C++. Are you saying I can decorate an image from excel, or are you saying I can represent the map in excel?

(in reply to topeverest)
Post #: 3
RE: Any map drawing utilities out there? - 7/28/2014 2:58:13 PM   
richlove


Posts: 196
Joined: 5/1/2009
Status: offline
Hmm, this little project finally flipped from frustrating to fun. More to come.

(in reply to richlove)
Post #: 4
RE: Any map drawing utilities out there? - 7/28/2014 3:22:05 PM   
richlove


Posts: 196
Joined: 5/1/2009
Status: offline
OK, here's what I've got so far. I'm not sure I'm going to keep working on this, but I'll certainly explain how I generated it later today:




Attachment (1)

(in reply to richlove)
Post #: 5
RE: Any map drawing utilities out there? - 7/28/2014 5:47:48 PM   
richlove


Posts: 196
Joined: 5/1/2009
Status: offline
The first thing you want to do is to capture the data you want to graphically represent. I use OmniOutliner for everything, which is a Mac program. See attached.

One thing to note is that if you actually want to do this, you should store the data in such a way as to immediately feed it into the next step. I spent a very boring 20 minutes transforming it into the x,y grid locations you see in the spreadsheet in the image. Were I to do this again, I would probably enter TK sightings directly into a spreadsheet. I occasionally re-observe TKs, so I sometimes try to plot out their routes, but in 9/42, that data is sparse.




Attachment (1)

(in reply to richlove)
Post #: 6
RE: Any map drawing utilities out there? - 7/28/2014 5:55:51 PM   
richlove


Posts: 196
Joined: 5/1/2009
Status: offline
Next step is to find an image manipulation program and a good map image. I used ImageMagick (visible here) because it had a command line interface. I used the MapRev1024.bmp included in the game. Next time I'll use one of the 45MB planning map files.

Then you need to figure out how to turn your x,y coordinates into pixel coordinates to draw onto the map. Using essentially hunt and peck circle drawing, I figured out the following mapping:
Diamond Harbor
Hex 52, 38 on the map corresponds to a circle drawn at this pixel on the image: 
--> 278, 168 

Rabaul 
Hex 106, 125 on the map corresponds to a circle drawn at this pixel on the image: 
--> 478,457

Pearl Harbor 
Hex 180, 107 on the map corresponds to a circle drawn at this pixel on the image: 
--> 749, 398


For the record, the command to draw a dot using ImageMagick is:
convert MapRev1024.bmp -fill red -draw "circle 749,398 750,399"
That draws a circle on 749,398, which is PH on the image.

< Message edited by richlove -- 7/28/2014 7:26:18 PM >

(in reply to richlove)
Post #: 7
RE: Any map drawing utilities out there? - 7/28/2014 6:36:02 PM   
richlove


Posts: 196
Joined: 5/1/2009
Status: offline
Next step: translate your x,y coordinates to pixel coordinates for your drawing program. If you look at the comment above, you see I plotted three pairs of "grid coordinates --> pixel coordinates". If you assume that mapping is linear, you can ask Wolfram Alpha to figure out the translation formula visible here, and in the attached image. Using this formula (one for the horizontal and one for the vertical (the one shown)), you can have excel translate all your map hexes into pixel points.






Attachment (1)

(in reply to richlove)
Post #: 8
RE: Any map drawing utilities out there? - 7/28/2014 6:59:29 PM   
richlove


Posts: 196
Joined: 5/1/2009
Status: offline
Penultimate step. Using excel, generate a huge command line command to generate your map. Take the generated commands, slap them into your CLI, and out comes the image w/ the little red dots I posted above.

SO: would I do this again? Maybe?

- The data collection is a pain, every turn
- I think it would take a LOOOONG time to amass enough data to have a really good sense for the standard TK routes.... and one routing switch destroys a lot of your work.
- You run the danger of reinforcing your biases. I'm seeing ships there because my subs are there; who's to say what other TKs are running around, unseen?

Anyway. A fun exercise even if I'm not sure I'd do it again.




Attachment (1)

(in reply to richlove)
Post #: 9
RE: Any map drawing utilities out there? - 7/28/2014 7:43:54 PM   
chemkid

 

Posts: 1238
Joined: 12/15/2012
Status: offline
.

< Message edited by chemkid -- 4/25/2018 11:16:58 AM >

(in reply to richlove)
Post #: 10
RE: Any map drawing utilities out there? - 7/28/2014 10:00:51 PM   
Dili

 

Posts: 4708
Joined: 9/10/2004
Status: offline
Yeah thanks for explanation.

_____________________________


(in reply to chemkid)
Post #: 11
RE: Any map drawing utilities out there? - 7/29/2014 9:59:02 AM   
tc464

 

Posts: 126
Joined: 2/27/2004
From: Sodom on Potomac
Status: offline
oops


< Message edited by tc464 -- 7/29/2014 11:02:15 AM >

(in reply to richlove)
Post #: 12
RE: Any map drawing utilities out there? - 7/29/2014 2:47:13 PM   
richlove


Posts: 196
Joined: 5/1/2009
Status: offline
One last example; here's a track of the 5th Division's known locations through my game (Malaya to Singapore to Toungoo to the Akyab area).

You could do this for each unit, but staring at this image, I'm not sure it's very useful. For sussing out convoy routes, maybe... but do you really need to know the movement history of every enemy LCU? I am starting to think that it's better to just know their current position. Maybe there's value in decorating a map w/ known big LCU locations, but I'm not convinced.





Attachment (1)

(in reply to tc464)
Post #: 13
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Scenario Design and Modding >> Any map drawing utilities out there? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

3.047