Apps
Knowledge
People
Register
Login


-
- Content .- Fans (15) .- Knowledge Base (3) . 

GpxPod

   0.9.21  

ownCloud Tool

Score 67%
GpxPod
zoom


GpxPod
zoom


GpxPod
zoom


Issue Tracker:  Link
Version Control:  Link
Minimum required   ownCloud 9.0
Maximum required   ownCloud 9.2
Downloads:  1569
Submitted:  Nov 3 2015
Updated:  May 27 2016

Description:

This app's purpose is to display gpx, kml and tcx files collections,
view elevation profiles and tracks stats, filter tracks,
color tracks by speed, slope, elevation and compare divergent parts of similar tracks.

It works with gpx/kml/tcx files anywhere in your files, files shared with you, files in folders shared with you.
kml and tcx files will be displayed only if GpsBabel is found on the server system.
It works with encrypted data folder (server side encryption).
A public link pointing to a specific track can be shared if the corresponding gpx file is already shared by public link.
!!! GpxPod now uses the owncloud database to store meta-information. If you want to get rid of the .geojson, .geojson.colored and .markers produced by previous versions, there are two buttons at the bottom of the "Help" tab in user interface. !!!

GpxPod proudly uses Leaflet with lots of plugins to display the map.

This app is tested under Owncloud 9.0 with Firefox and Chromium.
This app is under development.

## Install

No special installation instruction except :
!! Server needs python2.x or 3.x "gpxpy" and "geojson" module to work !!
They may be installed with pip.

For example, on debian-like systems :

```
sudo apt-get install python-pip
sudo pip install gpxpy geojson
```

Then put this repo in the apps folder to install GpxPod :

```
cd /path/to/owncloud/apps
git checkout https://gitlab.com/eneiluj/gpxpod-oc.git gpxpod
```

## Known issues

* bad management of file names including simple or double quotes
* _WARNING_, kml conversion will NOT work with recent kml files using the proprietary "gx:track" extension tag.

Any feedback will be appreciated.




Changelog:

0.9.21
- add buttons to delete all geojson and markers files
- now uses the owncloud database to store geojson data and markers. faster and transparent.
- clean database from tracks if the file was deleted
- public link is now valid if .gpx file or one of its parent directory is publicly shared
- fix display bug in public link

0.9.20
- new feature : gpxpod allows to share a public link of a track (.gpx .gpx.geojson and gpx.marker have to be publicly shared in files)

0.9.19
- now works with encrypted data folder (server side encryption)
- now considers files shared with you and files in folders shared with you
- few bug fixes

0.9.18
- add timezone support in gpxpod : automatic browser timezone detection and manual timezone change in UI. Specify current timezone offset in displayed dates.
- add timezone support in gpxvcomp : uses browser timezone to display dates

0.9.17
- add option to list tracks in left table if their bounds rectangle is partially visible
- fix bug on nested gpx directories. markers are not found recursively anymore
- design is now more compact
- text changes

0.9.16
- add option to choose whether the table shows all tracks or just the one visible in current map view
- animate logo when loading

0.9.15
- gpx comparison revolution ;) now really compare pairs, faster display (better geojson produced), no more color mistake...
- small fixes, text, colors


0.9.1 to 0.9.14
- chrome(ium) JS compatibility
- fixes in track comparison
- add .tcx files compatibility (convertion with gpxbabel)
- better error display in python process
- fix small distance calculation problem (negative cosinus...)
- python process interruption if multiple calls
- better marker production, speed improvement
- easier folder selection in UI
- make folder change dynamic with ajax calls
- improve python compatibility (under 2.7) and error management
- display python output in UI
- fix bug : nested php calls sometimes producing 'Only variables should be passed by reference' error
- move arrows in table header to avoid text to be hidden
- fix python script : fallback to classic map is multiprocessing is not available or Pool does not work (CentOS issue)
- Fix bug with OC method
- now considers files with uppercase extensions
- ability to select track scan type (none, new tracks only, all)
- leaflet geocoder (to search for locations) works
- changed default map to openstreetmap
- display time in elevation chart label
- remove personnal import of jquery that caused menu bug
- adapt gpxvcomp to gpxpy problem with course tag
- fix latest gpxpy failure caused by float in "course" tag
- python3 compatibility
- track processing more resistent to malformed gpx files
- cleaner MVC implementation
- included automatic KML convertion if GPXBabel is found on the server system
- removed yield operator to make GpxPod compatible with more PHP versions
- Updated leaflet from 0.7.3 to 0.7.7
- fix bad url for files download links
- Works for any data folder location config
- Compatible with more php versions (in reaction to 'slapps' bug report)
- List all directories that include gpx files. No more restriction on file organization.
- Trying to respect coding rules
- Security might be ok
- Integration of track divergence comparison (gpxvcomp)
- Visual info during loading




LicenseAGPL
All Versions
Send to a friend
Subscribe
Other  Apps  from eneiluj
Report inappropriate content



goto page: prev   1  2  3  4 

-

 When zooming in track listing disappears

 
 by poVoq on: Mar 8 2016
 
Score 50%

Anther comment:
when zooming in so that not the full track is in view, the listing of the tracks disappears, which is a bit inconvenient if you want to toggle visibility while looking at a detail.
Maybe that can be fixed? Thanks for the great work!


Reply to this

-

 Re: When zooming in track listing disappears

 
 by eneiluj on: Mar 8 2016
 
Score 50%

Hi,

For the moment, if, and only if, the starting point of a track (the marker) is inside the current view of the map, the track is listed in the track list table.
I already asked myself how to list tracks if any of their subpart is inside the current view but there is no function to detect that in leaflet.

I could calculate a square for each track defined by the maximum and minimum latitude and longitude and list (in the table) the tracks for which the square intersect the current view... But still it wouldn't be perfect. It would list tracks that possibly the real path does not intersect the current view.

Do you think it would still be better this way ? Do you have another idea ?

Thanks for your feedback !


Reply to this

-
.

 Re: Re: When zooming in track listing disappears

 
 by poVoq on: Mar 9 2016
 
Score 50%

Maybe just show all the tracks in the listing from the same directory always?


Reply to this

-

 encryption problem

 
 by swi3ty on: Mar 10 2016
 
Score 50%

This app doesn't work when encryption (files) is enabled. If I'll put file via ftp (without owncloud-side encryption) everything works fine.

Is this a known problem or this is just my single case?


Reply to this

-

 Re: encryption problem

 
 by eneiluj on: Mar 10 2016
 
Score 50%

Hi, indeed it does not work it encryption activated. As you're the second to talk about it, i'll probably try to solve this issue.
Thanks


Reply to this

-

 Re: Re: encryption problem

 
 by prego on: May 17 2016
 
Score 50%

would be great if you'd look into it. i'm having the same problem.


Reply to this

-

 Re: Re: Re: encryption problem

 
 by eneiluj on: May 18 2016
 
Score 50%

Hey how,

Last commit of the git repo ( 8d58bdc6a104e7db5107bc95f0413dd91cb768fb ) implements file encryption compatibility ! It works on my test instances with mixed encrypted and non encrypted data.

Could you try it and tell me if it works on your owncloud instance ? I'll do a release if your tests are successful.

Thanks for the feedback.


Reply to this

-

 gpx sample file

 
 by mahdsip on: May 19 2016
 
Score 50%

Hi,

I am triying to test the application with my own gpx files but it seems the file are not being loaded for some reason, could somebody please post a sample working gpx file to test i have the app propperly configured?


Reply to this

-

 Re: gpx sample file

 
 by eneiluj on: May 19 2016
 
Score 50%

Hi,

Try to download any gpx track from gpsies, here is one for example :
http://www.gpsies.com/map.do;jsessionid=65CEB9275299AB997AFBBB2AE8F9B7F9.fe1?fileId=mhrfupsvoyqoxlqc
On the right of the map, there is a "Download as" area. Select "GPX Track" and download it.

If it still does not work, check your web server error log. Check also the python error log that should be displayed in gpxpod interface at the end of the "?" tab in the left panel.

If it's something with your gpx files, i can investigate if you provide me one.


Reply to this

-

 Re: Re: gpx sample file

 
 by mahdsip on: May 19 2016
 
Score 50%

Thanks eneiluj, i am getting this error in the python error log trying to load one gpx file from the same owncloud instance:

sh: 1: /var/www/owncloud/apps/gpxpod/gpxpod.py:

Permission denied

Return code : 126

Any guess??


Reply to this

-

 Re: Re: Re: gpx sample file

 
 by eneiluj on: May 19 2016
 
Score 50%

Hi,

GpxPod is launching a python script to process gpx files. Normally this script should already be executable by the web server user (probably www-data) after its extraction from the archive. In your case, it's not.

Check the rights of that file ( /var/www/owncloud/apps/gpxpod/gpxpod.py ) with "ls -l" for example. It should be like that -rwxrwxr-x and it should be owned by www-data.

Any progress ?


Reply to this

-

 Re: Re: Re: Re: gpx sample file

 
 by mahdsip on: May 19 2016
 
Score 50%

Thanks eneiluj, is working now. :-)


Reply to this

-
.

 Error msg

 
 by zion2k on: May 20 2016
 
Score 50%

Hello,
I always get this error msg in the admin log.
Error PHP readdir() expects parameter 1 to be resource, boolean given at /var/www/owncloud/apps/gpxpod/controller/pagecontroller.php#33
What have I done wrong?


Reply to this

-

 Re: Error msg

 
 by eneiluj on: May 26 2016
 
Score 50%

Hi,

What i understand :

Your php's opendir function returns a boolean instead of a resource. Then it complains when this boolean is given to readdir function...

I don't know why it happens. My php version is 5.6.21 . I'm almost sure if you update your php version and restart your webserver it's gonna work.

Any progress ?


Reply to this

-

 Python Error?

 
 by billsen on: May 25 2016
 
Score 50%

Hi,

i installed the geojson and gpxpy module and then the gpxpod via app store. but i still got the following error message:

Python output :

Traceback (most recent call last):
File "/path-to-owncloud/apps/gpxpod/gpxpod.py", line 8, in
import gpxpy, gpxpy.gpx, geojson
ImportError: No module named gpxpy

any idea?


Reply to this

-

 Re: Python Error?

 
 by eneiluj on: May 26 2016
 
Score 50%

Hi,

How did you install gpxpy and geojson ? Are you sure the user running the webserver (probably "www-data" or "apache") is able to load it ? From what you say, it obviously cannot.

I see two possible reasons for your problem :

You installed those python modules locally for a user so it's not available for the webserver user (who is actually launching the python script). Install them as root or with sudo or as the webserver user.

Maybe you installed the modules system-wide but not for the same python version than the one launched by the webserver. If the webserver is launching python3, you should use pip3 to install them.

Any progress ?


Reply to this

-

 Re: Re: Python Error?

 
 by billsen on: May 26 2016
 
Score 50%

Hi eneiluj,

thanks for your help. I found the problem. I installed gpxpy and geojson as root. But the webserver runs with fcgid and suexec under the user www which has no access to the folder /usr/local/lib/python2.7/dist-packages. Now, the python script works.

...but now i got an sql error in the admin log :(

Error index
Exception: {"Exception":"Doctrine\\DBAL\\Exception\\SyntaxErrorException","Message":"An exception occurred while executing 'INSERT INTO oc_gpxpod_tracks (\"user\",\"trackpath\",\"marker\",\"geojson\",\"geojson_colored\") VALUES...............


Reply to this

-

 Re: Re: Re: Python Error?

 
 by eneiluj on: May 26 2016
 
Score 50%

I have to see the actual sql query to see what's the syntax error and eventually correct my mistake. Maybe you could send it to me by mail of by private message.

We are close to make it work for you.


Reply to this

-

 Re: Re: Re: Re: Python Error?

 
 by eneiluj on: May 27 2016
 
Score 50%

Ok the queries syntax were not MySQL compatible. It is now solved, I re-uploaded an archive for v0.9.21 . The app is now tested/working with SQlite and MySQL. Thanks


Reply to this

-

 Re: Re: Re: Re: Re: Python Error?

 
 by billsen on: May 27 2016
 
Score 50%

Very nice, it works.
Thanks :)


Reply to this

-

 http error 500

 
 by kolumbus120 on: 2 days ago
 
Score 50%

Hi. after upgrading to the 0.9.21 I get this error msg http error 500.
OC error log:
PHP Fatal error: Call to undefined method OC\\Server::getShareManager() in /var/www/ow
ncloud/apps/gpxpod/appinfo/application.php on line 50.
I use OC 8.2


Reply to this

-

 Re: http error 500

 
 by eneiluj on: 2 days ago
 
Score 50%

Hi, I guess the way file sharing is managed changed from owncloud 8 to 9. As i don't have any owncloud 8 instance to test, i can't tell if gpxpod is compatible with this version anymore. Apparently it's not. As i knew it would probably happen, i had changed the minimum required version in app description. Sorry for that. I'll probably prefer to develop for the last owncloud version without making a specific release for older versions.


Reply to this

-

 Re: Re: http error 500

 Fresh
 by kolumbus120 on: 1 day ago
 
Score 50%

Thank you. but is posile to download older version 0.9.20?


Reply to this

-

 Re: Re: Re: http error 500

 Fresh
 by eneiluj on: 2 hours ago
 
Score 50%

It will not work with 0.9.20, nor with 0.9.19 because those versions also get the share manager. You should get 0.9.18 with Git (there is a "version control" link at the top of this page) or simply update your owncloud instance.


Reply to this

goto page: prev   1  2  3  4 

Add commentBack




-
 
 Who we are
Contact
Register
Explore
Apps
Knowledge
People
Participate
Add App
Public API
About apps.ownCloud.com
Legal Notice
Report Abuse
 

Copyright 2011-2016 apps.ownCloud.com Team  
All rights reserved. apps.ownCloud.com is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.