Google Maps + Gallery

Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 14:22
LFrank wrote:
keeping the ftp open ;)

Now I am having a problem I cannot upload/dowload or LIST anything in the folder. I tried with filezila or flashfxp or windows FTP, active/passive mode, TLS or no encryption ... I just can't get it to work :(

Do you have an idea why ?

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 14:36

LFrank, beside th fact that I can't get to FTP. I have check that GPSMap works fine and the AdminPanel now reflet the latest changed everywhere... I guess the only problem is with the main map.

Files responsible for displaying the main map are:

MapHeader.tpl
ShowMap.tpl and
ShowMap.inc

My guess is that there is something messed up on one of those files (most likely the last one mentionnned). I have a similar issue where the file wasn't chown to the Apache server as the owner and read (at least) need to be setup too.

It seems that the webserver can find the file (otherwise we would get a 404) but still does not display any of it's content.... From there it does not include Mapheader.tpl as the header and does not pass on to ShowMap.tpl to display ....

I don't think this is a problem with the map module itself but I'm curious to get to FTP to see if I can fix it :-)

Thanks
-------------------------
The Termite :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 14:43
Mozambique wrote:
After upgrading from 0.4.4d to 0.4.6b, my filters got messed up. Tried to delete and add new filters, but they dont work. That is; Default map is loaded wich ever filter I choose. If I uncheck the "Show Album filters" they show up anyway....
After deleting all filters, I now got default and a blank as options. In admin menu, I only got a blank (see pics)

Did you try to hit delete when that "blnak" filter is selected ?
If yes, then maybe you can go to the database and clear the entry (start fresh :-)) it's in the table called g2_PluginPramaterMap and the value is g_parametername = Filters

you can just clear the entry completly and it would "start over"

Sorry about that, I'm not really sure how it happened :(

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 14:46
swordfish wrote:
Good work! 0.4.6b fixed the Album Legend bug.

Thanks!

Also thanks to ninjaninvasion that told me what was the easiest way to fix it in regards to the regroup item :)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 14:49
joelion wrote:
thanks again and great work. I'll continue to follow progress and use the Wiki for bugs and feature requests.

Also remember to add a pic and GPS coord into the Map for all user/testers and developpers :-)

See you

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 15:16

Just found a bug ... I had my Map not showing up anymore (JS errors) because of an error in the MapHeader.tpl code ....

Here is a new revision (v1.36) of the file
-------------------------
The Termite :-)

 
Mozambique

Joined: 2005-11-29
Posts: 108
Posted: Tue, 2005-12-20 15:39
Termitenshort wrote:
Mozambique wrote:
After upgrading from 0.4.4d to 0.4.6b, my filters got messed up. Tried to delete and add new filters, but they dont work. That is; Default map is loaded wich ever filter I choose. If I uncheck the "Show Album filters" they show up anyway....
After deleting all filters, I now got default and a blank as options. In admin menu, I only got a blank (see pics)

Did you try to hit delete when that "blnak" filter is selected ?
If yes, then maybe you can go to the database and clear the entry (start fresh :-)) it's in the table called g2_PluginPramaterMap and the value is g_parametername = Filters

you can just clear the entry completly and it would "start over"

Sorry about that, I'm not really sure how it happened :(

Thank you for helping me!

Had to go to the database to clear the entry. The blank is gone, but new filters does still not work, only reloads "Default". Now I also got a filter called Album:Gallery. I didn't add this filter, and it's not in the database....

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 16:38
Mozambique wrote:

Thank you for helping me!

Had to go to the database to clear the entry. The blank is gone, but new filters does still not work, only reloads "Default". Now I also got a filter called Album:Gallery. I didn't add this filter, and it's not in the database....

The filter called Album: Gallery gets created "on the fly" like Route filters if you have the "Show Album Filters" option enabled in the Filter/Legend tab

I'm not sure why your filters do not work, but I have a feeling it's related to the % in map size as well. I'll do some cheking on that.

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-12-20 16:50

Termitenshort,

just tried - ftp works fine here - you should get in (perhaps my dynamic IP? and the 24h t-Online timeout??)

I found "MapHeader.tpl" being 0 bytes and a 0 byte "ShowMap.inc" in the maps\templates dir

Strange

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 17:04

Termite,
0.4.6b is looking good . . . now the big but:

In ShowMap.inc just after line 1013 (or wherever you see fit) this needs
to be added (it keeps comapny with the 'g' infowindow stuff that was added
to address URLs in summaries and descriptions):
$map['infoWindowName']=$map['MapWindowType'];

Regarding the filters not working. I find that thisappears to be true.
I created one filter (Name, coordinates, base zoom) and although it is
entered into the database -and- does show up in the popup list, selecting
it does nothing. Playing around in ShowMap.inc I found that if I changed
line 796:
if (!empty($filter) and is_array($filter)) {
to:
if (!empty($filter)) {

I thought at first that, maybe, it was related to having no routes defined; but,
it is, of course, not.

I am not saying that the above change is The Fix; but rather, supplying this
information in the hope it will help you figure it out.

When entering a filter, if you want the base zoom to be 0 (zero), you -must-
enter 0.0 as entering just 0 is rejected. No matter really . . . selecting the
filter ignores the base zoom setting anyway. ;-) :-) :-)

 
Mozambique

Joined: 2005-11-29
Posts: 108
Posted: Tue, 2005-12-20 17:06
Quote:
The filter called Album: Gallery gets created "on the fly" like Route filters if you have the "Show Album Filters" option enabled in the Filter/Legend tab

I'm not sure why your filters do not work, but I have a feeling it's related to the % in map size as well. I'll do some cheking on that.

Ok, when I choose Album:Gallery, I got the "Photo Map Filtered on Album:Gallery" line above the map. With my own filters, I don't. Also, I'm not using % map size

Thanks again

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 17:22
LFrank wrote:
Termitenshort,

just tried - ftp works fine here - you should get in (perhaps my dynamic IP? and the 24h t-Online timeout??)

I found "MapHeader.tpl" being 0 bytes and a 0 byte "ShowMap.inc" in the maps\templates dir

Strange

I would say root of the problem :-)

Well I'm able to connect to FTP but when it gets to LIST(ing) the directory files it fails and then disconnects me :(

But if you have found 2 files with 0 bytes, I think you should replace them :)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 17:26
galmoid wrote:
Termite,
0.4.6b is looking good . . . now the big but:

In ShowMap.inc just after line 1013 (or wherever you see fit) this needs
to be added (it keeps comapny with the 'g' infowindow stuff that was added
to address URLs in summaries and descriptions):
$map['infoWindowName']=$map['MapWindowType'];

nope, that the reason for re-releasing MapHeader.tpl (see above), there is no such thing as $map['infoWindowName'] (and there shouldn't be) I just didn't check correctly. :)

galmoid wrote:
Regarding the filters not working. I find that thisappears to be true.
I created one filter (Name, coordinates, base zoom) and although it is
entered into the database -and- does show up in the popup list, selecting
it does nothing. Playing around in ShowMap.inc I found that if I changed
line 796:
if (!empty($filter) and is_array($filter)) {
to:
if (!empty($filter)) {

This shouldn't be changed, I've ust made that change to fix a bug where enpty filter was generating an error.

galmoid wrote:
I thought at first that, maybe, it was related to having no routes defined; but,
it is, of course, not.

I am not saying that the above change is The Fix; but rather, supplying this
information in the hope it will help you figure it out.

When entering a filter, if you want the base zoom to be 0 (zero), you -must-
enter 0.0 as entering just 0 is rejected. No matter really . . . selecting the
filter ignores the base zoom setting anyway. ;-) :-) :-)

I though I fixed that in 0.4.6b ... the tests are needs to be numeric and then cannot be less than 0 or more than 17 ... I'll be checking on that.

Thanks :)

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 17:49

Termite,
OK, I'm back to a 'pure' release. The 'g' infowindows work just great.
As a matter of fact, everything works great (except filters :-)).

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-12-20 17:51

Termite,

I tried to replace (a ShowMap.inc was only in the root map-DIR - not in the templates) but still no success
I'm out of ideas ...
Sigh

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 18:03
LFrank wrote:
Termite,
I tried to replace (a ShowMap.inc was only in the root map-DIR - not in the templates) but still no success
I'm out of ideas ...
Sigh

May I suggest moving the current map directory aside (rename it)
and unzip a new copy in it's place? After that, check to make
sure you have no zero byte files. Maybe even download a new
copy of the zipfile. ShowMap.inc is only supposed to be in
the root directory of the map module, not in templates. There
is a ShowMap.tpl in templates.

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-12-20 18:19

Galmoid,

no change - even after redownloading the archive, putting it into the "empty" map dir - no remedy in sight.
I give up ...

Lutz

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 18:31
LFrank wrote:
Galmoid,
no change - even after redownloading the archive, putting it into the "empty" map dir - no remedy in sight.
I give up ...

Were there zero byte files?

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 18:36

LFrank,
I just accessed your map and it looks OK. What exactly is
the problem?

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-12-20 18:37

galmoid,

they were both in the map\templates directory. But've checked after replacing the DIR's - no luck with 4.6...
4.4 still working after "downgrading"

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-12-20 18:38

galmoid, I think you've just got the 4.4 version

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 18:51
LFrank wrote:
galmoid, I think you've just got the 4.4 version

I'll be happy to take this off Termite's plate (Termite
has been workin' too hard and needs the rest :-)). Would
it be possible to gain access? ssh or some such?
I/we surely would not like to see you give up.

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-12-20 18:56

galmoid - I send you Termites access via PM and load 4.6b back in the meantime
Thanks
Lutz

PM out, 4.6b up and templates reset

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 19:14
LFrank wrote:
galmoid - I send you Termites access via PM and load 4.6b back in the meantime

Looks like 0.4.6b is in use; but, no PM yet.

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-12-20 19:18

Galmoid, now?
(forgot the subject)

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 20:23
Termitenshort wrote:
Quote:
Regarding the filters not working. I find that thisappears to be true.
I created one filter (Name, coordinates, base zoom) and although it is
entered into the database -and- does show up in the popup list, selecting
it does nothing. Playing around in ShowMap.inc I found that if I changed
line 796:
if (!empty($filter) and is_array($filter)) {
to:
if (!empty($filter)) {

This shouldn't be changed, I've ust made that change to fix a bug where enpty filter was generating an error.

Galmoid, I apologize for me being stupid after looking around it turns out the "bug fixing" was done on the wrong file :)

ShowMap.inc do need to show
if (!empty($filter)) {

and the change had to be made on a different file. I've made a couple other changes too after finding more bugs ... (it's like the never ending story ...:))

And here is version 0.4.6c (CVS is NOT updated yet)

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 20:52

LFrank,
Wanna try 0.4.6c? I'm not makin' any progress.

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 20:54
Termitenshort wrote:
Galmoid, I apologize . . .

No need. I now have my faith in myself restored. :-)

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-12-20 21:00

galmoid, 4.6c just going ontop ...

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-12-20 21:03

no chnage - btw. still says "b" even if archive says "c"

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 21:17
LFrank wrote:
btw. still says "b" even if archive says "c"

Yes, I also see that the version did not increment when I put
it in. Tsk, tst, Termite. :-)

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 21:22
Termitenshort wrote:
And here is version 0.4.6c

Filters are now recognized.
FYI - The base zoom does not appear to function as, I think,
expected. Selecting a filter does center; but, not zoom.
Interestingly, the 'grouping' marker switches to an 'item'
marker, even though the zoom (at least visually) did not
happen.

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 21:22
galmoid wrote:
Quote:
btw. still says "b" even if archive says "c"

Yes, I also see that the version did not increment when I put
it in. Tsk, tst, Termite. :-)

LOl .... I still get distracted pretty easily :)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 21:27
galmoid wrote:
Quote:
And here is version 0.4.6c

Filters are now recognized.
FYI - The base zoom does not appear to function as, I think,
expected. Selecting a filter does center; but, not zoom.
Interestingly, the 'grouping' marker switches to an 'item'
marker, even though the zoom (at least visually) did not
happen.

I have a similar behaviour here. my filters zoom and re-center correctly, but when I specify % instead of px all the manually created filter do not zoom.
Filter created "on the fly" (routes & albums) seems to work fine.

I guess I know what's going on there :$

 
TheGoOse
TheGoOse's picture

Joined: 2002-12-31
Posts: 50
Posted: Tue, 2005-12-20 22:39

I've upgraded to every version you've posted in ZIP format. Since a cuple of versions, I have a "Area to Show on the Map" option, even if I disable all filtering options (I've never used them). If I choose "Define" as an anonymous user, I get a permission error (you can check it in http://www.ganso.org/gallery/map/). Is that a common problem if you don't define any filter?

Anyway... is that an easy way to translate that box, as well as the "when you click on this icon, it automaticaly zooms in to show the icons that are Regrouped together" text for gruped item? If it's possible, just tell me where I have to change it and i'll do the Spanish version :)

Thanks a lot!

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 23:07
Termitenshort wrote:
I have a similar behaviour here. my filters zoom and re-center correctly, but when I specify % instead of px all the manually created filter do not zoom.

I -was- using % and upon switching to px I also find that the
filter works as expected (centers and zooms).

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-20 23:16

Termite,
Regarding the gpx file stuff (in particular, The Mother).
Go to the TopoFusion Website and obtain
the demo version of TopoFusion. You can use it to reduce the
number of points in a tracklog and see what a plotted tracklog
will look like when you reduce the number of points. I think you
will find that these files with over 100,000 points can be reduced
considerably and still maintain a good representation. I you need
any help using it, let me know.

BTW - I have nothing to do with TopoFusion (other than I use it).

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-20 23:40
TheGoOse wrote:
I've upgraded to every version you've posted in ZIP format. Since a cuple of versions, I have a "Area to Show on the Map" option, even if I disable all filtering options (I've never used them).

It's a block that can be removed like any other block. I will provide a way to disable it on the admin panel, for now, you can just remove it.

TheGoOse wrote:
If I choose "Define" as an anonymous user, I get a permission error (you can check it in http://www.ganso.org/gallery/map/). Is that a common problem if you don't define any filter?

It's normal. defining a filter requires access to th AdminPanel so as a guest it would just fail :)

TheGoOse wrote:
Anyway... is that an easy way to translate that box, as well as the "when you click on this icon, it automaticaly zooms in to show the icons that are Regrouped together" text for gruped item? If it's possible, just tell me where I have to change it and i'll do the Spanish version :)
Thanks a lot!

You can use the es_ES.po files, all translation are made in them. You can actually translate the all module if you feel like you want to spend some time :)
I've translated the all thing to FR and DE (german) has been done by Seehundnz

Once you have translated the file, you can post it here and I will include it in the next release as well :)

One more thing, I have not update the .po files so it's vey possible that all of the sentences ae not included in there. I have seen "area to show..." but the other ine isn't there.

I could provide an updated version if you wish :)

See you

 
TheGoOse
TheGoOse's picture

Joined: 2002-12-31
Posts: 50
Posted: Wed, 2005-12-21 00:15
Termitenshort wrote:
It's a block that can be removed like any other block. I will provide a way to disable it on the admin panel, for now, you can just remove it.

I already looked in my theme's sidebar definition, but "Google Map Filter" and "Google Map Legends" aren't there. Maybe I'm asking something obvious, but.. where can I change it?

Termitenshort wrote:
You can use the es_ES.po files, all translation are made in them. You can actually translate the all module if you feel like you want to spend some time :)
I've translated the all thing to FR and DE (german) has been done by Seehundnz

I'm translating it, but I won't probably have Internet access to upload it till next week. I'll try to do it before next year! ;)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2005-12-21 00:24
galmoid wrote:
Termitenshort wrote:
I have a similar behaviour here. my filters zoom and re-center correctly, but when I specify % instead of px all the manually created filter do not zoom.

I -was- using % and upon switching to px I also find that the
filter works as expected (centers and zooms).

Sweet, I have the problem solved. In mapHeader.tpl before (on or around line 115)
{if $map.HeightFormat eq "%" or $map.WidthFormat eq "%"} //the size of the map has been calculated by javascript, the zoom level needs to be recalculated
this needs to be added
{if !isset($map.Filter) or $map.Filter eq '' or $map.Filter|truncate:5:"" eq 'Route'}

and also after (on or around line 121):
{/if}
Just add
{/if}

Will be in CVS sometime tonight :)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2005-12-21 00:27
TheGoOse wrote:
Quote:
It's a block that can be removed like any other block. I will provide a way to disable it on the admin panel, for now, you can just remove it.

I already looked in my theme's sidebar definition, but "Google Map Filter" and "Google Map Legends" aren't there. Maybe I'm asking something obvious, but.. where can I change it?

In the base gallery album theme definition. This is where it's added :-) (it has to be for some reason)

TheGoOse wrote:
Quote:
You can use the es_ES.po files, all translation are made in them. You can actually translate the all module if you feel like you want to spend some time :)
I've translated the all thing to FR and DE (german) has been done by Seehundnz

I'm translating it, but I won't probably have Internet access to upload it till next week. I'll try to do it before next year! ;)

Well, it does take a little while. I should be submitting the new .po file tonight coz it would be usefull to translate the most up-to-date :)

See you

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2005-12-21 00:34
galmoid wrote:
Termite,
Regarding the gpx file stuff (in particular, The Mother).
Go to the TopoFusion Website and obtain
the demo version of TopoFusion. You can use it to reduce the
number of points in a tracklog and see what a plotted tracklog
will look like when you reduce the number of points. I think you
will find that these files with over 100,000 points can be reduced
considerably and still maintain a good representation. I you need
any help using it, let me know.

Sweet i'll be testing that

galmoid wrote:
BTW - I have nothing to do with TopoFusion (other than I use it).

Not even some stock option in the company ;) ?

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Wed, 2005-12-21 00:47

Termite,
0.4.6d works great.
Need to remember to change the module.inc file to reflect the
version. ;-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2005-12-21 00:52
galmoid wrote:
Termite,
0.4.6d works great.
Need to remember to change the module.inc file to reflect the
version. ;-)

Lool I'm such a crack ass ... (pardon my language...)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2005-12-21 00:59

The tracklog adventure still continues

I just did a quick test I never done before I downloaded the file on the website that says number of points reduced to 10000.

It turns out this one just works awsome !!

- Not slow at all (takes less than 1 min to display)
- Doesn't crash FF
- Display completly (It turns out I only had a piece of it :-))

well I guess it's working great then !!

Anyway ... I will build something in the code that optimize the amount of points the same way and I should be fine :-)

EDIT: For information, the FULL thing has the following data in it
498 Segments, 137269 Points

-------------------------
The Termite :-)

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Wed, 2005-12-21 03:48
Termitenshort wrote:
The tracklog adventure still continues

Progress . . . with a capital P!

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2005-12-21 04:44

no fix for me with "d" - going back to 4.4 to have at least 'something' up :(

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2005-12-21 04:48

New map controls:

Changed:
-MapSiteAdmin.inc-- Added offset values for the controls (termite: you might want to verify the correct error checking and defaults how they are set ( I might have screwed up))

-module.inc -- Added offset values for the controls

-ShowMap.inc -- Added defaults (termite: you might want to verify the correct error checking and defaults how they are set ( I might have screwed up))

-MapHeader.tpl -- added some CSS to corect some IE/FF issues. ( we should move this to a CSS file itself )

-MapSiteAdmin.tpl -- added X-Y offsets for Stock control positions & dropdown for position. These will not show if custom controls are selected.

-ShowMap.tpl -- rewrite of custom controls

Controls:
Removed: bpurple,green,orange and red
Updated: barrow, bblue, dteal,redarrow,roundblue,trans_square and zoom_only
NEW: Full_brown, Full_florida,Full_green,Full_Lblue and full_Orange

I bet there is a few issues and I hope that Termite can verify my coding for the default values. If fact I know they don't work well. I don't know how to add defaults to fields if they are not set. Some better error checking is in order as well.

I need to write up a " how to " on customizing the controls but you will get the idea when you select a few different types. I tried to show the various ways of positioning stuff with the new custom controls as well as the Stock ones as well.

Attached are all the new and updated files only. Please remove 'bpurple,green,orange and red' from the repository.

If this goes well my next task will be the weather tab.... if there is no takers.

Dave

 
Mozambique

Joined: 2005-11-29
Posts: 108
Posted: Wed, 2005-12-21 06:41

What about a zoom out button (zooming out and center to default)in controls?

Keep up the good work ;)

 
Mozambique

Joined: 2005-11-29
Posts: 108
Posted: Wed, 2005-12-21 06:47

Yes, many thanks to Termitenshort & galmoid. 0.4.6d is up running with filters!!

Quote:
Termitenshort's Donation x-mas fund!:):)

He's been doing a hell of a lot work so I thought id help out since im not even testing maps atm, merry x-mas termitenshort

http://dotnature.com/index.php?option=com_content&task=blogsection&id=4&Itemid=9