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

 
 

task #11707: adding gpx to describe paths

Submitted by:  Thomas Clavier <tomDouze>
Submitted on:  Sun 01 Jan 2012 01:10:28 PM UTC  
 
Should Start On: Tue 10 Apr 2012 12:00:00 AM UTCShould be Finished on: Tue 10 Apr 2012 12:00:00 AM UTC
Category: NonePriority: 4
Status: NonePrivacy: Public
Percent Complete: 0%Assigned to: Jeroen van Rijn <jvrnix>
Open/Closed: OpenRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project MemberIn charge of this item.
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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 10 Apr 2012 11:59:21 AM UTCjvrnixShould Start On-=>Tue 10 Apr 2012 12:00:00 AM UTC
      Should be Finished on-=>Tue 10 Apr 2012 12:00:00 AM UTC
      Priority5 - Normal=>4
      Assigned toNone=>jvrnix
      Summaryadding gpx to discribe paths=>adding gpx to describe paths
    Sun 01 Jan 2012 01:10:28 PM UTCdmentreReassign itemMapOSMatic, bug #32355=>MapOSMatic, task #11707

    Back to the top


    Powered by Savane 3.1-cleanup1