Announcement

#1 2015-10-13 22:46:52

mrcolj
Member
2015-05-22
20

I think GPX broke OSMaps

Hi,

I just uploaded my first GPX file
http://www.colinandbethany.com/photos/p … tegory/182
after a trip to Kauai.

Now my OpenSourceMaps appear blank.  My google maps still work.  See:
http://www.colinandbethany.com/photos/o … 82&v=2

Is there anything that jumps out to you before I start taking blind stabs at troubleshooting?


Piwigo version: 2.7.4
PHP: 5.4.40
MySQL: 5.5.45-cll

Offline

 

#2 2015-10-15 18:01:27

heviifoto
Member
Switzerland
2015-09-18
20

Re: I think GPX broke OSMaps

To me, it appears to be working. I'm able to view your photos in both OSM and GM when I choose either of the icons to open the full-screen maps. Granted, I don't see anything on the map window when in "Category Description" View.

Interestingly, your site showed me something that I had missed: the GPX map capability of the plug-in!  Alas, I've still not been able to determine how to make it appear on my site. I wonder if it's a limitation of the Luciano Amodio theme which I'm using.  In any case, how did you upload the gpx file?  The instructions are rather cryptic: "All need is to upload your GPX tracks file the PWG way" ???

With apologies if the method is already clearly indicated somewhere that I've not yet been able to find, could you please post how you did this? Thanks :-)

Offline

 

#3 2015-10-15 18:06:36

heviifoto
Member
Switzerland
2015-09-18
20

Re: I think GPX broke OSMaps

I was a bit premature;  the OSM map is indeed a bit buggy. The display of the photos on the bottom bar is sporadic. Try zooming in and out over the Hawaiian Islands and you'll see what I mean.


In any case, I'm still excited about the possibility of showing the entire gpx track on a map, buggy or not.  Looking forward to your comments.

Offline

 

#4 2015-10-16 20:33:38

mrcolj
Member
2015-05-22
20

Re: I think GPX broke OSMaps

Thanks for replying. 

For me the map isn't showing any pins.  Just a few days ago the map at any zoom would be covered with pins or photo thumbnails.  There are photos in the carousel--again sporadically, and clicking them doesn't go anywhere.  Is that what you're seeing?

Regarding how to upload a GPX, by default the system only lets you upload photo-types (JPG/PNG/GIF/SWF/etc), so you need to go to Local Files Editor and cut and paste in this line:
          $conf['upload_form_all_types'] = true;

Last edited by mrcolj (2015-10-16 20:34:21)

Offline

 

#5 2015-10-16 23:48:37

mrcolj
Member
2015-05-22
20

Re: I think GPX broke OSMaps

OH, I just realized that it's only October 2015 and the All Dates (root) folder OSM maps that don't work.  So again, it's gotta' be that GPX file messing it up.

So that plugin was written by xbgmsharp.  How do we summon him?  :)

Offline

 

#6 2015-12-01 23:45:18

flop25
Piwigo Team
2006-07-06
7036

Re: I think GPX broke OSMaps

author notified


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

 

Notice: Undefined offset: 5 in /var/www/piwigo.org/forum/include/parser.php on line 551

#7 2015-12-06 19:42:35

xbgmsharp
Member
1970-01-01
215

Re: I think GPX broke OSMaps

The display of the photos on the bottom bar is sporadic.

Agree I have a lot of issue with the carousel. Looking to do better for Mapv4
If you don't like you can use map v2 or Map v3.

"All need is to upload your GPX tracks file the PWG way" ???

. The wiki is free to edit if you have a better wording. You upload the GPX file the same way you upload the photo. I update the documentation with the wording of @mrcolj
https://github.com/xbgmsharp/piwigo-ope … p/wiki#gpx

In regards to your world map. The javascript console show an error.
http://www.colinandbethany.com/photos/o … 82&v=2

18:35:22.073 ReferenceError: omnivore is not defined1 osmmap.php:372:1

Which if you look at the Network console, Your webserver returns a http/404 file not found.
Check your webserver log to see why it is not accessible.
Also make sure the file leaflet/leaflet-omnivore.min.js is present on your system.
leaflet-omnivore.min.js is definitely part of the project and should be present on your system.
[Github] piwigo-openstreetmap file leaflet/leaflet-omnivore.min.js
Last make sure you use the latest version of the plugin, aka version 2.7.c

Offline

 

Board footer

Powered by FluxBB

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