| Recommend this page to a friend! | 
| Classes of Jakub Dubec | PHP GPX Library | docs/phpGPX-Models-GpxFile.md | Download | 
| 
 | |||||||||||||||||||||
|  Download phpGPX\Models\GpxFileClass GpxFile Representation of GPX file. 
 Properties$waypointsA list of waypoints. 
 $routesA list of routes. 
 $tracksA list of tracks. 
 $metadataMetadata about the file. The original GPX 1.1 attribute. 
 $extensions
 $creatorCreator of GPX file. 
 Methods__constructGpxFile constructor. 
 toArraySerialize object to array 
 toJSONReturn JSON representation of GPX file with statistics. 
 toXMLCreate XML representation of GPX file. 
 saveSave data to file according to selected format. 
 Arguments
 |