Import de GPX:erreur: Invalid geometry [RESOLU]

Import de GPX:erreur document.geometry.geom_detail: Invalid geometry

Bonjour,

j’essaye d’importer une trace gpx pour l’accès à la voie Camptocamp.org

J’obtiens l’erreur suivante :
document.geometry.geom_detail: Invalid geometry: {« type »:« MultiLineString »,« coordinates »:[[[757080.3948488899,5660123.993517769,1418.989990234375,1724591977],[757089.523047135,5660131.108297876,1420.8270263671875,1724591989],[757101.0000866358,5660125.859170673,1420.5899658203125,1724591997],[757107.5456726943,5660116.151455558,1420.1080322265625,1724592004],[757101.2449895155,5660106.538614444,1419.2509765625,1724592015],[757094.1984657483,5660096.135255227,1418.6259765625,1724592025],[757091.2484992424,5660084.799085731,1418.4110107421875,1724592032],[757084.8476285217,5660074.711962278,1418.116943359375,1724592042],[757090.3500505983,5660067.002825832,1418.031005859375,1724592048],[757097.4267309813,5660058.917257249,1417.9639892578125,1724592073],[757106.0094637215,5660051.091062344,1418.011962890625,1724592081],[757124.5664228366,5660034.474254964,1418.25,1724592092],[757128.807695436,5660023.549234705,1418.4520263671875,1724592097],[757135.843087254,5660012.924625723,1418.81201171875,1724592105],[757144.3145005034,5660003.675534386,1419.0670166015625,1724592110],[757151.0381977473,5659992.133946581,1419.4439697265625,1724592117],[757160.0216806544,5659967.880850133,1419.968017578125,1724592128],[757145.1271327862,5659949.066563576,1420.3609619140625,1724592138],[757146.7301334536,5659935.612001306,1420.552001953125,1724592146],[757152.5187469749,5659925.414373533,1420.7020263671875,1724592154],[757153.9547684062,5659913.446009652,1420.7869873046875,1724592161],[757151.9510175718,5659902.125880952,1420.8160400390625,1724592173]],[[757158.9530135428,5659905.272116409,1420.823974609375,1724592206]]]}

Le tracé semble bien être pris en compte dans l’affichage de la carte mais impossible d’enregistrer la modification.

Voici le fichier en question

track_20240825_151937_pur_et_simple.gpx (3,1 Ko)

Merci d’avance
[Edit modération : titre raccourci ]

La trace comporte 2 segments, le 2e comportant un seul point :

...
<trkpt lat="45.243277" lon="6.8016117">
<ele>1420.8160400390625</ele>
<time>2024-08-25T13:22:53Z</time>
</trkpt>
</trkseg>
<trkseg>
<trkpt lat="45.2432969" lon="6.8016746">
<ele>1420.823974609375</ele>
<time>2024-08-25T13:23:26Z</time>
</trkpt>
</trkseg>
</trk>
</gpx>

Supprime le 2e segment, ou fusionne le avec le 1er segment (selon si le point est utile ou non, je n’ai pas regardé sur une carte) :

...
<trkpt lat="45.243277" lon="6.8016117">
<ele>1420.8160400390625</ele>
<time>2024-08-25T13:22:53Z</time>
</trkpt>
<trkpt lat="45.2432969" lon="6.8016746">
<ele>1420.823974609375</ele>
<time>2024-08-25T13:23:26Z</time>
</trkpt>
</trkseg>
</trk>
</gpx>

Merci pour le conseil, ça fonctionne bien maintenant