Page 1 of 5
Geotagging
Posted: 04 Jun 2008, 12:33
by Markstag
Hey all,
First of all i want to thank Jan again for all the hard work he put in this project.
I've got an excellent idea for phoca gallery, "Geotagging" Maybe you can add an phoca gallery add-on called Phoca Geogallery using Googlemaps API's.
Frontend
- Every picture gets an new icon that appoints to the picture's Geo tag.
- There wil be 1 map that shows all your tags.
Backend Options:
- Every picture gets an extra parameter with the lat and longitude.
- extra menumanager item for the map that shows all geotags.
- backend gets an page where you can select an picture and manually select where the picture has taken.
If you like this concept this component wil be the first to have such an option and i think Geotagging is the future, so its going to be really popular in time.
There are many ways to do this, if you need suggestions or help just let me know and i am more then happy to give you feedback.
Every picture gets an new icon...
Posted: 04 Jun 2008, 19:44
by Jan
Every picture gets an new icon that appoints to the picture's Geo tag we have no place for the icon now... see the icons on:
https://www.phoca.cz/phocagallery/demo/
- backend gets an page where you can select an picture and manually select where the picture has taken ... this I don't understand...
I have a question. What is the aim or goal of the geotagging
Maybe I need some information about what link must be created to link to Google Maps (which information and which form should have the link)
jan
Ok i will try to exp
Posted: 05 Jun 2008, 16:21
by Markstag
Ok i will try to explain what Geotagging does:
If the user ads the latitude and longitude data from every picture he has taken you can display an map that will show the visitor where all the pictures are taken.
Also the visitor can watch where every picture has been taken by just clicking on its geotag icon.
and i don't think it should link to google's website but using googlemaps API you can show an map inside your content.
Also you can use Mootools to show the map like this: Example
- backend gets an page where you can select an picture and manually select where the picture has taken
Take an look at: Example
What about using the same way to insert the latitude and longitude parameters, this will save users loads of time finding the right latitude and longitude data. They are able to find the right position from an map at joomla's backend and then just select it so that data is added.
I don't know if possible but .jpg can contain geometric data in there header, what about extracting that? that might be really hard to but in future all pictures going to have this data inside.
I know nokia is providing an tool to add geometric data to the taken picture
Example: You have ta
Posted: 05 Jun 2008, 16:43
by Markstag
Example: You have taken an beautiful picture from the "Dyje" and you enter the right latitude and longitude parameters at the backend.
How great would it be if an visiter just hits the geotag icon from your beautiful picture and gets an mootools pop-up with this map inside.
For me that would be an awsome thing.
Yes, now I understan
Posted: 05 Jun 2008, 17:59
by Jan
Yes, now I understand, now we need for beginning:
- 2 input fields in backend (long, lat)
- Parameter for displaying the icon (do you have any idea wich icon)
Frontend
- if enabled, add the icon with the link to google Maps
So I need to know what should the link contain (which form should it have to display the long and lat in Google maps)
maybe this link we should add:
http://www.google.com/maps?ie=UTF8&ll=4 ... 01369&z=17
but what is:
ie,
z,
ie - encoding
z - zoom
is this correct?
Now we can talk about how user add the lat and long (should he paste lat and long, or degrees and we will format them ?)
Jan
EDIT - maybe we don't need the link to google maps, if user adds own Google Maps API Key, his map with lat and long can be displayed in modal box
But the next problem is, if there will be to input forms for every image, user must do the long and lat by every picture...
Jan
do you have any idea
Posted: 07 Jun 2008, 11:50
by Markstag
(do you have any idea which icon)
This one maybe? or this one?
About the strings i don't really know... but take an look at:
Google maps reference this page might have all the info you need for the code. hope you understand more then i do about this.
and yes, users need to add an google API key at the backend, somewhere in the phoca gallery preferences i guess?
About the input form for every image: yes that takes much time but users don't need to enter this for all pictures ofcourse! maybe you can also make this for every category so if you have taken all pictures from 1 place you can add 1 map just for every category.
To save time entering the right lon-lat parameters i thought about an backend map where users can select the picture where they want to add the parameters to with an map to select the right lon-lat on.
so they can just find the right photograph place and select it at the backend.
But what about reading the location from the exif header from every picture? you think you can make that happen... i think its kind of tricky but i don't know about coding.
Yes, I think, for th
Posted: 08 Jun 2008, 17:35
by Jan
Yes, I think, for the category it will be better e.g. becase mostly you display more photos from one place
do you know some map (or code) which returs you the lon-lat parmams ? this can be implemented as e.g. the image button in backend (you click on button, modal box will be open, you select the image filename and this will be filled in the form)
But what about reading the location from the exif header from every picture? you think you can make that happen ... this can be very problematically
do you know some
Posted: 08 Jun 2008, 18:01
by Markstag
do you know some map (or code) which returs you the lon-lat parmams ?
Try this example
or this one?
but maybe we need so
Posted: 09 Jun 2008, 10:45
by Jan
but maybe we need some our framework, so we must find some javascript code how to get lon-lat from the map it is created on our server
...
Posted: 09 Jun 2008, 10:48
by Markstag
this?
how about this one...