GpxToXmlTool

Ici, vous retrouverez les tutoriels créés par la communauté, pour vous aider à progresser. Si vous avez un problème, allez voir la FAQ où vous pourrez trouver votre solution !

Modérateur: Animateurs étapes

GpxToXmlTool

Messagepar Max Power » 09 Sep 2019, 19:34

Hi, I'm from the italian community.

I made this tool that can be create a road by a simple gpx file. It can create a realistic stage in few minutes and it's easy to use.
It was ispired spiritually by the old impish's GPStoXML_kickers, it can create a stage to pcm09 and older by a simple gpx file. Unfortunately it can work with pcm 10 and newests. I dreamed for years a tool that can be replace it. I had the idea in 2016, and i had working for two years. It's a 'naif' work, but it works fine. After one year of tests, it's depandable and precise.
It's compatible with pcm 15 and newest. There is a version specific with pcm 11 and 12.
It works only with microsoft excel :(

GpxToXmlTool 1.3.4 (11/09/2019) :
https://cdn.discordapp.com/attachments/ ... mlTool.xls
Modifié en dernier par Max Power le 11 Sep 2019, 17:44, modifié 1 fois.

Avatar de l’utilisateur
Max Power
Débutant
 
Messages: 6

Re: GpxToXmlTool

Messagepar Max Power » 09 Sep 2019, 19:37

Tutorial GpxToXmlTool
The GpxToXmlTool is a tool that allow to import to stage editor a road from a .gpx file. The road is congruent with e the original route, they has the same distance and altitude, despite 1:10 scale.
This tool works only with microsoft excel.
Image
(Monte Padrio, Trivigno, santa cristina)

Image
(Passo Cereda, Passo Duran, Passo Staulanza e Passo Fedaia)

First of all, macros must be activate in macro security setting:
https://support.office.com/en-us/articl ... 621e8fe373
Click 'GPX' to import the .gpx file, can be appear an error screen, just ignore it. Warning! gpx files from la-flamme-rouge.eu must be edit by a programme like wordpad. Just replace xml version="1.1" to xml version="1.0" and save.
As a result click to 'Calc' to create xml file. Import this file to stage editor, File - Import a road network. Close excel page before import xml file to stage editor.

Other tool:
Smooth height filter height of road points by a range, for example 400m.

Narrow hairpin: Tangled roads can create entangled Gordian knot:
Image

First of all choose two points:
Image

Find 2 points in excel columns Dist Game e Alt game , for example 1 point is around 125km and 900m, second point 130km and 1375:
Image
The 2 points must be in an even number line!
Write the exact distance of two points below narrow hairpin. Press 'Narrow' and 'Manual' to make a xml with a good road.
Image
Image
Modifié en dernier par Max Power le 09 Sep 2019, 20:31, modifié 1 fois.

Avatar de l’utilisateur
Max Power
Débutant
 
Messages: 6

Re: GpxToXmlTool

Messagepar Coach » 09 Sep 2019, 20:10

Great Tool :ok:

Avatar de l’utilisateur
Coach
Champion confirmé
 
Messages: 18049

Re: GpxToXmlTool

Messagepar Wings » 09 Sep 2019, 20:11

Very useful indeed, I'll try it out soon. Anyways there must be some drawbacks, notably for cobbled races, but that is anecdotal.

Avatar de l’utilisateur
Wings
Légende du Gruppetto
 
Messages: 48177
Localisation: Let me soar (AFFC II)

Re: GpxToXmlTool

Messagepar Max Power » 09 Sep 2019, 20:29

It can make more roads for a single gpx, i can make a little tutorial of this.

Avatar de l’utilisateur
Max Power
Débutant
 
Messages: 6

Re: GpxToXmlTool

Messagepar Wings » 09 Sep 2019, 21:10

Max Power a écrit:It can make more roads for a single gpx, i can make a little tutorial of this.

That would be great :ok:

Avatar de l’utilisateur
Wings
Légende du Gruppetto
 
Messages: 48177
Localisation: Let me soar (AFFC II)

Re: GpxToXmlTool

Messagepar Luckynot » 10 Sep 2019, 07:33

Nice work, I put it in the "Tutorial" section ;)

Avatar de l’utilisateur
Luckynot
Champion national
 
Messages: 5214
Localisation: En reportage entre Cannes et la Normandie

Re: GpxToXmlTool

Messagepar Max Power » 11 Sep 2019, 17:43

Tutorial: How to make more roads from a single gpx file.

Gpx files from site like leflammeorouge are very confortable, but In certain cases are needed more roads, for example cobblestone sectors, roads with different wide, circuits, crossroads ecc.
For example the Driedaagse Brugge-De Panne:
Image
Image

Import the gpx file and click to 'Data':
Image

The first cobbestone sector start in 23,4km. Scroll below 'Distot' column until 23,4 and cut all below it:
Image

and paste in a new excel page:
Image

Now you have to click to 'Calc' to create teh first 23,4km and save it with a name like 'depanne01'. Close and open Gpstoxmltool excel page and, cut and paste the 1,1km of first cobblestone sector below 'Lat' column:
Image
Image
Then press to 'Calc' to create the second road, and name it like 'depanne02'.
Repeat the procedure for any road you desire, and import any xml file to stage editor:
Image
Image

Avatar de l’utilisateur
Max Power
Débutant
 
Messages: 6

Re: GpxToXmlTool

Messagepar Wings » 12 Sep 2019, 13:03

I've tried your tool and unfortunately when opening the GPX it gives me a system error :?

Avatar de l’utilisateur
Wings
Légende du Gruppetto
 
Messages: 48177
Localisation: Let me soar (AFFC II)

Re: GpxToXmlTool

Messagepar Max Power » 12 Sep 2019, 16:25

Wings a écrit:I've tried your tool and unfortunately when opening the GPX it gives me a system error :?

laflammerouge file?

Avatar de l’utilisateur
Max Power
Débutant
 
Messages: 6

Re: GpxToXmlTool

Messagepar Wings » 12 Sep 2019, 17:51

Max Power a écrit:
Wings a écrit:I've tried your tool and unfortunately when opening the GPX it gives me a system error :?

laflammerouge file?

Nope, this error : "System Error &H80041020 (-2147217376)"

Edit : This only works for LFR tracks, Cronoescalada tracks work just fine for example

Avatar de l’utilisateur
Wings
Légende du Gruppetto
 
Messages: 48177
Localisation: Let me soar (AFFC II)

Re: GpxToXmlTool

Messagepar Sazee » 12 Sep 2019, 20:03

Faut changer un truc pour les gpx de Laflammerouge

Avatar de l’utilisateur
Sazee
Maillot à pois
 
Messages: 3894
Localisation: Ici c'est la Paillade

Re: GpxToXmlTool

Messagepar paolos » 12 Mar 2020, 23:13

Wings a écrit:I've tried your tool and unfortunately when opening the GPX it gives me a system error :?

Moi aussi j'ai la même erreur quand je veux lancer la flamme rouge!
Est-ce que qq sait se qu'il faut faire?
merci a ce lui qui répondra :heureux:

paolos
Débutant
 
Messages: 11


13 messages
Retourner vers Tutoriels

Qui est en ligne

Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 1 invité