Elevation from GPX
- Dima
- 
            
				  
- Offline
- Platinum Member
- 
              
        Less
        More
        
    
        
            
        
                5 years 7 months ago                #13244
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation 
        
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Elevation from GPX            
    
        I remove file of last version and JED unpublish my extension until I'll fix.
I fixed and I hope they publish me again during this week. Or next. Just wait then write
As for batch.
You can easy update my table with paths and set internal parser and enable elevation. All other fields will be by default.
If you need I can write example
            I fixed and I hope they publish me again during this week. Or next. Just wait then write

As for batch.
You can easy update my table with paths and set internal parser and enable elevation. All other fields will be by default.
If you need I can write example
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.
- lifeintravel
- Topic Author
- Offline
- Junior Member
- 
              
        Less
        More
        
            
    
        - Posts: 28
- Thank you received: 0
            
        
                5 years 7 months ago                #13245
        by lifeintravel
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by lifeintravel on topic Elevation from GPX            
    
        Ok, i will wait until next week then!
As for batch: do you mean inside the database? Could you please explain a bit further?
Thanks a lot.
    As for batch: do you mean inside the database? Could you please explain a bit further?
Thanks a lot.
Please Log in or Create an account to join the conversation.
- Dima
- 
            
				  
- Offline
- Platinum Member
- 
              
            
        
                5 years 7 months ago         -  5 years 7 months ago        #13246
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation 
        
    
    
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Elevation from GPX            
    
        OK. Go to your database panel, for example phpMyAdmin
Select your database.
and after that open SQL window and paste this line
but your table will have the other prefix, (table demo_zhosmmaps_paths), ie prefix demo
and execute it.
In this case all paths, which have defined GPX type and have URL for GPX file will change type to GPX (Internal parser) and Elevation will be Below map
            Select your database.
and after that open SQL window and paste this line
Code:
update demo_zhosmmaps_paths as t
set t.elevation = 100
  , t.kmllayertype = 11
where t.kmllayer IS NOT NULL
  and t.kmllayertype IN (1, 11)
but your table will have the other prefix, (table demo_zhosmmaps_paths), ie prefix demo
and execute it.
In this case all paths, which have defined GPX type and have URL for GPX file will change type to GPX (Internal parser) and Elevation will be Below map
Don't forget support my developments: post review in JED , donate , help with translation
 
        
        Last edit: 5 years 7 months ago  by Dima.            
            Please Log in or Create an account to join the conversation.
- Dima
- 
            
				  
- Offline
- Platinum Member
- 
              
            
        
                5 years 7 months ago                #13247
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation 
        
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Elevation from GPX            
    
        If you need to KML - I can write for it too    
            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.
- lifeintravel
- Topic Author
- Offline
- Junior Member
- 
              
        Less
        More
        
            
    
        - Posts: 28
- Thank you received: 0
            
        
                5 years 7 months ago                #13248
        by lifeintravel
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by lifeintravel on topic Elevation from GPX            
    
        Thanks,
that is already great but... yes, could you please give me also the advice for KML layer... i have also few of them.
Is there a way to chose a different place and style for the elevation graph? I'd like to have it at the bottom-right corner of the map (last option in the elevation box) and change the theme to Still Blue... but they are really small things! 
    
    that is already great but... yes, could you please give me also the advice for KML layer... i have also few of them.
Is there a way to chose a different place and style for the elevation graph? I'd like to have it at the bottom-right corner of the map (last option in the elevation box) and change the theme to Still Blue... but they are really small things!
 
    Please Log in or Create an account to join the conversation.
- Dima
- 
            
				  
- Offline
- Platinum Member
- 
              
            
        
                5 years 7 months ago         -  5 years 7 months ago        #13249
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation 
        
    
    
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Elevation from GPX            
    
        As for KML
To show on map
value for t.elevation
100 - BELOW_MAP
2 - TOP_LEFT
3 - TOP_RIGHT
11 - BOTTOM_LEFT
12 - BOTTOM_RIGHT
Elevation width, integer: t.elevation_width
Elevation height, integer: t.elevation_height
Elevation theme, integer: t.elevation_theme
0 - default (lightblue)
1 - lime
2 - steelblue
3 - purple
4 - yellow
5 - red
6 - magenta
7 - lightblue
I found little mistake for KML, check update in an hour. it will 6.4.0.2
            Code:
update demo_zhosmmaps_paths as t
set t.elevation = 100
  , t.kmllayertype = 10
where t.kmllayer IS NOT NULL
  and t.kmllayertype IN (0, 10)
To show on map
value for t.elevation
100 - BELOW_MAP
2 - TOP_LEFT
3 - TOP_RIGHT
11 - BOTTOM_LEFT
12 - BOTTOM_RIGHT
Elevation width, integer: t.elevation_width
Elevation height, integer: t.elevation_height
Elevation theme, integer: t.elevation_theme
0 - default (lightblue)
1 - lime
2 - steelblue
3 - purple
4 - yellow
5 - red
6 - magenta
7 - lightblue
I found little mistake for KML, check update in an hour. it will 6.4.0.2
Don't forget support my developments: post review in JED , donate , help with translation
 
        
        Last edit: 5 years 7 months ago  by Dima.            
            Please Log in or Create an account to join the conversation.
        Time to create page: 0.208 seconds    
    