Jump to content

Sector File Creater Program


Recommended Posts

Miguel,

 

I was using the .sline command in EuroScope to draw out certain coloured regions for the sector files. Since that command gives the output with COORD: and a few other things amongst the co-ordinates, I created a quick PHP script to strip that out and give you the co-ordinates in a more simple way to copy & paste into the sector file. I've put the code below if you wish to put it as part of a script on your website I have no issue with that.

 

<?php

if($_POST['submit']){

// First, put all of the textarea lines into an array.
$data = explode("\n", $_POST["coord"]);

// Then, loop through each line an explode them by colons.
foreach($data as $line){
$item = explode(":", $line);
// display line.
echo $item[1]." ".$item[2]."<br />";
}

}
else 
{
echo "Enter co-ordinates below";
}

?>

<html>
<body>

<form action="" method="post">
Enter here: <textarea name="coord" rows="10" cols="34"></textarea>
<input type="submit" name="submit" value="submit" />
<input type="reset" name="Clear" id="Clear" value="Reset">
</form>

</body>
</html>

 

Cheers

Link to post
Share on other sites
  • Replies 92
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

Hi Miguel, excelent tool!

 

Im using your designer tool to designe some new sector for Euroscope. So... the thing is that I´m seeing warnings when i convert the kmz file to sct. I rename all the elements, but it doesnt matter what I do, is always the same:

 

*** can't read "fname": no such variable

*** while executing

*** "set style($smap) "forward $fname""

*** (procedure "ReadStyles" line 11)

*** invoked from within

*** "ReadStyles"

*** (file "../convert-kml" line 71)

 

Can you tell me what I´m doing wrong?

 

Best Regards

Link to post
Share on other sites
  • 4 months later...

I originally was working on this as a one-off but figured there might be some value to the community if it's extended/fleshed out. Beware that the code is still a mess right now but it will get you 80% of the way there for airports that have taxiways defined in X-Plane:

 

https://github.com/AvatarKava/xplane-data-tools-php

 

---

Mike Burke

S1 - ZHU ARTCC

Link to post
Share on other sites
  • 2 months later...
  • 2 years later...
  • 2 weeks later...

Hi Victor,

have a little problem creating a sectorfile with "sected".

All airports imported via LevelD or Navigator are not shown in Euroscope cause they have no AirspaceCl[Mod - Happy Thoughts].

Is there a solution for this?

 

With kind regards

Roland

Kind regards

 

Roland Pohl

2. chairman of Flighsimulator Club e.V.

Link to post
Share on other sites
Hi Victor,

have a little problem creating a sectorfile with "sected".

All airports imported via LevelD or Navigator are not shown in Euroscope cause they have no AirspaceCl[Mod - Happy Thoughts].

Is there a solution for this?

 

With kind regards

Roland

 

Add manually in Notepad a letter for Airspace Cl[Mod - Happy Thoughts], i.e.

UTTT 0.000 N041.15.24.001 E069.16.54.000 E

in your *.sct file,

 

or put the letter inside the program

http://scr.hu/169l/59bkd

VATRUS Division Director, Supervisor

RU-CEN_FSS - CIS Central Asia FSS ("Asia-Center")

Email: director(at)vatrus.info

Link to post
Share on other sites

Add manually in Notepad a letter for Airspace Cl[Mod - Happy Thoughts], i.e.

UTTT 0.000 N041.15.24.001 E069.16.54.000 E

in your *.sct file,

 

or put the letter inside the program

http://scr.hu/169l/59bkd

 

Yes I did so, but if that is the only way, it would be a nice Idea, if Sected sets a letter by default.

Kind regards

 

Roland Pohl

2. chairman of Flighsimulator Club e.V.

Link to post
Share on other sites

Yes I did so, but if that is the only way, it would be a nice Idea, if Sected sets a letter by default.

I think it isn't good idea because every airport you create a layout for it can be of different cl[Mod - Happy Thoughts]. That is why you have a checkbox there to put the letter manually.

VATRUS Division Director, Supervisor

RU-CEN_FSS - CIS Central Asia FSS ("Asia-Center")

Email: director(at)vatrus.info

Link to post
Share on other sites

Hallo Evgeny,

OK that's indeed a factor. But it is a lot of work, if I need a big sectorfile i.E. 800 qnm

We (Flightsimulator Club e.V. with own FSD-Server) do often a Fly-In and I have to create some

special Sectorfiles for that.

Kind regards

 

Roland Pohl

2. chairman of Flighsimulator Club e.V.

Link to post
Share on other sites

Ohh Maybe I'm to old and weak

I did some editing with excel, that worked for me.

 

Next point

Is there any solution for coastlines and other geodata, found some hints to gndmaker, but all (very old) links don't work anymore.

Kind regards

 

Roland Pohl

2. chairman of Flighsimulator Club e.V.

Link to post
Share on other sites
  • 2 years later...
  • 1 year later...

Hey all,

 

Is there anyway for SECTED to detect the approach transitions, in order to import the arrival routes of a airport such as procedural entries & DME ARC's? I am able to only import STAR's from SECTED by using the LEVEL-D NAV Data.

 

Thanks.

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...