Hallo,

Ik wil in een gpx file gaan lezen vanaf een bepaalde plaats(vb waar telkens <wpt begint) , daar maak ik dan een file van fread($fopen, 3800); met deze grootte, daarna moet er terug gezocht worden naar <wpt om terug een file van 3800 van te maken.

Ziet iemand dit zitten om hier een klein voorbeeld van te geven ?
Als je wil kan ik altijd de gpx aan iemand laten geworden.(blijkbaar kan ik hier geen file doorsturen)

Met dank op voorhand
>> Hoe kan ik u dat opsturen ?

Ariën bedoelt dat je een stukje uit het bestand kopieert en vervolgens hier plakt.
hier is een stukje :

<?xml version="1.0" encoding="utf-8"?>
<gpx xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="1.0" creator="GSAK"
xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd http://www.groundspeak.com/cache/1/0/1 http://www.groundspeak.com/cache/1/0/1/cache.xsd"
xmlns="http://www.topografix.com/GPX/1/0">
 <desc>Geocache file generated by GSAK</desc>
 <author>GSAK</author>
 <email>[email protected]</email>
 <time>2023-02-17T10:29:25Z</time>
 <keywords>cache, geocache, groundspeak</keywords>
 <bounds minlat="47.799367" minlon="6.4509" maxlat="54.782533" maxlon="14.788783"/>
 <wpt lat="51.313983" lon="6.4509">
  <time>2017-05-24T08:00:00Z</time>
  <name>GC764N6</name>
  <desc>#9 Angelr(o)ute by RebDeb (5/1)</desc>
  <url>http://coord.info/GC764N6</url>
  <urlname>#9 Angelr(o)ute by RebDeb</urlname>
  <sym>Geocache</sym>
  <type>Geocache|Wherigo Cache</type>
  <groundspeak:cache id="6236774" available="True" archived="False" xmlns:groundspeak="http://www.groundspeak.com/cache/1/0/1">
   <groundspeak:name>#9 Angelr(o)ute</groundspeak:name>
   <groundspeak:placed_by>RebDeb</groundspeak:placed_by>
   <groundspeak:owner id="3302289">RebDeb</groundspeak:owner>
   <groundspeak:type>Wherigo Cache</groundspeak:type>
   <groundspeak:container>Micro</groundspeak:container>
   <groundspeak:attributes>
     <groundspeak:attribute id="1" inc="1">Dogs</groundspeak:attribute>
     <groundspeak:attribute id="14" inc="0">Recommended at night</groundspeak:attribute>
     <groundspeak:attribute id="24" inc="1">Wheelchair accessible</groundspeak:attribute>
     <groundspeak:attribute id="32" inc="1">Bicycles</groundspeak:attribute>
     <groundspeak:attribute id="33" inc="0">Motorcycles</groundspeak:attribute>
     <groundspeak:attribute id="34" inc="0">Quads</groundspeak:attribute>
     <groundspeak:attribute id="35" inc="0">Off-road vehicles</groundspeak:attribute>
     <groundspeak:attribute id="41" inc="1">Stroller accessible</groundspeak:attribute>
     <groundspeak:attribute id="42" inc="1">Needs maintenance</groundspeak:attribute>
     <groundspeak:attribute id="51" inc="1">Special Tool Required</groundspeak:attribute>
     <groundspeak:attribute id="64" inc="0">Tree Climbing</groundspeak:attribute>
   </groundspeak:attributes>
   <groundspeak:difficulty>5</groundspeak:difficulty>
   <groundspeak:terrain>1</groundspeak:terrain>
   <groundspeak:country>Germany</groundspeak:country>
   <groundspeak:state>Nordrhein-Westfalen</groundspeak:state>
   <groundspeak:short_description html="True">&lt;center&gt;&lt;img src="https://s3.amazonaws.com/gs-geo-images/229efd77-1982-4542-8f55-8f9719773411.gif" alt width="32" height="33" /&gt; &lt;span style="font-size:large;color:#0000ff;"&gt;&lt;strong&gt;&lt;em&gt;The Reverse Cache Box-Rätsel Cache&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; &lt;img src="https://s3.amazonaws.com/gs-geo-images/229efd77-1982-4542-8f55-8f9719773411.gif" alt width="32" height="33" /&gt;&lt;/center&gt;</groundspeak:short_description>
   <groundspeak:long_description html="True">&lt;center&gt;&lt;span&gt;&lt;span style="font-size:x-large;color:#ff0000;"&gt;&lt;strong&gt;Achtung !! Dies ist KEIN Klettercache !!!!&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Dies ist ein Reverse Cache. Er befindet sich nicht an den angegebenen Koordinaten. Beginnen könnt ihr von überall auf der Welt! Ihr seid im Besitz einer virtuellen "Reverse-Cache-Box", welche euch keine Koordinaten sondern nur die Entfernung zum Final/Geocache anzeigt. Aufgabe ist es, die Entfernung so selten wie möglich zu erfragen und den Geocache nur mit Hilfe dieser Entfernungsangaben zu finden. Für diesen Cache benötigt ihr ein Wherigo-fähiges GPS-Gerät oder Smartphone.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/strong&gt;
&lt;center&gt;&lt;strong&gt;&lt;a href="http://www.wherigo.com/cartridge/details.aspx?CGUID=dcdcd2ff-c171-4487-93bc-678f6d03ac4f"&gt;Hier gibt es die Cartridge zum Download&lt;/a&gt;&lt;/strong&gt;&lt;/center&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;center&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Um das Spiel zu starten benötigt ihr noch folgende Codes: Die Ihr &lt;a href="http://rebdeb.bplaced.net/Angelroute/9/9.htm"&gt;Hier&lt;/a&gt; findet!&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/center&gt;
&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;span style="font-size:medium;"&gt;Wie bei allen anderen "Angel-Caches" auch, geht es hier nicht nur darum, die Dose zu finden, zu "bergen" und sich ins Logbuch einzutragen, sondern auch darum, sie wieder genau dahin zu hängen, wo sie vorher auch war. !&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;span style="font-size:medium;"&gt;Ein Hinweis noch, damit ihr hier nicht mit "zu kurzem" Werkzeug anreist:&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Die Dose hängt in etwas mehr als 8 m Höhe! So, nun viel Spass beim Angeln!&lt;/span&gt;&lt;/strong&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;font size="+1"&gt;&lt;br /&gt;&lt;/font&gt;Vielen Dank an &lt;a href="http://www.geocaching.com/profile/?guid=34e72530-db09-4460-8d37-cacc04fdb981" target="_blank" rel="noopener noreferrer"&gt;-Waldmeister-&lt;/a&gt; &lt;a name="-Waldmeister-"&gt;&lt;img title="Add User -Waldmeister- to VIP-List" border="0" /&gt;&lt;/a&gt;fürs erstellen dieser Cartridge&lt;br /&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align:left;"&gt;Spoiler:&lt;/p&gt;
&lt;p style="text-align:left;"&gt;&lt;img src="http://rebdeb.bplaced.net/Angelroute/spoiler.jpg" alt width="161" height="102" /&gt;&lt;/p&gt;</groundspeak:long_description>
    <groundspeak:encoded_hints></groundspeak:encoded_hints>
   <groundspeak:logs>
  </groundspeak:logs>
   <groundspeak:travelbugs>
   </groundspeak:travelbugs>
</groundspeak:cache>
</wpt>
 <wpt lat="51.314767" lon="6.453617">
  <time>2017-05-24T08:00:00Z</time>
  <name>GC764N3</name>
  <desc>#8 Angelr(o)ute by RebDeb (5/1)</desc>
  <url>http://coord.info/GC764N3</url>
  <urlname>#8 Angelr(o)ute by RebDeb</urlname>
  <sym>Geocache</sym>
  <type>Geocache|Wherigo Cache</type>
  <groundspeak:cache id="6236771" available="True" archived="False" xmlns:groundspeak="http://www.groundspeak.com/cache/1/0/1">
   <groundspeak:name>#8 Angelr(o)ute</groundspeak:name>
   <groundspeak:placed_by>RebDeb</groundspeak:placed_by>
   <groundspeak:owner id="3302289">RebDeb</groundspeak:owner>
   <groundspeak:type>Wherigo Cache</groundspeak:type>
   <groundspeak:container>Micro</groundspeak:container>
   <groundspeak:attributes>
     <groundspeak:attribute id="1" inc="1">Dogs</groundspeak:attribute>
     <groundspeak:attribute id="14" inc="0">Recommended at night</groundspeak:attribute>
     <groundspeak:attribute id="24" inc="1">Wheelchair accessible</groundspeak:attribute>
     <groundspeak:attribute id="32" inc="1">Bicycles</groundspeak:attribute>
     <groundspeak:attribute id="33" inc="0">Motorcycles</groundspeak:attribute>
     <groundspeak:attribute id="34" inc="0">Quads</groundspeak:attribute>
     <groundspeak:attribute id="35" inc="0">Off-road vehicles</groundspeak:attribute>
     <groundspeak:attribute id="41" inc="1">Stroller accessible</groundspeak:attribute>
     <groundspeak:attribute id="42" inc="1">Needs maintenance</groundspeak:attribute>
     <groundspeak:attribute id="51" inc="1">Special Tool Required</groundspeak:attribute>
     <groundspeak:attribute id="64" inc="0">Tree Climbing</groundspeak:attribute>
   </groundspeak:attributes>
   <groundspeak:difficulty>5</groundspeak:difficulty>
   <groundspeak:terrain>1</groundspeak:terrain>
   <groundspeak:country>Germany</groundspeak:country>
   <groundspeak:state>Nordrhein-Westfalen</groundspeak:state>
   <groundspeak:short_description html="True">&lt;center&gt;&lt;img src="https://s3.amazonaws.com/gs-geo-images/229efd77-1982-4542-8f55-8f9719773411.gif" alt width="32" height="33" /&gt; &lt;span style="font-size:large;color:#0000ff;"&gt;&lt;strong&gt;&lt;em&gt;The Reverse Cache Box-Rätsel Cache&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; &lt;img src="https://s3.amazonaws.com/gs-geo-images/229efd77-1982-4542-8f55-8f9719773411.gif" alt width="32" height="33" /&gt;&lt;/center&gt;</groundspeak:short_description>
   <groundspeak:long_description html="True">&lt;center&gt;&lt;span&gt;&lt;span style="font-size:x-large;color:#ff0000;"&gt;&lt;strong&gt;Achtung !! Dies ist KEIN Klettercache !!!!&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Dies ist ein Reverse Cache. Er befindet sich nicht an den angegebenen Koordinaten. Beginnen könnt ihr von überall auf der Welt! Ihr seid im Besitz einer virtuellen "Reverse-Cache-Box", welche euch keine Koordinaten sondern nur die Entfernung zum Final/Geocache anzeigt. Aufgabe ist es, die Entfernung so selten wie möglich zu erfragen und den Geocache nur mit Hilfe dieser Entfernungsangaben zu finden. Für diesen Cache benötigt ihr ein Wherigo-fähiges GPS-Gerät oder Smartphone.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/strong&gt;
&lt;center&gt;&lt;strong&gt;&lt;a href="http://www.wherigo.com/cartridge/details.aspx?CGUID=dcdcd2ff-c171-4487-93bc-678f6d03ac4f"&gt;Hier gibt es die Cartridge zum Download&lt;/a&gt;&lt;/strong&gt;&lt;/center&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;center&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Um das Spiel zu starten benötigt ihr noch folgende Codes: Die Ihr &lt;a href="http://rebdeb.bplaced.net/Angelroute/8/8.htm"&gt;Hier&lt;/a&gt; findet!&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/center&gt;
&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;span style="font-size:medium;"&gt;Wie bei allen anderen "Angel-Caches" auch, geht es hier nicht nur darum, die Dose zu finden, zu "bergen" und sich ins Logbuch einzutragen, sondern auch darum, sie wieder genau dahin zu hängen, wo sie vorher auch war. !&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;span style="font-size:medium;"&gt;Ein Hinweis noch, damit ihr hier nicht mit "zu kurzem" Werkzeug anreist:&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Die Dose hängt in etwas mehr als 8 m Höhe! So, nun viel Spass beim Angeln!&lt;/span&gt;&lt;/strong&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;font size="+1"&gt;&lt;br /&gt;&lt;/font&gt;Vielen Dank an &lt;a href="http://www.geocaching.com/profile/?guid=34e72530-db09-4460-8d37-cacc04fdb981" target="_blank" rel="noopener noreferrer"&gt;-Waldmeister-&lt;/a&gt; &lt;a name="-Waldmeister-"&gt;&lt;img title="Add User -Waldmeister- to VIP-List" border="0" /&gt;&lt;/a&gt;fürs erstellen dieser Cartridge&lt;br /&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align:left;"&gt;Spoiler:&lt;/p&gt;
&lt;p style="text-align:left;"&gt;&lt;img src="http://rebdeb.bplaced.net/Angelroute/spoiler.jpg" alt width="161" height="102" /&gt;&lt;/p&gt;</groundspeak:long_description>
    <groundspeak:encoded_hints></groundspeak:encoded_hints>
   <groundspeak:logs>
  </groundspeak:logs>
   <groundspeak:travelbugs>
   </groundspeak:travelbugs>
</groundspeak:cache>
</wpt>
 <wpt lat="51.315617" lon="6.4566">
  <time>2017-05-24T08:00:00Z</time>
  <name>GC764N1</name>
  <desc>#7 Angelr(o)ute by RebDeb (5/1)</desc>
  <url>http://coord.info/GC764N1</url>
  <urlname>#7 Angelr(o)ute by RebDeb</urlname>
  <sym>Geocache</sym>
  <type>Geocache|Wherigo Cache</type>
  <groundspeak:cache id="6236769" available="True" archived="False" xmlns:groundspeak="http://www.groundspeak.com/cache/1/0/1">
   <groundspeak:name>#7 Angelr(o)ute</groundspeak:name>
   <groundspeak:placed_by>RebDeb</groundspeak:placed_by>
   <groundspeak:owner id="3302289">RebDeb</groundspeak:owner>
   <groundspeak:type>Wherigo Cache</groundspeak:type>
   <groundspeak:container>Micro</groundspeak:container>
   <groundspeak:attributes>
     <groundspeak:attribute id="1" inc="1">Dogs</groundspeak:attribute>
     <groundspeak:attribute id="14" inc="0">Recommended at night</groundspeak:attribute>
     <groundspeak:attribute id="24" inc="1">Wheelchair accessible</groundspeak:attribute>
     <groundspeak:attribute id="32" inc="1">Bicycles</groundspeak:attribute>
     <groundspeak:attribute id="33" inc="0">Motorcycles</groundspeak:attribute>
     <groundspeak:attribute id="34" inc="0">Quads</groundspeak:attribute>
     <groundspeak:attribute id="35" inc="0">Off-road vehicles</groundspeak:attribute>
     <groundspeak:attribute id="41" inc="1">Stroller accessible</groundspeak:attribute>
     <groundspeak:attribute id="42" inc="1">Needs maintenance</groundspeak:attribute>
     <groundspeak:attribute id="51" inc="1">Special Tool Required</groundspeak:attribute>
     <groundspeak:attribute id="64" inc="0">Tree Climbing</groundspeak:attribute>
   </groundspeak:attributes>
   <groundspeak:difficulty>5</groundspeak:difficulty>
   <groundspeak:terrain>1</groundspeak:terrain>
   <groundspeak:country>Germany</groundspeak:country>
   <groundspeak:state>Nordrhein-Westfalen</groundspeak:state>
   <groundspeak:short_description html="True">&lt;center&gt;&lt;img src="https://s3.amazonaws.com/gs-geo-images/229efd77-1982-4542-8f55-8f9719773411.gif" alt width="32" height="33" /&gt; &lt;span style="font-size:large;color:#0000ff;"&gt;&lt;strong&gt;&lt;em&gt;The Reverse Cache Box-Rätsel Cache&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; &lt;img src="https://s3.amazonaws.com/gs-geo-images/229efd77-1982-4542-8f55-8f9719773411.gif" alt width="32" height="33" /&gt;&lt;/center&gt;</groundspeak:short_description>
   <groundspeak:long_description html="True">&lt;center&gt;&lt;span&gt;&lt;span style="font-size:x-large;color:#ff0000;"&gt;&lt;strong&gt;Achtung !! Dies ist KEIN Klettercache !!!!&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Dies ist ein Reverse Cache. Er befindet sich nicht an den angegebenen Koordinaten. Beginnen könnt ihr von überall auf der Welt! Ihr seid im Besitz einer virtuellen "Reverse-Cache-Box", welche euch keine Koordinaten sondern nur die Entfernung zum Final/Geocache anzeigt. Aufgabe ist es, die Entfernung so selten wie möglich zu erfragen und den Geocache nur mit Hilfe dieser Entfernungsangaben zu finden. Für diesen Cache benötigt ihr ein Wherigo-fähiges GPS-Gerät oder Smartphone.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/strong&gt;
&lt;center&gt;&lt;strong&gt;&lt;a href="http://www.wherigo.com/cartridge/details.aspx?CGUID=dcdcd2ff-c171-4487-93bc-678f6d03ac4f"&gt;Hier gibt es die Cartridge zum Download&lt;/a&gt;&lt;/strong&gt;&lt;/center&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;center&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Um das Spiel zu starten benötigt ihr noch folgende Codes: Die Ihr &lt;a href="http://rebdeb.bplaced.net/Angelroute/7/7.htm"&gt;Hier&lt;/a&gt; findet!&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/center&gt;
&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;span style="font-size:medium;"&gt;Wie bei allen anderen "Angel-Caches" auch, geht es hier nicht nur darum, die Dose zu finden, zu "bergen" und sich ins Logbuch einzutragen, sondern auch darum, sie wieder genau dahin zu hängen, wo sie vorher auch war. !&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;span style="font-size:medium;"&gt;Ein Hinweis noch, damit ihr hier nicht mit "zu kurzem" Werkzeug anreist:&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Die Dose hängt in etwas mehr als 8 m Höhe! So, nun viel Spass beim Angeln!&lt;/span&gt;&lt;/strong&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;font size="+1"&gt;&lt;br /&gt;&lt;/font&gt;Vielen Dank an &lt;a href="http://www.geocaching.com/profile/?guid=34e72530-db09-4460-8d37-cacc04fdb981" target="_blank" rel="noopener noreferrer"&gt;-Waldmeister-&lt;/a&gt; &lt;a name="-Waldmeister-"&gt;&lt;img title="Add User -Waldmeister- to VIP-List" border="0" /&gt;&lt;/a&gt;fürs erstellen dieser Cartridge&lt;br /&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align:left;"&gt;Spoiler:&lt;/p&gt;
&lt;p style="text-align:left;"&gt;&lt;img src="http://rebdeb.bplaced.net/Angelroute/spoiler.jpg" alt width="161" height="102" /&gt;&lt;/p&gt;</groundspeak:long_description>
    <groundspeak:encoded_hints>Nach dem Unwetter am 15.06.2017,mussten wir feststellen,dass hier kein Baum mehr steht.
Der Petling hängt jetzt im nächsten Baum in südwestlicher Richtung.
oder peilt: 245°  in 58m</groundspeak:encoded_hints>
   <groundspeak:logs>
  </groundspeak:logs>
   <groundspeak:travelbugs>
   </groundspeak:travelbugs>
</groundspeak:cache>
</wpt>
 <wpt lat="51.316333" lon="6.4589">
  <time>2017-05-24T08:00:00Z</time>
  <name>GC764MZ</name>
  <desc>#6 Angelr(o)ute by RebDeb (5/1)</desc>
  <url>http://coord.info/GC764MZ</url>
  <urlname>#6 Angelr(o)ute by RebDeb</urlname>
  <sym>Geocache</sym>
  <type>Geocache|Wherigo Cache</type>
  <groundspeak:cache id="6236767" available="True" archived="False" xmlns:groundspeak="http://www.groundspeak.com/cache/1/0/1">
   <groundspeak:name>#6 Angelr(o)ute</groundspeak:name>
   <groundspeak:placed_by>RebDeb</groundspeak:placed_by>
   <groundspeak:owner id="3302289">RebDeb</groundspeak:owner>
   <groundspeak:type>Wherigo Cache</groundspeak:type>
   <groundspeak:container>Micro</groundspeak:container>
   <groundspeak:attributes>
     <groundspeak:attribute id="1" inc="1">Dogs</groundspeak:attribute>
     <groundspeak:attribute id="14" inc="0">Recommended at night</groundspeak:attribute>
     <groundspeak:attribute id="24" inc="1">Wheelchair accessible</groundspeak:attribute>
     <groundspeak:attribute id="32" inc="1">Bicycles</groundspeak:attribute>
     <groundspeak:attribute id="33" inc="0">Motorcycles</groundspeak:attribute>
     <groundspeak:attribute id="34" inc="0">Quads</groundspeak:attribute>
     <groundspeak:attribute id="35" inc="0">Off-road vehicles</groundspeak:attribute>
     <groundspeak:attribute id="41" inc="1">Stroller accessible</groundspeak:attribute>
     <groundspeak:attribute id="42" inc="1">Needs maintenance</groundspeak:attribute>
     <groundspeak:attribute id="51" inc="1">Special Tool Required</groundspeak:attribute>
     <groundspeak:attribute id="64" inc="0">Tree Climbing</groundspeak:attribute>
   </groundspeak:attributes>
   <groundspeak:difficulty>5</groundspeak:difficulty>
   <groundspeak:terrain>1</groundspeak:terrain>
   <groundspeak:country>Germany</groundspeak:country>
   <groundspeak:state>Nordrhein-Westfalen</groundspeak:state>
   <groundspeak:short_description html="True">&lt;center&gt;&lt;img src="https://s3.amazonaws.com/gs-geo-images/229efd77-1982-4542-8f55-8f9719773411.gif" alt width="32" height="33" /&gt; &lt;span style="font-size:large;color:#0000ff;"&gt;&lt;strong&gt;&lt;em&gt;The Reverse Cache Box-Rätsel Cache&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; &lt;img src="https://s3.amazonaws.com/gs-geo-images/229efd77-1982-4542-8f55-8f9719773411.gif" alt width="32" height="33" /&gt;&lt;/center&gt;</groundspeak:short_description>
   <groundspeak:long_description html="True">&lt;center&gt;&lt;span&gt;&lt;span style="font-size:x-large;color:#ff0000;"&gt;&lt;strong&gt;Achtung !! Dies ist KEIN Klettercache !!!!&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Dies ist ein Reverse Cache. Er befindet sich nicht an den angegebenen Koordinaten. Beginnen könnt ihr von überall auf der Welt! Ihr seid im Besitz einer virtuellen "Reverse-Cache-Box", welche euch keine Koordinaten sondern nur die Entfernung zum Final/Geocache anzeigt. Aufgabe ist es, die Entfernung so selten wie möglich zu erfragen und den Geocache nur mit Hilfe dieser Entfernungsangaben zu finden. Für diesen Cache benötigt ihr ein Wherigo-fähiges GPS-Gerät oder Smartphone.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/strong&gt;
&lt;center&gt;&lt;strong&gt;&lt;a href="http://www.wherigo.com/cartridge/details.aspx?CGUID=dcdcd2ff-c171-4487-93bc-678f6d03ac4f"&gt;Hier gibt es die Cartridge zum Download&lt;/a&gt;&lt;/strong&gt;&lt;/center&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;center&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Um das Spiel zu starten benötigt ihr noch folgende Codes: Die Ihr &lt;a href="http://rebdeb.bplaced.net/Angelroute/6/6.htm"&gt;Hier&lt;/a&gt; findet!&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/center&gt;
&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;span style="font-size:medium;"&gt;Wie bei allen anderen "Angel-Caches" auch, geht es hier nicht nur darum, die Dose zu finden, zu "bergen" und sich ins Logbuch einzutragen, sondern auch darum, sie wieder genau dahin zu hängen, wo sie vorher auch war. !&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;span style="font-size:medium;"&gt;Ein Hinweis noch, damit ihr hier nicht mit "zu kurzem" Werkzeug anreist:&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Die Dose hängt in etwas mehr als 8 m Höhe! So, nun viel Spass beim Angeln!&lt;/span&gt;&lt;/strong&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;font size="+1"&gt;&lt;br /&gt;&lt;/font&gt;Vielen Dank an &lt;a href="http://www.geocaching.com/profile/?guid=34e72530-db09-4460-8d37-cacc04fdb981" target="_blank" rel="noopener noreferrer"&gt;-Waldmeister-&lt;/a&gt; &lt;a name="-Waldmeister-"&gt;&lt;img title="Add User -Waldmeister- to VIP-List" border="0" /&gt;&lt;/a&gt;fürs erstellen dieser Cartridge&lt;br /&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align:left;"&gt;Spoiler:&lt;/p&gt;
&lt;p style="text-align:left;"&gt;&lt;img src="http://rebdeb.bplaced.net/Angelroute/spoiler.jpg" alt width="161" height="102" /&gt;&lt;/p&gt;</groundspeak:long_description>
    <groundspeak:encoded_hints></groundspeak:encoded_hints>
   <groundspeak:logs>
  </groundspeak:logs>
   <groundspeak:travelbugs>
   </groundspeak:travelbugs>
</groundspeak:cache>
</wpt>
 <wpt lat="51.3178" lon="6.463933">
  <time>2017-05-24T08:00:00Z</time>
  <name>GC764MV</name>
  <desc>#4 Angelr(o)ute by RebDeb (5/1)</desc>
  <url>http://coord.info/GC764MV</url>
  <urlname>#4 Angelr(o)ute by RebDeb</urlname>
  <sym>Geocache</sym>
  <type>Geocache|Wherigo Cache</type>
  <groundspeak:cache id="6236763" available="True" archived="False" xmlns:groundspeak="http://www.groundspeak.com/cache/1/0/1">
   <groundspeak:name>#4 Angelr(o)ute</groundspeak:name>
   <groundspeak:placed_by>RebDeb</groundspeak:placed_by>
   <groundspeak:owner id="3302289">RebDeb</groundspeak:owner>
   <groundspeak:type>Wherigo Cache</groundspeak:type>
   <groundspeak:container>Micro</groundspeak:container>
   <groundspeak:attributes>
     <groundspeak:attribute id="1" inc="1">Dogs</groundspeak:attribute>
     <groundspeak:attribute id="14" inc="0">Recommended at night</groundspeak:attribute>
     <groundspeak:attribute id="24" inc="1">Wheelchair accessible</groundspeak:attribute>
     <groundspeak:attribute id="32" inc="1">Bicycles</groundspeak:attribute>
     <groundspeak:attribute id="33" inc="0">Motorcycles</groundspeak:attribute>
     <groundspeak:attribute id="34" inc="0">Quads</groundspeak:attribute>
     <groundspeak:attribute id="35" inc="0">Off-road vehicles</groundspeak:attribute>
     <groundspeak:attribute id="41" inc="1">Stroller accessible</groundspeak:attribute>
     <groundspeak:attribute id="42" inc="1">Needs maintenance</groundspeak:attribute>
     <groundspeak:attribute id="51" inc="1">Special Tool Required</groundspeak:attribute>
     <groundspeak:attribute id="64" inc="0">Tree Climbing</groundspeak:attribute>
   </groundspeak:attributes>
   <groundspeak:difficulty>5</groundspeak:difficulty>
   <groundspeak:terrain>1</groundspeak:terrain>
   <groundspeak:country>Germany</groundspeak:country>
   <groundspeak:state>Nordrhein-Westfalen</groundspeak:state>
   <groundspeak:short_description html="True">&lt;center&gt;&lt;img src="https://s3.amazonaws.com/gs-geo-images/229efd77-1982-4542-8f55-8f9719773411.gif" alt width="32" height="33" /&gt; &lt;span style="font-size:large;color:#0000ff;"&gt;&lt;strong&gt;&lt;em&gt;The Reverse Cache Box-Rätsel Cache&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; &lt;img src="https://s3.amazonaws.com/gs-geo-images/229efd77-1982-4542-8f55-8f9719773411.gif" alt width="32" height="33" /&gt;&lt;/center&gt;</groundspeak:short_description>
   <groundspeak:long_description html="True">&lt;center&gt;&lt;span&gt;&lt;span style="font-size:x-large;color:#ff0000;"&gt;&lt;strong&gt;Achtung !! Dies ist KEIN Klettercache !!!!&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Dies ist ein Reverse Cache. Er befindet sich nicht an den angegebenen Koordinaten. Beginnen könnt ihr von überall auf der Welt! Ihr seid im Besitz einer virtuellen "Reverse-Cache-Box", welche euch keine Koordinaten sondern nur die Entfernung zum Final/Geocache anzeigt. Aufgabe ist es, die Entfernung so selten wie möglich zu erfragen und den Geocache nur mit Hilfe dieser Entfernungsangaben zu finden. Für diesen Cache benötigt ihr ein Wherigo-fähiges GPS-Gerät oder Smartphone.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/strong&gt;
&lt;center&gt;&lt;strong&gt;&lt;a href="http://www.wherigo.com/cartridge/details.aspx?CGUID=dcdcd2ff-c171-4487-93bc-678f6d03ac4f"&gt;Hier gibt es die Cartridge zum Download&lt;/a&gt;&lt;/strong&gt;&lt;/center&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;center&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;Um das Spiel zu starten benötigt ihr noch folgende Codes: Die Ihr &lt;a href="http://rebdeb.bplaced.net/Angelroute/4/4.htm"&gt;Hier&lt;/a&gt; findet!&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/center&gt;
&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;
&lt;p style="text-align:center;"&gt;&lt;strong&gt;&lt;span style="font-size:medium;"&gt;&lt;span
Ik geloof dat dit niet alles is? Ik zie de tags niet beëindigd worden. Graag volledig maar beperkt (dus geen honderden regels) tussen codetags.
Maar kan je wat met de gegeven tool die ik noemde?Zo te zien kan je de data makkelijk uitlezen.
met de opgeven tool ben ik niks.
voldoet niet aan de eisen , ben momenteel bezig met

while(! feof($filenam))
{
$searchfor = '<wpt';


$contents = file_get_contents($file);


$pattern = preg_quote($searchfor, '/');


$pattern = "/^.*$pattern.*\$/m";


if(preg_match_all($pattern, $contents, $matches)){
echo "Found matches:\n";
}
}
Waarom geen SimpleXML, of de net genoemde van Surfoo?
omdat dit gpx'en zijn die gemaakt zijn door Gsak.

Reageren