[Map Module] - A few questions

bognerart
bognerart's picture

Joined: 2007-05-05
Posts: 3
Posted: Sun, 2008-05-04 15:29

Is it possible to copy the gps-data of the title photo of the album into the gps-data of the album automatically?

The display of the map lasts as longer as more photos are in the gallery. Is it possible to remove the photos from the map and show the album coordinates only?

If you click on any album of my map, you will find the title photo of the album compressed from a wide-format (16:9) to a square, which looks horrible. How can I avoid this?

_______________

2.2.4 Kern 1.2.0.6 - PHP 5.2.5 - mysql 4.1.22 - Google Map Modul 0.5.6
Gallery: bognerart.eu - map

Login or register to post comments
SiliconFiend
SiliconFiend's picture

Joined: 2006-12-27
Posts: 355
Posted: Mon, 2008-05-05 05:14

No, it's not set up to automatically populate the album coordinates from the photo coordinates. I may look into it (only if the field is blank), but it's low priority.

Showing only the albums would be a nice option. I'll think about how to do that.

I've had the thumbnail problem too. I think it has something to do with the your thumbnail size and the max size set in the style for the photo in the info window. You could tweak the style in the infowindow template maybe. I haven't found a good solution, but I haven't played with it much, either.

Login or register to post comments
bognerart
bognerart's picture

Joined: 2007-05-05
Posts: 3
Posted: Mon, 2008-05-05 12:40

I think showing the albums only is a very important option. If you have thousands of photos with gps-data, it is getting very slow. Showing the albums only is very fast. There is a map-example at my daughters album. She uninstalled the module, which erases all coordinates, installed the modul again, and didn't execute System Maintenance / Populate GPS Data from EXIF Headers, but entered the album coordinates only.

The problem is, that new added photos import the gps-data of every photo automatically. So if there is an option, which suppresses this, there is an easy workaround.

Couldn't the gps-data of the photos not be erased in the mysql-db easily, so that the album gps-data exists only? It looks like a simple mysql-command, but probably the dependencies are more complex.

I am not familiar with the possibilities of the filters. Photos have a green marker by default, and albums a yellow one. So maybe there is a solution using a filter to make it faster.

Where is the thumbnail-size defined, please?

______________________________________________________________________

2.2.4 Kern 1.2.0.6 - PHP 5.2.5 - mysql 4.1.22 - Google Map Modul 0.5.6

Login or register to post comments
SiliconFiend
SiliconFiend's picture

Joined: 2006-12-27
Posts: 355
Posted: Mon, 2008-05-05 14:46

A future planned feature is to allow you to optionally import the coordinates when photos are added, similar to the checkboxes for EXIF data. I think the legend does what you want, to allow you to hide certain markers, but it still loads them all initially, so it will still be slow. It's been a while since I've looked at the filters (I didn't write it), but I think they only show you a particular area on the map at a zoom you define. It's poorly named.

The thumbnail size is a built-in gallery feature, set per album (look in the first or second tab on the "Edit Album" screen). The map module uses that thumbnail in the infowindow. If you want to modify the infowindow, go to modules/map/templates/infowindow/ and change the one you want.

Login or register to post comments
bognerart
bognerart's picture

Joined: 2007-05-05
Posts: 3
Posted: Mon, 2008-05-05 15:50

I am mainly interested in speed. Till now all the photos of the album have the same coordinates (added with exiftool), so the yellow flag is on top of a lot of green flags, which are invisible. This means a filter doesn't help if all photos are loaded.

Please make an option to remove the coordinates of old photos. To reinstall means a lot of work, as long there is no possibility to create album coordinates automatically.

I installed the map module within the gallery (modules) and the files belong to the user nobody now. I have shell access, but no root access. So I cannot modify the infowindow. I could use cleanup.php which changes to 777, which I don't want. Which rights are recommended?

If you go to any album of my gallery, you will find at the bottom of the hybird theme an album location map. Is it possible to define a zoom-level for this map, while "Show a Google map", uses auto zoom? BTW auto zoom doesn't work perfect always, e.g. at the moment with my map. Maybe there could be an option "auto zoom offset", which increases or decreases the calculated auto zoom value?

__

2.2.4 Kern 1.2.0.6 - PHP 5.2.5 - mysql 4.1.22 - Google Map Modul 0.5.6
Gallery: bognerart.eu

Login or register to post comments
SiliconFiend
SiliconFiend's picture

Joined: 2006-12-27
Posts: 355
Posted: Mon, 2008-05-05 16:10

I'll look at the option to remove coordinates, but I can't promise anything. My time is pretty limited right now (I just started a new job).

I'm not sure what to tell you about permissions for the files. I don't think it currently works with the "local" directory trick.

Have you tried the "Album" mode for the map module link? That will limit the items shown to the current album (and descendants). Otherwise, the mini map block ("Album Location map") is set by the zoom entered for the Album (or automatically if no zoom was entered).

I'm not sure what you mean that auto zoom doesn't work perfectly. It's automatically calculated as the highest zoom which will show all the markers on the screen.

Login or register to post comments
galmoid

Joined: 2005-11-07
Posts: 360
Posted: Mon, 2008-05-05 17:13

The desired outcome could be achieved by using the MapTheme (precursor to the module) and assigning it as the theme for an album of albums. The albums within would have coordinates assigned using the theme methodology and the items within those albums could use the MapModule. Screwy and convoluted; but, it does work.

Login or register to post comments