Gpx
Salta a la navegació
Salta a la cerca
Tipus | família de formats de fitxer ![]() |
---|---|
Extensió | gpx ![]() |
MIME | application/gpx+xml ![]() |
Extensió de | Extensible Markup Language ![]() |
Més informació | |
Stack Exchange | Etiqueta ![]() |
Wiki del format de fitxer | GPX ![]() |
Lloc web | http://www.topografix.com/gpx.asp ![]() |
GPX, o GPS eXchange Format (Format d'Intercanvi GPS) és un esquema XML pensat per a transferir dades GPS entre aplicacions. Es pot usar per a descriure punts (waypoints), recorreguts (tracks), i rutes (routes).
Estructura[modifica]
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <gpx ...> Metadades <metadata> ... </metadata> Dades Exemples: Track Waypoint <trk> <wpt lat="#" lon="#"> <trkseg> <ele>#</ele> <trkpt lat="#" lon="#"> <name>...</name> <ele>#</ele> ... </trkpt> </wpt> <trkpt ...> <wpt ...> ... ... </trkpt> </wpt> </trkseg> <trkseg> <trkpt ...> ... </trkpt> </trkseg> ... </trk> Fi del fitxer </gpx>
Un exemple pot ser el següent:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <gpx xmlns="http://www.topografix.com/GPX/1/1" creator="byHand" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> <wpt lat="39.921055008" lon="3.054223107"> <ele>12.863281</ele> <time>2005-05-16T11:49:06Z</time> <name>Cala Sant Vicenç - Mallorca</name> <sym>City</sym> </wpt> </gpx>
Vegeu també[modifica]
- Exchangeable image file format
- Geography Markup Language
- Keyhole Markup Language, el format equivalent compatible amb Google Earth.
- UTC
Enllaços externs[modifica]
- Pàgina oficial de GPX
- Crea en línia i gratis fitxers GPX
- GPX POI - Base de dades de punts d'interés (POI) amb arxius GPX gratuïts.