Hello.
I have several questions regarding the use of geofield and geocoder ....
Does anyone know how to extract the gpx file data (distance, altitude, etc)?
Is it possible to make a elevation graph (similar to Trackfield)?
Is it possible to set a marker at the beginning and end of the track?
thanks

Comments

jaiteiro’s picture

Project: Geofield » Geocoder
Version: 7.x-2.x-dev » 7.x-1.x-dev
balagan’s picture

I am just working on a custom module, that does what you want. I extract all the data, draw a basic elevation chart with jpgraph, and save this image to my track content type. It is not finished yet, and I still want to check the trackfield module, I saw it also makes an elevation profile.

balagan’s picture

By the way, you can use the feeds module to extract the data. Initially I was planning to use that, but I want to extract both waypoint and track data, and I could not find a way to parse data into more than one content types. I used the querypath module to set the parsing rules, if you know a bit of jQuery, you will find that very easy. You will still have to draw the elevation chart though.

jaiteiro’s picture

I'm looking for something like this:

http://gmaps-samples-v3.googlecode.com/svn/trunk/elevation/elevation-profile.html

I do not know if there is any way to implement the new gmap (v3)... Trackfield doesn´t work for me with D7

balagan’s picture

I do create almost the same elevation profile in my project. I might make it a module or a sandbox project, but it will take months I think since I am developing it in my spare time. Geocoder is not able to do anything similar, since geofield and other compatible fields do not store time data. You can only create elevation profile parsing the gpx file. Contact me personally if you need or can help.

balagan’s picture

Status: Active » Closed (won't fix)
balagan’s picture

By the way, it would be possible for geocoder to geocode the beginning of a track in a geofield to another geofield, and the same with the end of the track. Open it again as a feature request if you want this.

jaiteiro’s picture

Category: task » feature
Status: Closed (won't fix) » Active

Ok. Thanks for you explanation!!

artsakenos’s picture

Issue summary: View changes

In case you're still interested please have a look to a module I provided for the purpose exploiting Google Elevation API.
It also helps to understand a possible way to handle with gpx parsing.
Here: https://drupal.org/sandbox/artsakenos/2216915.

pol’s picture

Status: Active » Closed (outdated)