question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Swaped Lat and Lng values

See original GitHub issue

This can be an error: Here x1 is described as a latitude But here it is assigned to variable as a longitude

And I have noticed, that there is no description of lat and lng mapping to postgis Point.x and Point.y in documentation ( i guess [lng, lat] ).

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:30 (13 by maintainers)

github_iconTop GitHub Comments

4reactions
erdemcommented, Jan 14, 2019

Hi guys,

I didn’t follow the issues for a while, I was on a long trip.

I’ll check this issue again.

4reactions
helioascorreiacommented, Nov 30, 2018

Hi, I’m having this problem with the 0.2.1. On the admin, when I add a location it adds nicely. The problem is when visit the edit view the coordinates is already swapped.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to swap lat long values of geom type cloumn in postgresql
İ solved it like that. update place_tab set location = (SELECT ST_MakePoint( ST_Y(location),ST_X(location))) WHERE ST_Y(location)<35 and ...
Read more >
Swapping Lat and Lon coordinates of shapefile?
I have a shapefile that consists of one polygon whose boundary is defined by a large number of points. Whoever originally ...
Read more >
Geography object latitude/longitude swapped compared to ...
Geography object latitude/longitude swapped compared to using column.Lat and column.Long in SQL query #851. Closed.
Read more >
Now swapping Latitude and Longitude : r/gramps - Reddit
Today GRAMPS started to swap places of Latitude and Longitude when pasted in as per the order asked. Weird.... Any suggestion as to...
Read more >
Swap latitude and longitude of all loaded points (swap)
Swap latitude and longitude of all loaded points (swap). Simple filter to swap the coordinate values (latitude and longitude) of all points.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found