Often just oem windows 7 serial a minor piece of technical advice will solve most software problems and it's important that your software run right. It helps, purchase windows 7 enterprise, in effective management of escrow accounts property REO for investors real estate transactions (purchase/sale lease deposits etc. If you windows 7 oem hash are credulous enough to run this program it just installs a Spyware instead of eliminating any.

Alder-Wiki
Anmelden 
Artikel  Diskussion  bearbeiten  Versionen 

Gps-output.php

aus Alderwiki, der freien Wissensdatenbank

<?php header("Content-Disposition: attachment; filename=wikilink.kml"); header("Content-type: application/kml"); echo '<?xml version="1.0" encoding="UTF-8"?>';

  1. input
  2. [Koordinaten]
  3. 1=50.864425;12.883594
  4. 2=50.864382;12.883766
  5. ....
  6. [Hoehenangaben]
  7. ....

// get the time $timesnap = date("Ymd H:i:s");

$auswahl=$_POST['auswahl']; $auswahl= str_replace(" ","",$auswahl); $auswahl= str_replace("\n",":",$auswahl); $auswahl= str_replace("\r","",$auswahl);

$tem=$auswahl;

$tem=strstr($tem,'[Koordinaten]'); $tem=str_replace('[Koordinaten]:',"",$tem);

$after=strstr($tem,':[Hoehenangaben]');

  1. echo "after: $after";
  2. echo "tem: $tem";

$tem=str_replace($after,"",$tem);

$tem = explode(":",$tem); $anzahl=count($tem);


foreach($tem as $neu) #Zerlegung in x[] un y[] {

$neu =strstr ($neu,'='); $neu =str_replace("=","" ,$neu);

$lon =strstr ($neu,';');

$lat =str_replace($lon,"",$neu);

$lon =str_replace(";","",$lon);

$coords.="$lon,$lat,0 \n";


}


?>

<kml xmlns="http://earth.google.com/kml/2.0"> <Placemark id="khPlacemark1368">

 <name><?php echo $timesnap; ?></name>
 <description>GPS-path</description>
 <LookAt id="khLookAt676">
   <longitude><?php echo $lon; ?></longitude>
   <latitude><?php echo $lat; ?></latitude>
   <range>597.61105910266</range>
   <tilt>44.61324882043339</tilt>
   <heading>4.947421249553717</heading>
 </LookAt>
 <styleUrl>#khStyle580</styleUrl>
 <Style id="khStyle677">
   <LineStyle id="khLineStyle681">
     <color>8700aaff</color>
     <width>10</width>
   </LineStyle>
 </Style>
 <LineString id="khLineString684">
   <tessellate>1</tessellate>
   <altitudeMode>relativeToGround</altitudeMode>
   <coordinates>

<?php echo $coords; ?>

  </coordinates>
 </LineString>

</Placemark> </kml>





MediaWiki