Announcement

#16 2014-11-02 16:29:21

marfig
Member
2013-12-12
48

Re: [2.7] OpenStreetMap

amazing :)
looking forward to install and test it

btw what will be the future of the current solution - one track per one album? would be at least possible to delete already uploaded tracks?

Thank you
Best Regards
Martin

Offline

 

#17 2014-11-02 16:45:30

xbgmsharp
Member
1970-01-01
215

Re: [2.7] OpenStreetMap

The MYSQL table is removed. The GPX files are also removed.
Previous GPX entry are completely deleted.
You need to import them again. This time using the PWG way.
Each tracks is display as an image item as per screenshot.
This mean all GPX tracks file have all PWG features like permission, album, etc...

For the WorldMap, I did not start yet.

I committed the change, so you can try and see.

Offline

 

#18 2014-11-02 17:04:15

xbgmsharp
Member
1970-01-01
215

Re: [2.7] OpenStreetMap

Add a prefilter for GPX tracks on batch manager

Code committed so you can test and report.

Offline

 

#19 2014-11-02 18:38:09

marfig
Member
2013-12-12
48

Re: [2.7] OpenStreetMap

Hello,
I'm sorry, I thought that I'll be able to upgrade it on my own, but something went wrong :) I have

Warning:  [mysql error 1146] Table 'piwigo.piwigo_osm_gps' doesn't exist
SELECT `path` FROM piwigo_osm_gps; in /var/www/p/include/dblayer/functions_mysqli.inc.php on line 830

What I did:
- downloaded master branch from the git
- deleted content of/plugins/piwigo-openstreeetmap 
- copied git version there
- deleted piwigo_osm_gps table
- deactived and activated OSM plugin

Could you please kindly help?

Thank you
Best Regards
Martin

Offline

 

#20 2014-11-02 18:39:28

flop25
Piwigo Team
2006-07-06
7037

Re: [2.7] OpenStreetMap

try to restore it


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#21 2014-11-03 11:22:54

xbgmsharp
Member
1970-01-01
215

Re: [2.7] OpenStreetMap

Thanks for testing and feedback.
What you did is correct.
Sorry the error is expected. I did not finish the integration in all parts.
Restoring the plugin will delete piwigo_osm_gps table. The GPX files are also removed.

Offline

 

#22 2014-11-03 12:19:04

marfig
Member
2013-12-12
48

Re: [2.7] OpenStreetMap

Hello,
thanks for your help, I've deleted OSM plugin and added it once again, deleted files and copied from the git and issue with missing table is solved. Thank you

I've also added gpx file to my gallery, ran Synchronization, file has been successfully added. Unfortunately, result isn't as expected. Please check my screenshots.

Do you have idea what could be wrong?

Thank you
Best Regards
Martin

Offline

 

#23 2014-11-03 13:34:59

xbgmsharp
Member
1970-01-01
215

Re: [2.7] OpenStreetMap

I committed change.
It should work correctly now.
Update the repository and feedback.
You will need to restore the plugin.
You did the correct process.

Offline

 

#24 2014-11-03 15:14:12

marfig
Member
2013-12-12
48

Re: [2.7] OpenStreetMap

Hello,
I did update and it doesn't look well.
Map at album level a1.png contains track, but map as image is still same :(

Offline

 

#25 2014-11-03 15:20:30

xbgmsharp
Member
1970-01-01
215

Re: [2.7] OpenStreetMap

Do you have another plugin enable?
Try to disable all of them and recheck.
If you have videojs plugin, there is a bug on the mimetype detection which show by default unknow icon.

Offline

 

#26 2014-11-03 15:43:50

marfig
Member
2013-12-12
48

Re: [2.7] OpenStreetMap

I've deactivated all plugins, only these three are activ:

LocalFiles Editor
OpenStreetMap
Take A Tour of Your Piwigo

you're right, videojs is responsible for wrong icon, but map is still blank, I've also changed theme to default, for sure, I deleted OSM plugin and installed once again and no change

Thanks
Martin

Offline

 

#27 2014-11-03 16:31:34

xbgmsharp
Member
1970-01-01
215

Re: [2.7] OpenStreetMap

That is weird. Something must differ from my repo to the github repo.
Use the developer tools and check all web page resources are load (eg: css and js and the gpx)

Offline

 

#28 2014-11-03 17:22:11

marfig
Member
2013-12-12
48

Re: [2.7] OpenStreetMap

most probably you got it :)
gpx.js is missing

could you please check from your end?
Thanks
Regards
Martin

Offline

 

#29 2014-11-03 17:32:40

xbgmsharp
Member
1970-01-01
215

Re: [2.7] OpenStreetMap

Offline

 

#30 2014-11-03 17:45:45

marfig
Member
2013-12-12
48

Re: [2.7] OpenStreetMap

great :) it's working, thanks for your support

Idea for long winter evenings :):
- in the same way, as we have EXIF information about photo, it would be nice to display some analytic data about displayed track (length, max, min height, average speed,...)

And do you know, how to fix videojs plugin? Have somebody already informed author of this plugin, would be possible to fix it on our own?

Thank you again
Regards
Martin

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact