Altitude data not present.

More
3 months 2 days ago - 3 months 2 days ago #15938 by ali-d
Altitude data not present. was created by ali-d
Hello, I am discovering ZH OpenStreetMap. I am very happy. After spending a lot of time understanding how it works.
I will continue to explore ZH OpenStreetMap.Well, as we generally don't come to a forum just to congratulate the developers, I come with my little problems.
The problem that bothers me the most is the size of the map. I haven't found how to make the map 100% of its parent rather than defining a size in pixels.
The second problem is the altitude under the map. It does not return the values, there I think it's a bug because on the Décathlon website, this same file is well interpreted with the elevation values. Here is the site to see the problem:  w.alid.fr/blog/index.php/parcours/routine-j1?view=map&id=2&mapzoom=14&externalmarkerlink=0

Merci beaucoup.
Last edit: 3 months 2 days ago by ali-d.

Please Log in or Create an account to join the conversation.

More
3 months 2 days ago - 3 months 2 days ago #15941 by Dima
Replied by Dima on topic Altitude data not present.
Hi
In your GPX file there is no elements ele, which should contain elevation data
Only lat|lng data

Look at your file
 

I parse file and look that tag

Don't forget support my developments: post review in JED , donate , help with translation ;)
  • Last edit: 3 months 2 days ago by Dima.

    Please Log in or Create an account to join the conversation.

    More
    3 months 2 days ago #15943 by ali-d
    Replied by ali-d on topic Altitude data not present.
      Thank you for your quick response.
    I don't understand how the Decathlon platform manages to display the elevations.

    I think it comes from the mode of transaction.
    In one case, it's the application that transmits the data, and in the other case, it's an export from the application to the PC of the data into a GPX file.

    Sorry, I didn't think to check the file.
  • Please Log in or Create an account to join the conversation.

    More
    3 months 1 day ago #15949 by Dima
    Replied by Dima on topic Altitude data not present.
    Google has elevation service, it has elevation data, and service can consume it and display this information

    Don't forget support my developments: post review in JED , donate , help with translation ;)
    The following user(s) said Thank You: ali-d

    Please Log in or Create an account to join the conversation.

    More
    2 months 4 weeks ago - 2 months 4 weeks ago #15961 by ali-d
    Replied by ali-d on topic Altitude data not present.
    Thank you for this information. I didn't know how that was possible.

    And regarding the possibility of sizing the map in % rather than Px for the responsive side of the site?
    Last edit: 2 months 4 weeks ago by ali-d.

    Please Log in or Create an account to join the conversation.

    More
    2 months 3 weeks ago #15985 by Dima
    Replied by Dima on topic Altitude data not present.
    Hi
    For size: you can enter 0 for width, and will get 100%

    As for height - you can do the same, but modern templates have nested divs, and 100% of height collapse nested, because all parent divs need to have height for not collapsing

    Don't forget support my developments: post review in JED , donate , help with translation ;)

    Please Log in or Create an account to join the conversation.

    Time to create page: 0.215 seconds
    Powered by Kunena Forum