taskMapOSMatic - Tasks: task #11707, adding gpx to describe paths

 
 

task #11707: adding gpx to describe paths

Submitter:  Thomas Clavier <tomDouze>
Submitted:  Sun 01 Jan 2012 01:10:28 PM UTC
   
 
Should Start On:  Tue 10 Apr 2012 12:00:00 AM UTC Should be Finished on:  Tue 10 Apr 2012 12:00:00 AM UTC
Category:  None Priority:  * 4
Status:  None Privacy:  Public
Assigned to:  jvrnix Percent Complete:  0%
Open/Closed:  Open Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 10 Apr 2012 11:59:22 AM UTC, comment #2: 

There is a GPX library for python, available under the Apache License 2, which as far as I'm aware is AGPLv3 compatible.

GPXpy library

It could be used to add custom routes to the map, as well as custom waypoints, in case these details aren't salient where the upstream OSM-data is concerned.

How best to implement this?

Maybe a flexible layer system added to the render base class where optional passes can be put on the stack.

First the background would be pushed, then the map, then the grid, then the index and footer, etc. These get popped off the top by the renderer, which calls the appropriate method to render that pass onto the canvas.

If you wanted a custom layer, say waypoints from a GPX file, you'd insert it into the stack at the appropriate spot before kicking off the renderer.

Point of note: Waypoint's name would have to be added to the Index too, so these optional render passes (if that turns out to be the way to do it) should be able to twiddle that index data.

It all needs to be styled as well.

All in all not a small task, but has a possible side effect of making the render class more flexible. Also opens the way for adding KML support for the same purpose.

If rendering this kind of optional information works out, it would additionally be useful for [https://savannah.nongnu.org/task/?10118 task #10118: Allow creation of route-planning maps.

I'll start researching this in a topic branch, see where it goes. If it leads to something useable, I'll fire off some patches. I'd be able to use this personally and professionally, so I'll give it a go.

Fair warning: Could take a few months with my schedule as it is, though, so if it doesn't go anywhere I'll unassign myself from the task again. ;)

Jeroen van Rijn <jvrnix>
Group Member
Sun 01 Jan 2012 01:10:28 PM UTC, comment #1: 

This item has been reassigned from the project MapOSMatic bugs tracker to your tracker.

The original report is still available at bugs #32355

Following are the information included in the original report:

[field #0]                  Item ID: 32355
[field #1]                 Group ID: 10335
[field #2]              Open/Closed: Open
[field #3]                 Severity: 3 - Normal
[field #4]                  Privacy: Public
[field #8]                         : Unknown bugs Field Display Type
[field #9]                 Category: maposmatic
[field #10]             Submitted by: tomDouze
[field #11]              Assigned to: None
[field #12]             Submitted on: ven. 04 févr. 2011 17:53:55 CET
[field #13]                  Summary: adding gpx to discribe paths
[field #14]      Original Submission:     Hello

To have a solution to publish a map with a home made path, i thinks it's a good idea to add ability to upload a gpx file that describe my path.

Have a nice day.
[field #16]               Item Group: None
[field #17]                   Status: None
[field #18]        Component Version: None
[field #19]         Operating System: None
[field #20]          Reproducibility: None
[field #21]               Size (loc): None
[field #22]            Fixed Release: None
[field #23]          Planned Release: None
[field #24]                   Effort: 0.00
[field #28]                 Priority: 5 - Normal
[field #31]         Percent Complete: 0%
[field #33]                  Release: None
[field #58]     Custom Select Box #1: None
[field #59]     Custom Select Box #2: None
[field #60]     Custom Select Box #3: None
[field #61]     Custom Select Box #4: None
[field #62]     Custom Select Box #5: None
[field #63]     Custom Select Box #6: None
[field #64]     Custom Select Box #7: None
[field #65]     Custom Select Box #8: None
[field #66]     Custom Select Box #9: None
[field #67]    Custom Select Box #10: None

David Mentré <dmentre>
Group administrator
Sun 01 Jan 2012 01:10:28 PM UTC, original submission:  

    Hello

To have a solution to publish a map with a home made path, i thinks it's a good idea to add ability to upload a gpx file that describe my path.

Have a nice day.

Thomas Clavier <tomDouze>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jvrnix (Posted a comment)
  • -email is unavailable- added by tomDouze (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-04-10 jvrnix Should Start On- 2012-04-10
        Should be Finished on- 2012-04-10
        Priority5 - Normal 4
        Assigned toNone jvrnix
        Summaryadding gpx to discribe paths adding gpx to describe paths
    2012-01-01 dmentre Reassign itemMapOSMatic, bug #32355 MapOSMatic, task #11707

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code