Hi !
I'm interested in adding a mapping functionality to Totem for communities, medias, users.
I've seen intersting modules like Geofield, Geocoder, Leaflet, Leaflet More maps, Leaflet MarkerCluster.
It seems that geocoder can extract geolocation from images Exif data... Some modules like GeoIP can localise a PC. Another may be able to use a mobile GPS feature.
I would find sympathatic to look for communities or users on a map to talk about localised subjects.
What about working together on that kind of work ?
Sincerely yours,
Eleuthere

Comments

eleuthere’s picture

I went forward on my mapping communities project. I would like to share with you my actions and my doubts.

First, I made sure that a communities and medias integrated geographic data :
In Home » Administration » Structure » Content types » Community > Manage fields , I added Field_location. Then, in the "Edit" panel, I chose "coordinate chooser". I check also users and files.

On the 6th nov, I installed modules geophp, geocoder and geofield.
I also updated every module and applied the update script after each install.
- Activate modules and sub-modules Geofield, Geocoder, Geofield Map, geoPHP
- Allow users to geocode : for all, in Home » Administration » People, I checked "Can use all Geocoder handlers through AJAX / service"
- Add a Geofield field to communities :
In "Home » Administration » Structure » Content types » Community".
Add new field "geofield", "geocode from another field".
- Geocode Geofield following Exif data in the image :
Home » Administration » Structure » Content types » Community » Manage fields >> Edit
In "Geocode from field", choose "Image".
- I set Geofield dispalay :
Home » Administration » Structure » Content types » Community >> Manage Display >> Label "Hidden" et format "Geofield Map".

After a few tries, I saw that in place of tacking exif data in the image to fill geofield data, geocoder reads location data to fill coordinates in "Field_location"... with a precision that seems the one configurated in Home » Administration » Configuration » Content authoring » Location, panel "Geocoding options"

I'm afraid I did not understand everything in geocoding and mapping.
As I think this would be an intersting feature, I am interested in working that subject, if anyone shares my interest. Just let me know.

eleuthere’s picture

Assigned: eleuthere » Unassigned
eleuthere’s picture

Status: Active » Closed (won't fix)