How to add a new Sector Map to SEOW

For bug reports and fixes, installation issues, and new ideas for technical features.

Moderator: SEOW Developers

22GCT_Gross
Posts: 302
Joined: Fri 13 Apr 2007 1:13 pm
Location: Italy

Post by 22GCT_Gross »

Ok,
then i start working on Slovakia, as it seems to be well adapted to middle Italy 1944/1945 operations too.
22GCT_Gross
IV/JG7_4Shades
Posts: 2202
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

The new MTO map from the 4.09mb patch has just been added to SEOW by EJgr.Ost_Chamel, entitled "Tubruq". Chamel has done a great job and I will release this minor update to SEOW shortly, along with bug fixes for the MP and Stats engine.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
FSNS_Otto
Posts: 8
Joined: Wed 27 Jun 2007 4:00 am
Location: Finland

Post by FSNS_Otto »

IV/JG7_4Shades wrote:The new MTO map from the 4.09mb patch has just been added to SEOW by EJgr.Ost_Chamel, entitled "Tubruq". Chamel has done a great job and I will release this minor update to SEOW shortly, along with bug fixes for the MP and Stats engine.

Cheers,
4Shades
Looking forward to this - any estimate when it is available ?
AH_Rumely
Posts: 7
Joined: Sun 23 Dec 2007 9:51 pm

Post by AH_Rumely »

Have been working on adding the new English Channel map for 4.09. Have been able to add the files for the Mission Planner. I'm at the point of editing the Sector map PHP files. The information in this thread is a great help. I just have a question on where you are pulling the following coordinate from.


$maxpX=1118; //Size of map image in pixels in x direction
$mincX=200; //Max longitude of image in FB coords
$maxcX=139200; //Min longitude of image in FB coords

$maxpY=799; //Size of map image in pixels in y direction
$mincY=400; //Max latitude of image in FB coords
$maxcY=99900; //Min latitude of image in FB coords


I understand the pixel size for x and y

I just don't see where you are getting the x and y information for the max and min longitude and latitude.

I do have a running SEOW server to work with
IV/JG7_4Shades
Posts: 2202
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Hi Rumely,

Those latitude/longitude coordinates are extracted from the FMB. Basically, you put a stationary car at each corner of your image and save the resulting mission (.mis) file. Open the .mis file in Notepad or any ascii editor and you will see the Stationary cars listed - you can read off their X,Y coordinates - these are the coordinates you need.

Getting these in place will allow the MP to "georeference" the map images against the IL-2 spatial coordinate system. You may need to do some fine adjustments to get the roads/bridges to overlap the image precisely. Note that because of topographic elevations, it is rare to get perfect match across the entire image, especially if there are lots of hills and valleys.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
AH_Rumely
Posts: 7
Joined: Sun 23 Dec 2007 9:51 pm

Post by AH_Rumely »

Thank You for your response understand the information, very helpful
IV/JG7_4Shades
Posts: 2202
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

242Sqn_Chap has just contributed the Libya map from the MOD series. A very nice job too, taking SEOW to its 36th supported sector. This will appear in the next release, along with trains and a bunch of other goodies.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
PA-Dore
Posts: 469
Joined: Thu 01 Nov 2007 8:58 am
Location: Savoie-France
Contact:

Post by PA-Dore »

When building a new map, is there a quick method to input in database roads & railways coordonates or we have to enter each road, each railway, each bridge...?

--> Scuse again for my bad english language ;-)
IV/JG7_4Shades
Posts: 2202
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Hi Dore,

When doing roads and railways, I use FMB to place a vehicle or train for each segment of road/track between junctions. Then I save the .mis file and import it into MS Excel where I format the waypoint lists to correspond to the Highways table format. Then I bring all that data into the DB. From Highways and Railways data I can find bridge names, locations and lengths.

It isn't a quick process. But I can do a sector in a few hours.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
PA-Dore
Posts: 469
Joined: Thu 01 Nov 2007 8:58 am
Location: Savoie-France
Contact:

Post by PA-Dore »

OK thanks 4Shades, I'll do that. We have already the 3 files .mis for English Channel roads, railways, bridges... I'm going to use Excel. My Squadron leader (PA-Syspo) is working actually to build a software which merge directly file .mis into database. But he's very busy and we have to wait a few time.

An other question: I'have read the post above (How to capture...) very nice resume, but why not to take the 1st and last way-point? For example in this case, we have only to keep the lines that finish by 20.0 (Bold below)

160753.20 126753.29 120.00 0 20 3.055555582046509
161500.00 127500.00 20.00
163100.00 129100.00 20.00
163700.00 129100.00 20.00
167500.00 131100.00 20.00
167900.00 130700.00 20.00

168099.94 130499.95 120.00

These way points are those we have put with mouse on map. Perhaps, they are'nt enough precise?
102nd-HR-cmirko
Posts: 179
Joined: Tue 16 Jan 2007 8:29 am
Contact:

Post by 102nd-HR-cmirko »

I have missions ready for new mod Malta map - since my RL obligations lately i never can find the time for grueling copy-paste job so that we can also "publish" mod Malta map....

is there a finished excel sheet or some other kind of "automated" way of entering this information in missions ?

S!
IV/JG7_4Shades
Posts: 2202
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Dore wrote:
160753.20 126753.29 120.00 0 20 3.055555582046509
161500.00 127500.00 20.00
163100.00 129100.00 20.00
163700.00 129100.00 20.00
167500.00 131100.00 20.00
167900.00 130700.00 20.00
168099.94 130499.95 120.00
The way I capture the waypoints is to put the mouse clicks right over the end points of each highway segment (from junction to junction). That means the first and last waypoints (for me) are important. As you say, Dore, there will always be some inaccuracy when doing this. But this is easily corrected using Excel (or any other spreadsheet) simply by rounding the X and Y coordinates to the nearest 100 m. This rounding is important since the road and rail networks in FMB maps are expressed in terms of node points located on a 100 m regular grid.

It is doubly important to do this, since the SEOW Highway_Intersection data looks for common nodes to define junctions, so you start and end points must be exactly on the 100 m grid.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
PA-Dore
Posts: 469
Joined: Thu 01 Nov 2007 8:58 am
Location: Savoie-France
Contact:

Post by PA-Dore »

OK it's right.

In your example (first page of this post):
[2_Chief_Road]
24502.58 12659.96 120.00 0 19 3.055555582046509
24500.00 12900.00 20.00

you said: "We want to capture the complete list for each Chief except the first and last nodes"

you transform the first one in excel ?
24500.00 12700.00 20.00
24500.00 12900.00 20.00
IV/JG7_4Shades
Posts: 2202
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

LOL, you are right. I guess I have changed my mind. It all depends on whether you:

(a) intentionally click the first and last waypoints well away from the start and end points of the route (as in my first post, so you would discard them)

or

(b) click the first and last waypoints as close to the start and end points as you can (as in my recent post, and you have to round them to the neaest 100 m)

Either way works, but the second method (b) means you have to do some programming in the spreadsheet.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
PA-Dore
Posts: 469
Joined: Thu 01 Nov 2007 8:58 am
Location: Savoie-France
Contact:

Post by PA-Dore »

this time it's really clear ;-)
Post Reply