Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Ticket #1387 - Swapped Geotag Data #1394

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

rcquan
Copy link

@rcquan rcquan commented Aug 13, 2014

In application/controllers/scheduler/s_twitter.php in line 133, you will see:

  if ($tweet->{'coordinates'} != null)
                            {
                                    $tweet_lat = $tweet->{'coordinates'}->coordinates[0];
                                    $tweet_lon = $tweet->{'coordinates'}->coordinates[1];
                            }

This generates the swapped geotag data referenced in Issue #1387 submitted by @j73wa.

I swapped the indices (changed the 0 to 1 and vice versa) so that the latitude and longitude data will be mapped correctly.

Swapped latitude and longitude coordinates to get plot correct geotag
location on map.
subproject commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant