SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 06-19-10, 06:08 AM   #1
aergistal
Chief
 
Join Date: May 2010
Location: France
Posts: 326
Downloads: 23
Uploads: 1
Default Patrol Map for Google Earth/Maps

I've made a tool similar to the SH5 online log google map widget. You can check it out here:

http://www.subsim.com/radioroom/showthread.php?t=171247

or view the

<< Online demo >>


Last edited by aergistal; 06-21-10 at 04:19 PM.
aergistal is offline   Reply With Quote
Old 06-20-10, 12:10 PM   #2
aergistal
Chief
 
Join Date: May 2010
Location: France
Posts: 326
Downloads: 23
Uploads: 1
Default

New version coming soon!

new features:
- Map plots can now be exported (see demo)
- Convoy reports
aergistal is offline   Reply With Quote
Old 06-20-10, 12:27 PM   #3
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default WOW!

That is so cool, nicely done. Does it automatically suck the data from your campaign file or do you run a little application to transfer the data from your campaign file into the KML file? In other words how do we use and it when can we get it? [EDIT: OOPS, just looked at the link, never mind, LOL]

This would be an excellent addition to an SH4 Commander application if there was one. Conversely Kiwi's Access Skipper's Log database might be an alternative? Just tossing it out there.
tomoose is offline   Reply With Quote
Old 06-20-10, 12:37 PM   #4
aergistal
Chief
 
Join Date: May 2010
Location: France
Posts: 326
Downloads: 23
Uploads: 1
Default

Unfortunately I cannot mess directly with the career log to build a map like in SH5 since the coordinate data that gets written there is in an unknown format. However I could make an option to concatenate multiple patrol logs into one large file.

I will take a look at the SH Commander. I could make one, just name what you want in it (statistics maybe?). I'm used to data extraction so there should be no problem.
aergistal is offline   Reply With Quote
Old 06-20-10, 01:52 PM   #5
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default Excellent!

Just downloaded it and tried it out. Fantastic! I know how to make KMLs myself so I'm thinking of adding the various codenames for the patrol areas etc. Perhaps even screenshots of the "victims" LOL.
Your little application is already pretty much a skipper's log. Perhaps all you need to do is add the crew roster for a given patrol. Google already permits customized notes etc so this is great.

A simple and yet brilliant little application. Thanks.

Ref: SH3 Commander. Take a look at it and you'll see it's fairly involved and does a lot more than just a log although personally I find I use pretty much the log part alone which, as I said, you've pretty much cracked already.
Once again, thanks.
tomoose is offline   Reply With Quote
Old 06-20-10, 01:55 PM   #6
aergistal
Chief
 
Join Date: May 2010
Location: France
Posts: 326
Downloads: 23
Uploads: 1
Default

Quote:
Originally Posted by tomoose View Post
Just downloaded it and tried it out.
It's good you tested it! I only got to test it on two systems so stay sharp for bugs Also, see that the markers are customizable. I still need some new icons...

Version 1.1 coming in 15 min
aergistal is offline   Reply With Quote
Old 06-20-10, 02:38 PM   #7
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default After doing some thinkin'

I'm wondering if you can use the same program logic to insert a screenshot. i.e. Shift-F11 gives a screenshot and places it in a specific folder etc (albeit it's a .bmp file). IIRC there's a date/time stamp too which could be linked to the sunk ship date/time stamp if you get my drift. The result would be your sunk ship icon on the map and a screenshot (if taken) associated with the google map popup info for the icon. Yes? No?
tomoose is offline   Reply With Quote
Old 06-20-10, 02:40 PM   #8
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default Oops forgot to mention.

I had sunk 3 ships in a harbour on the far side of the Bungo Straits. Google maps had two of them on land as I guess the harbour has expanded over the years since WWII. The editing function made it easy to just grab and slide those two icons onto water and then 'save' and good to go. Handy for adjustments.
tomoose is offline   Reply With Quote
Old 06-20-10, 02:52 PM   #9
aergistal
Chief
 
Join Date: May 2010
Location: France
Posts: 326
Downloads: 23
Uploads: 1
Default

Quote:
Originally Posted by tomoose View Post
I had sunk 3 ships in a harbour on the far side of the Bungo Straits. Google maps had two of them on land as I guess the harbour has expanded over the years since WWII. The editing function made it easy to just grab and slide those two icons onto water and then 'save' and good to go. Handy for adjustments.
The SH Log coordinates are in degrees and minutes but no seconds. So they're not very precise. SH also uses a weird world projection and therefore some errors/distortion could appear.

Regarding the screenshots there's one problem: how do they get uploaded to some public server?
aergistal is offline   Reply With Quote
Old 06-21-10, 02:26 PM   #10
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default Pics

There is an option for pics in the dialogue boxes but not sure how they are uploaded or whatever can't try it at the moment.

On a seperate note. Can you do for aircraft contacts what you've done for ship sinkings?
i.e.
IF string in log = "aircraft spotted"
THEN extract date/time/lat-long from log and put it and aircraft icon in
KML
ENDIF
Just a suggestion.
tomoose is offline   Reply With Quote
Old 06-21-10, 04:15 PM   #11
aergistal
Chief
 
Join Date: May 2010
Location: France
Posts: 326
Downloads: 23
Uploads: 1
Default

A typical contact report log entry (other than intel on convoys/task forces - which is already in 1.2) doesn't provide the coordinates.

Code:
[Log Entry 94]
Type=0
EntryText=Aircraft spotted, sir! Bearing 223! Long range!
Date=19420626
Time=1449
Categ=5
I have an ideea though. I'll see if I can get anthing and report back
aergistal is offline   Reply With Quote
Old 06-22-10, 09:33 AM   #12
aergistal
Chief
 
Join Date: May 2010
Location: France
Posts: 326
Downloads: 23
Uploads: 1
Default

Ok, I've added an option to display downed aircraft and also animation support / interactive time slider that works with Google Earth.

Wish I had access to capaign wide data like in SH5.

To get more data I'll be looking into replay info. But it's binary bleh. I'll see what I can do.
aergistal is offline   Reply With Quote
Old 06-22-10, 01:38 PM   #13
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default Timeslider

Aergistal;
I've tried the timeslider in GE for one of my patrols. It works but the start and end time you are permitted to enter in Google has limitations. I still need to play with it as perhaps the timeframe for just one patrol is too short.

One thing is for sure, after a 4 year career the timeline would be a neat way to give an overall view of all the "incidents" and where.
tomoose is offline   Reply With Quote
Old 06-22-10, 05:15 PM   #14
aergistal
Chief
 
Join Date: May 2010
Location: France
Posts: 326
Downloads: 23
Uploads: 1
Default

GE just looks for the earliest and latest entries and uses the resulting interval. I'm not sure I understand exactly what you mean by limitations. Eg: if you have only two kills a day apart the slider will be 2 days long.

As for career wide statistics you need to concatenate more patrol reports. Like export the patrol log before ending the patrol (aka before the data moves to careertrack.upc, date-time stamps get messed up and coordinates are encoded with Enigma ) for each patrol.

Should I add an option to select multiple KMLs and build a big one out of them with all the kills?
aergistal is offline   Reply With Quote
Reply


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 Off

Forum Jump


All times are GMT -5. The time now is 11:57 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.