Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
with the attached patch you can parse a gpx-file and display its waypoints as markers and the routes and track-segments as polygons (didn't test the track segments yet).
the drawing of polygons requires my patch at http://drupal.org/node/133980 to see something on the screen
Comments?
Comment | File | Size | Author |
---|---|---|---|
gmap-gpx-1.patch | 6.46 KB | ray007 |
Comments
Comment #1
JohnG-1 CreditAttribution: JohnG-1 commented+1 this feature :)
Comment #2
ray007 CreditAttribution: ray007 commentedThis patch should still apply to current top of development, maybe now would be a good time to look at it again?
Comment #3
JohnG-1 CreditAttribution: JohnG-1 commentedthanks Ray I'll try it again in the next day or so
Comment #4
mfredrickson CreditAttribution: mfredrickson commentedThis is out of scope for the gmap module. Please see the track module and address you requests there.
It seems track has not been updated since november 2006. I suggest you contact the track's maintainer (Gaby) and see if you can collaborate on the module. It seems to recreate _a lot_ of the gmap functionality - so I think you could make quick progress ripping out the track's gmap implementation and relying on gmap.module. In return, you can focus on the GPX to GMarker/GPolyline conversion and hand that over to GMap for display.
I'm marking as code needs work, as you'll need to rejigger this for track.module.
Good luck!
Comment #5
lenkkivihko CreditAttribution: lenkkivihko commentedHas anyone validated this parser compared to the parser already included in the Track module?
Don't they have a similar functionality & fully overlapping.
Which parser to take as a basis for further development?