Owner of eddb8.mine gesucht ;)

Want to post something that doesn't quite fit into the other forums? This is the place for that.
Post Reply
antonov124
Posts: 22
Joined: Wed Mar 16, 2016 10:21 am

Owner of eddb8.mine gesucht ;)

Post by antonov124 » Fri Feb 17, 2017 1:30 pm

Hallo eddb8.mine VRS besitzer, bitte melde dich mal bei mir ;)
Hab da ein paar Fragen zu deinem Overlay Aufbau.


gruesse aus EDDC VRS ^^

UA4WIY
Posts: 54
Joined: Mon Aug 29, 2016 7:41 pm

Re: Owner of eddb8.mine gesucht ;)

Post by UA4WIY » Wed Feb 22, 2017 5:26 am

Привет,
Если не объявится , то спроси меня, как как там у него там всё сделано. :)

EDDB
Posts: 2
Joined: Sat May 16, 2015 11:58 pm

Re: Owner of eddb8.mine gesucht ;)

Post by EDDB » Thu Feb 23, 2017 2:43 pm

Hi,

here is the owner, sorry I don't look every day here. :D

mfg aus EDDB

UA4WIY
Posts: 54
Joined: Mon Aug 29, 2016 7:41 pm

Re: Owner of eddb8.mine gesucht ;)

Post by UA4WIY » Thu Feb 23, 2017 3:45 pm

How did you make aeroport oulines to json?

EDDB
Posts: 2
Joined: Sat May 16, 2015 11:58 pm

Re: Owner of eddb8.mine gesucht ;)

Post by EDDB » Sat Feb 25, 2017 1:18 am

Hi,

with a little cheap php script,
I don't know the specifications of .out files but it work.

Code: Select all

<?php
/**outtojson

* @version 0.01
*/
header("Content-Type: text/plain;charset=utf-8");
$airport="eddb";//array identifier var eddb0 ... var eddb1 ...
$outstring=file_get_contents("eddb.out");//outline file name
$outstring=preg_replace(['(#.+)','({.+)','(;.+)','(//.+)','(\$TYPE.+)'],'',$outstring);//remove comments and "$TYPE?"
$outstring=trim($outstring,"\t\n\r\0\x0B-1");//remove -1 and more from beginning and end
$outstringarr=explode("-1",$outstring);//split individual areas
$i=0;
$jsstring="";
while(each($outstringarr)){
	$jsstring.="\t\t\t\tvar $airport$i=[\r\n";
	$outstringarr[$i]=preg_split("/[\s]+/",trim($outstringarr[$i]));
	$j=0;
	while(each($outstringarr[$i])){
		if((count($outstringarr[$i])-1)==$j)$km="";else$km=",";
		$jsstring.="\t\t\t\t\t{lat:".str_replace("+",",lng:",$outstringarr[$i][$j])."}$km\n";
		$j++;
	}
	$jsstring.="				];
				pageSettings.mapPlugin.addPolyline('$airport$i', {
					clickable:      false,
					draggable:      false,
					editable:       false,
					geodesic:       true,
					strokeColour:   '#808080',
					strokeWeight:   1,
					path:           $airport$i
				});\n";
	$i++;
}
echo $jsstring;
?>
at the beginning this lines

Code: Select all

    if(VRS && VRS.globalDispatch && VRS.serverConfig) {
        VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
            // Hook the event that is raised after the page has finished initialising.
            bootStrap.hookInitialised(function(pageSettings) {
                // Check that there's a map on the page
                if(pageSettings.mapPlugin) {
                    // Declare each point in the line that we're going to draw. Note that the
                    // last entry must not have a comma after it.

output from the script example

Code: Select all

				var eddb0=[
					{lat:52.39107,lng:13.52255},
					{lat:52.39163,lng:13.52389},
					{lat:52.39144,lng:13.52409},
					{lat:52.39089,lng:13.52276},
					{lat:52.39107,lng:13.52256}
				];
				pageSettings.mapPlugin.addPolyline('eddb0', {
					clickable:      false,
					draggable:      false,
					editable:       false,
					geodesic:       true,
					strokeColour:   '#808080',
					strokeWeight:   1,
					path:           eddb0
				});
				var eddb1=[
					{lat:52.39061,lng:13.52044},
					{lat:52.39020,lng:13.52069},
					{lat:52.38988,lng:13.51938},
					{lat:52.38999,lng:13.51930},
					{lat:52.39002,lng:13.51940},
					{lat:52.39032,lng:13.51922},
					{lat:52.39060,lng:13.52044}
				];
				pageSettings.mapPlugin.addPolyline('eddb1', {
					clickable:      false,
					draggable:      false,
					editable:       false,
					geodesic:       true,
					strokeColour:   '#808080',
					strokeWeight:   1,
					path:           eddb1
				});


at the end

Code: Select all

				}
            }, this);
        });
    }
	

antonov124
Posts: 22
Joined: Wed Mar 16, 2016 10:21 am

Re: Owner of eddb8.mine gesucht ;)

Post by antonov124 » Sat Feb 25, 2017 10:46 am

Habe dir mal eine PM gesendet ;)

UA4WIY
Posts: 54
Joined: Mon Aug 29, 2016 7:41 pm

Re: Owner of eddb8.mine gesucht ;)

Post by UA4WIY » Sat Feb 25, 2017 1:33 pm

Thank you very much EDDB, I will try...

EDCJChemnitz
Posts: 3
Joined: Wed Jul 10, 2019 8:02 pm

Re: Owner of eddb8.mine gesucht ;)

Post by EDCJChemnitz » Wed Jul 10, 2019 8:07 pm

http://antonov124.ddns.net:88/virtualradar/desktop.html


Grüß dich vom Virtual Radar Server EDCJ Chemnitz/Jahnsdorf.
Ich suche den Betreiber von EDDC ( http://antonov124.ddns.net:88/virtualradar/desktop.html)

Melde dich mal bitte bei mir, ich würde gerne mit dir die Daten austauschen, wenn Interesse besteht kannst du mich sehr gerne anschreiben.

Handy: 0176/21445956
Mail: a.thiele@mail.ru








Liebe Grüße
Arend

Fotograf Photos of Design

Post Reply