Piwigo / piwigo-openstreetmap

OpenStreetMap integration for Piwigo
http://piwigo.org/ext/extension_view.php?eid=701
GNU General Public License v3.0
35 stars 35 forks source link

GPX tracks on the map #50

Closed LeOSW42 closed 9 years ago

LeOSW42 commented 9 years ago

Hello world

That can be a great feature to attach GPX tracks to a category and display the track on the category map. My categories are all about hikes.

Léo

LeOSW42 commented 9 years ago

I've seen that page : https://github.com/xbgmsharp/piwigo-openstreetmap/wiki#gpx

But I can't upload GPX files to my server.

Léo

xbgmsharp commented 9 years ago

You should upload GPX tracks are per normal photos to PWG. Upload your GPX tracks file the PWG way. This plugin extend PWG support for GPX tracks file. Each tracks is display as an image item, this mean all GPX tracks file have all PWG features like permission, album, etc...

LeOSW42 commented 9 years ago

Yes but PWG accepts only PNG, SVG and JPG images, nothing else. I can't select GPX files in the HTML5 uploader

xbgmsharp commented 9 years ago

The plugin might not be correctly installed or activated. Using the "Web Form", in the "Select files" table field, the extension 'gpx' should be list.

If not, use the Localfiles Editor Plugin and added this line to it:

    $conf['upload_form_all_types'] = true;

Piwigo will let you upload any file matching $conf['file_ext'].

If it works, I will update the documentation.

LeOSW42 commented 9 years ago

I did that, but after uploading a GPX file, It is not proccessed and I can wait for a long time (infinite)

Léo

xbgmsharp commented 9 years ago

Disable other plugin and retry. If it hangs on upload a plugin is having a conflict.

xbgmsharp commented 9 years ago

Any update on this? Are you able to reproduce the issue?

LeOSW42 commented 9 years ago

As I said, I wrote my own script for displaying GPX on maps, so I'm not using this one anymore