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

Batch manager GPS info #42

Closed xbgmsharp closed 9 years ago

xbgmsharp commented 9 years ago

From @cooltom Hi, very good plugin! Please is there any way how to batch setup same GPS location for all photos in one album? For example as action in Batch manager - setup GPS for all photos in selected album(s). It will be usefull when you don't have GPS info in metadata and all photos are taken on one place.

xbgmsharp commented 9 years ago

Code committed via https://github.com/xbgmsharp/piwigo-openstreetmap/commit/92b0313822a6afa8aa231bbf3710b95489c69599 and https://github.com/xbgmsharp/piwigo-openstreetmap/commit/6b6c07dda96f0df1b547570f1ee26025dda0f4bc Please test and feedback

cooltom commented 9 years ago

Hey, thanks for fast reply/action and sorry for delay. Its working perfectly! If I can suggest another tuning: it would be cool if you can enter address in field with ajax and it suggest addresses and when you select one, it will fill LAT/LON automatically. :) I dont know it this work for Openstreetmap same like for google mail.

xbgmsharp commented 9 years ago

There is a search location bar on most of the map. https://github.com/xbgmsharp/piwigo-openstreetmap/wiki#version2 It does not fill the LAT/LON automatically but it goes to the define location. Not what exactly you do refer to. So on which page you wish to see that?

cooltom commented 9 years ago

I mean in Batch Manager. You select Filter (Gallery) and from Action menu OSM GEOTag and you will see one field "Address" instead of 2 fields "LAT/LON". you start writing address for example CITY/address/number etc and it suggest you some cities/adresses (maybe show little map on the right from field). You select the one you want and click APPLY ACTION and it will add GPS tag for selected photos. Or LA/LON can stay there also, if you need fill location manually. Now when you want add same GSM location into more photos, you have to find LAT/LON first. Not big problem. Its still good like this. But with searching would be perfect :)

xbgmsharp commented 9 years ago

OK got it. Using the batch manager, in addition to LAT/LON, you want to be able to search and get the location. No easy to do. Will think of it. Where you see the filter "Gallery"? I don't have this filter.

cooltom commented 9 years ago

I understand. Just idea :) If its difficult there is no need to spent too much time with this. Actual version is fine. Filter in Batch Manager -- Album

xbgmsharp commented 9 years ago

The feature to type a city name and go to the location is available in the photo_edit mode/page. However it seen too complex to nicely integrate this in the batch_manager mode/page.

cooltom commented 9 years ago

Its ok. Thank you for adding geo into Batch manager so fast.

xbgmsharp commented 9 years ago

Great thanks closing.